We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7641463 commit c9e0188Copy full SHA for c9e0188
stack.sh
@@ -1359,7 +1359,7 @@ fi
1359
# All nova components talk to a central database. We will need to do this step
1360
# only once for an entire cluster.
1361
1362
-if is_service_enabled mysql; then
+if is_service_enabled mysql && is_service_enabled nova; then
1363
# (re)create nova database
1364
mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -e 'DROP DATABASE IF EXISTS nova;'
1365
mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -e 'CREATE DATABASE nova;'
0 commit comments