Merge "Ensure openstackclient is installed at the right timing"

This commit is contained in:
Zuul 2023-08-11 15:36:45 +00:00 committed by Gerrit Code Review
commit 26a0220249
1 changed files with 7 additions and 0 deletions

View File

@ -43,6 +43,13 @@ class sahara::deps {
# before dbsync starts
Oslo::Db<||> -> Anchor['sahara::dbsync::begin']
# We need openstackclient before marking service end so that sahara
# will have clients available to create resources. This tag handles the
# openstackclient but indirectly since the client is not available in
# all catalogs that don't need the client class (like many spec tests)
Package<| tag == 'openstack'|>
~> Anchor['sahara::service::end']
# Installation or config changes will always restart services.
Anchor['sahara::install::end'] ~> Anchor['sahara::service::begin']
Anchor['sahara::config::end'] ~> Anchor['sahara::service::begin']