diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-01-20 15:19:26 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-01-20 15:19:26 +0000 |
commit | cd706a850290bc50d37d164a8139cd332a69e893 (patch) | |
tree | f1955957fd8221202f029eaefaf77b633f4b41ce /puppet/services | |
parent | 1fc0346dd3ced1aa044d16d247ef80e8b857117b (diff) | |
parent | ee264578792b5252abce18c9f1fc4a5cad20dfb3 (diff) |
Merge "Add sahara service support for composable upgrades"
Diffstat (limited to 'puppet/services')
-rw-r--r-- | puppet/services/sahara-api.yaml | 4 | ||||
-rw-r--r-- | puppet/services/sahara-engine.yaml | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/puppet/services/sahara-api.yaml b/puppet/services/sahara-api.yaml index 9e494385..8573ea81 100644 --- a/puppet/services/sahara-api.yaml +++ b/puppet/services/sahara-api.yaml @@ -90,3 +90,7 @@ outputs: sahara::db::mysql::allowed_hosts: - '%' - "%{hiera('mysql_bind_host')}" + upgrade_tasks: + - name: Stop sahara_api service + tags: step2 + service: name=openstack-sahara-api state=stopped diff --git a/puppet/services/sahara-engine.yaml b/puppet/services/sahara-engine.yaml index a1521c28..987fe25b 100644 --- a/puppet/services/sahara-engine.yaml +++ b/puppet/services/sahara-engine.yaml @@ -49,3 +49,10 @@ outputs: - get_attr: [SaharaBase, role_data, config_settings] step_config: | include ::tripleo::profile::base::sahara::engine + upgrade_tasks: + - name: Stop sahara_engine service + tags: step2 + service: name=openstack-sahara-engine state=stopped + - name: Sync sahara_engine DB + tags: step5 + command: sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head |