diff options
author | 2017-06-02 15:33:42 +0000 | |
---|---|---|
committer | 2017-06-02 15:33:42 +0000 | |
commit | d01de0e985f0b8ed9a65a303c233ebb49d47886e (patch) | |
tree | 194c3db2d9313508b2f6f1385275df0dea033095 /puppet/services/pacemaker | |
parent | cbf74d6e614aad829b93f99357d87eae0db6bca5 (diff) | |
parent | c4e3bbe039135f32f0e198365e704b3dbfd00290 (diff) |
Merge "Handle upgrading cinder-volume under pacemaker"
Diffstat (limited to 'puppet/services/pacemaker')
-rw-r--r-- | puppet/services/pacemaker/cinder-volume.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/puppet/services/pacemaker/cinder-volume.yaml b/puppet/services/pacemaker/cinder-volume.yaml index 659368a4..39914db5 100644 --- a/puppet/services/pacemaker/cinder-volume.yaml +++ b/puppet/services/pacemaker/cinder-volume.yaml @@ -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 |