Ensure backend package for API DB connection is installed
Technically it's possible to use a different backend for DB and API DB. Change-Id: Id504ab48d7d57a29acce687af4428f2686e15098
This commit is contained in:
@@ -147,8 +147,6 @@ class nova::db (
|
|||||||
retry_interval => $api_database_retry_interval,
|
retry_interval => $api_database_retry_interval,
|
||||||
max_overflow => $api_database_max_overflow,
|
max_overflow => $api_database_max_overflow,
|
||||||
pool_timeout => $api_database_pool_timeout,
|
pool_timeout => $api_database_pool_timeout,
|
||||||
# Package management should be disabled here to avoid conflict.
|
|
||||||
manage_backend_package => false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ class nova::deps {
|
|||||||
# all db settings should be applied and all packages should be installed
|
# all db settings should be applied and all packages should be installed
|
||||||
# before dbsync starts
|
# before dbsync starts
|
||||||
Oslo::Db<||> -> Anchor['nova::dbsync::begin']
|
Oslo::Db<||> -> Anchor['nova::dbsync::begin']
|
||||||
|
Oslo::Db<||> -> Anchor['nova::dbsync_api::begin']
|
||||||
|
|
||||||
# Installation or config changes will always restart services.
|
# Installation or config changes will always restart services.
|
||||||
Anchor['nova::install::end'] ~> Anchor['nova::service::begin']
|
Anchor['nova::install::end'] ~> Anchor['nova::service::begin']
|
||||||
|
|||||||
Reference in New Issue
Block a user