Add ironic service support for composable upgrades

Change-Id: Ie1fe7db081d69db4b99869057352367e8e01760c
Partially-Implements: blueprint overcloud-upgrades-per-service
This commit is contained in:
Steven Hardy 2016-12-01 10:06:11 +00:00
parent 5e575fbb57
commit 405ccc3a95
2 changed files with 11 additions and 0 deletions

View File

@ -81,3 +81,7 @@ outputs:
ironic::db::mysql::allowed_hosts:
- '%'
- "%{hiera('mysql_bind_host')}"
upgrade_tasks:
- name: Stop ironic_api service
tags: step2
service: name=openstack-ironic-api state=stopped

View File

@ -98,3 +98,10 @@ outputs:
step_config: |
include ::tripleo::profile::base::ironic::conductor
upgrade_tasks:
- name: Stop ironic_conductor service
tags: step2
service: name=openstack-ironic-conductor state=stopped
- name: Sync ironic_conductor DB
tags: step5
command: ironic-dbsync