Merge "Add sahara service support for composable upgrades"

This commit is contained in:
Jenkins
2017-01-20 15:19:26 +00:00
committed by Gerrit Code Review
2 changed files with 11 additions and 0 deletions

View File

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

View File

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