From d7ab16bbdb561831fbbc5541a59a731479c6476a Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Wed, 21 Jan 2015 15:26:39 +0000 Subject: Add nova to the libvirt group --- openstack/usr/share/openstack/openstack-nova-setup | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/openstack/usr/share/openstack/openstack-nova-setup b/openstack/usr/share/openstack/openstack-nova-setup index bc3c0157..345d5585 100644 --- a/openstack/usr/share/openstack/openstack-nova-setup +++ b/openstack/usr/share/openstack/openstack-nova-setup @@ -66,16 +66,14 @@ if [ ! -e /var/lib/nova/nova.sqlite ]; then sudo -u nova nova-manage db sync fi -# Nova compute needs to write in /var/run/libvirt/libvirt-sock -# to start the hypervisor -chmod 766 /var/run/libvirt/libvirt-sock - # Nova novncproxy needs /usr/share/novnc folder available if [ ! -d /usr/share/novnc ]; then mkdir /usr/share/novnc chown -R nova:nova /usr/share/novnc fi +# Add nova to the libvirt group +usermod -a -G libvirt nova # Check existence of Network Block Device module in the kernel # NOTE: modprobe does not work actually and returns always -- cgit v1.2.1