OpenStack Cinder Volume service with Pacemaker configured with Puppet
parameters:
+ ServiceData:
+ default: {}
+ description: Dictionary packing service data
+ type: json
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
CinderVolumeBase:
type: ../cinder-volume.yaml
properties:
+ ServiceData: {get_param: ServiceData}
ServiceNetMap: {get_param: ServiceNetMap}
DefaultPasswords: {get_param: DefaultPasswords}
EndpointMap: {get_param: EndpointMap}
resource: openstack-cinder-volume
state: disable
wait_for_resource: true
- - name: Sync cinder DB
- tags: step5
- command: cinder-manage db sync
+ post_upgrade_tasks:
- name: Start cinder_volume service (pacemaker)
- tags: step5
+ tags: step1
pacemaker_resource:
resource: openstack-cinder-volume
state: enable