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

This commit is contained in:
Jenkins 2012-12-21 14:27:10 +00:00 committed by Gerrit Code Review
commit e1fb1d4669

View File

@ -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