Delay horizon startup
Move the 'Starting Horizon' task after the end of the wait for
create_flavors.
The start_horizon function restarts the httpd server, the openstack
services are unavailable during a short period of time, so the
"openstack flavor create" calls might fail randomly.
Closes-Bug: #1932580
Change-Id: I32ee7457586e3de8ba4dfce3b1a12025f9776542
diff --git a/stack.sh b/stack.sh
index 6858ab8..ef1ad3d 100755
--- a/stack.sh
+++ b/stack.sh
@@ -1341,6 +1341,7 @@
done
fi
+async_wait create_flavors
if is_service_enabled horizon; then
echo_summary "Starting Horizon"
@@ -1348,8 +1349,6 @@
start_horizon
fi
-async_wait create_flavors
-
# Create account rc files
# =======================