From c439b5dfc2da1b8582f2cafcae20bfe55207372b Mon Sep 17 00:00:00 2001 From: Bob Melander Date: Wed, 19 Dec 2012 14:49:34 +0100 Subject: [PATCH] Changed so that nova databases are only created once in a multi-host setup. Change-Id: Idb17bcb8b6d558f03c188d14509bb5e732079585 Fixes: bug #1091730 --- lib/nova | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nova b/lib/nova index e07e61c2ca..d5cefc9297 100644 --- a/lib/nova +++ b/lib/nova @@ -421,7 +421,7 @@ function init_nova() { # All nova components talk to a central database. We will need to do this step # only once for an entire cluster. - if is_service_enabled $DATABASE_BACKENDS && is_service_enabled nova; then + if is_service_enabled $DATABASE_BACKENDS && is_service_enabled n-api; then # (Re)create nova database # Explicitly use latin1: to avoid lp#829209, nova expects the database to # use latin1 by default, and then upgrades the database to utf8 (see the