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:
Takashi Kajinami
2023-07-27 01:17:52 +09:00
parent db634f0ca6
commit d2b36ef4f6
2 changed files with 1 additions and 2 deletions

View File

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

View File

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