diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-11-14 16:19:36 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-01-22 12:46:23 +0000 |
commit | 6fba2a350d3bda491ff4f02ae4d880700c9c0f7a (patch) | |
tree | 54f346c7167f2d91349f106326846d45c290761e /openstack/usr/share/openstack/openstack-nova-setup | |
parent | 9ecefaea424996842bb5adc2c9c13fde869db14a (diff) | |
download | definitions-6fba2a350d3bda491ff4f02ae4d880700c9c0f7a.tar.gz |
Add read-write permissions for libvirt-sock
Diffstat (limited to 'openstack/usr/share/openstack/openstack-nova-setup')
-rw-r--r-- | openstack/usr/share/openstack/openstack-nova-setup | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/openstack/usr/share/openstack/openstack-nova-setup b/openstack/usr/share/openstack/openstack-nova-setup index 5bb5ce9f..4e4adcd9 100644 --- a/openstack/usr/share/openstack/openstack-nova-setup +++ b/openstack/usr/share/openstack/openstack-nova-setup @@ -56,17 +56,21 @@ if [ ! -d /var/lock/nova ]; then chown -R nova:nova /var/lock/nova fi +# Nova compute needs to write in /var/run/libvirt/libvirt-sock +# to start the hypervisor +chmod 766 /var/run/libvirt/libvirt-sock + # Check existence of Network Block Device module in the kernel # NOTE: modprobe does not work actually and returns always # failure, enable this check when modprobe is fixed. #modprobe nbd -#systemctl start openstack-nova-compute +systemctl start openstack-nova-compute +systemctl start openstack-nova-conductor #systemctl start openstack-nova-api #systemctl start openstack-nova-cert #systemctl start openstack-nova-consoleauth #systemctl start openstack-nova-scheduler -#systemctl start openstack-nova-conductor #systemctl start openstack-nova-novncproxy # TODO, need to start more nova services. @@ -74,8 +78,11 @@ fi ln -s "/etc/systemd/system/openstack-nova-compute.service" \ "/etc/systemd/system/multi-user.target.wants/openstack-nova-compute.service" -ln -s "/etc/systemd/system/openstack-nova-api.service" \ - "/etc/systemd/system/multi-user.target.wants/openstack-nova-api.service" +ln -s "/etc/systemd/system/openstack-nova-conductor.service" \ + "/etc/systemd/system/multi-user.target.wants/openstack-nova-conductor.service" + +#ln -s "/etc/systemd/system/openstack-nova-api.service" \ +# "/etc/systemd/system/multi-user.target.wants/openstack-nova-api.service" #ln -s "/etc/systemd/system/openstack-nova-api.service" \ # "/etc/systemd/system/multi-user.target.wants/openstack-nova-api.service" |