From 3b30760e2d0bbc7864e54b5756be2bf2431a221d Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Thu, 23 Jul 2015 17:19:44 +0000 Subject: Fix compute permissions and start params neutron-server was not properly using ml2_conf.ini nova did not have ovs utils, and it had incorrect libvirt permissions Change-Id: I43d2110d0b5fc1940d887dace95787e1ebbe142d Partitially-Implements: blueprint ansible-service --- docker/common/nova/nova-libvirt/start.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docker/common/nova') diff --git a/docker/common/nova/nova-libvirt/start.sh b/docker/common/nova/nova-libvirt/start.sh index 00d7046d1..58ad58cb0 100755 --- a/docker/common/nova/nova-libvirt/start.sh +++ b/docker/common/nova/nova-libvirt/start.sh @@ -10,4 +10,12 @@ source /opt/kolla/kolla-common.sh # Config-internal script exec out of this function, it does not return here. set_configs +# TODO(SamYaple): Unify this with config-internal. Tweak libvirt.conf rather +# than change permissions. +# Fix permissions for libvirt +if [[ -c /dev/kvm ]]; then + chmod 660 /dev/kvm + chown root:kvm /dev/kvm +fi + exec $CMD $ARGS -- cgit v1.2.3