diff options
| author | Sam Yaple <sam@yaple.net> | 2015-07-23 17:19:44 +0000 |
|---|---|---|
| committer | Sam Yaple <sam@yaple.net> | 2015-07-23 18:20:42 +0000 |
| commit | 3b30760e2d0bbc7864e54b5756be2bf2431a221d (patch) | |
| tree | 473aa8e8b2dbaaed0729c6462c3f40f5bf4e95c9 /docker/common/nova | |
| parent | 63035f7ce428188a5c667ccf273a5f91e75f0ea5 (diff) | |
| download | kolla-3b30760e2d0bbc7864e54b5756be2bf2431a221d.tar.gz kolla-3b30760e2d0bbc7864e54b5756be2bf2431a221d.zip | |
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
Diffstat (limited to 'docker/common/nova')
| -rwxr-xr-x | docker/common/nova/nova-libvirt/start.sh | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
