Browse Source

Merge "Handle upgrading cinder-volume under pacemaker"

changes/06/466306/7
Jenkins 5 years ago committed by Gerrit Code Review
parent
commit
d01de0e985
  1. 15
      puppet/services/pacemaker/cinder-volume.yaml

15
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

Loading…
Cancel
Save