]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Work around nova-network launch issue harder
authorZane Bitter <zbitter@redhat.com>
Mon, 17 Sep 2012 09:46:11 +0000 (11:46 +0200)
committerZane Bitter <zbitter@redhat.com>
Mon, 17 Sep 2012 09:46:32 +0000 (11:46 +0200)
Change-Id: Ia1bf8cb2f0e23755100713c1289baa371bbfb956
Signed-off-by: Zane Bitter <zbitter@redhat.com>
tools/openstack

index b48663f933088686f055b5fa9baceebe18f85e9c..251b9501ed7e324c4d8a56c89f75cc785f4eba86 100755 (executable)
@@ -82,10 +82,16 @@ function os_start() {
     then
         sudo vgcreate nova-volumes $(sudo losetup --show -f /var/lib/nova/nova-volumes.img)
     fi
-    for svc in api cert objectstore compute network volume scheduler
+
+    for svc in api cert objectstore compute volume scheduler
     do
         sudo systemctl $action openstack-nova-$svc.service
     done
+
+    # This must be started after openstack-nova-cert due to an SELinux
+    # policy problem. See https://bugzilla.redhat.com/show_bug.cgi?id=857747
+    sleep 2
+    sudo systemctl $action openstack-nova-network.service
 }
 
 function os_stop() {