Merge "Changed so that nova databases are only created once in a multi-host setup."
This commit is contained in:
commit
e1fb1d4669
2
lib/nova
2
lib/nova
@ -421,7 +421,7 @@ function init_nova() {
|
|||||||
# All nova components talk to a central database. We will need to do this step
|
# All nova components talk to a central database. We will need to do this step
|
||||||
# only once for an entire cluster.
|
# 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
|
# (Re)create nova database
|
||||||
# Explicitly use latin1: to avoid lp#829209, nova expects the database to
|
# 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
|
# use latin1 by default, and then upgrades the database to utf8 (see the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user