Merge "Handle upgrading cinder-volume under pacemaker"

This commit is contained in:
Jenkins 2017-06-02 15:33:42 +00:00 committed by Gerrit Code Review
commit d01de0e985
1 changed files with 15 additions and 0 deletions

View File

@ -54,3 +54,18 @@ outputs:
cinder::host: hostgroup
step_config:
include ::tripleo::profile::pacemaker::cinder::volume
upgrade_tasks:
- name: Stop cinder_volume service (pacemaker)
tags: step1
pacemaker_resource:
resource: openstack-cinder-volume
state: disable
wait_for_resource: true
- name: Sync cinder DB
tags: step5
command: cinder-manage db sync
- name: Start cinder_volume service (pacemaker)
tags: step5
pacemaker_resource:
resource: openstack-cinder-volume
state: enable