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.
2 parents d2ace93 + c9e0188 commit 7c7dedbCopy full SHA for 7c7dedb
stack.sh
@@ -1366,7 +1366,7 @@ fi
1366
# All nova components talk to a central database. We will need to do this step
1367
# only once for an entire cluster.
1368
1369
-if is_service_enabled mysql; then
+if is_service_enabled mysql && is_service_enabled nova; then
1370
# (re)create nova database
1371
mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -e 'DROP DATABASE IF EXISTS nova;'
1372
mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -e 'CREATE DATABASE nova;'
0 commit comments