[meta-virtualization] [meta-cloud-services][fido-kilo][PATCH 6/6] nova: build dependency on libvirt

Josep Puigdemont josep.puigdemont at enea.com
Fri Oct 2 06:50:58 PDT 2015


Sometimes nova fails to populate_sysroot_setscene:
NOTE: Performing useradd with [--root ... --system --home /var/lib/nova
-g nova -G libvirt --no-create-home --shell /bin/false nova] and 10
times of retry
useradd: group 'libvirt' does not exist

Adding libvirt as build dependency will assure the group has been
created when nova runs useradd.

Signed-off-by: Josep Puigdemont <josep.puigdemont at enea.com>
---
 meta-openstack/recipes-devtools/python/python-nova_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb
index 2ee518d..d7a585e 100644
--- a/meta-openstack/recipes-devtools/python/python-nova_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb
@@ -266,6 +266,7 @@ FILES_${SRCNAME}-api = " \
 "
 
 DEPENDS += " \
+        libvirt \
         python-pip \
         python-pbr \
         "
-- 
1.9.1



More information about the meta-virtualization mailing list