Browse code

Merge "Changed so that nova databases are only created once in a multi-host setup."

Jenkins authored on 2012/12/21 23:27:10
Showing 1 changed files
... ...
@@ -421,7 +421,7 @@ function init_nova() {
421 421
     # All nova components talk to a central database.  We will need to do this step
422 422
     # only once for an entire cluster.
423 423
 
424
-    if is_service_enabled $DATABASE_BACKENDS && is_service_enabled nova; then
424
+    if is_service_enabled $DATABASE_BACKENDS && is_service_enabled n-api; then
425 425
         # (Re)create nova database
426 426
         # Explicitly use latin1: to avoid lp#829209, nova expects the database to
427 427
         # use latin1 by default, and then upgrades the database to utf8 (see the