1 heat_template_version: pike
4 OpenStack Cinder Volume service with Pacemaker configured with Puppet
9 description: Dictionary packing service data
13 description: Mapping of service_name -> network name. Typically set
14 via parameter_defaults in the resource registry. This
15 mapping overrides those in ServiceNetMapDefaults.
22 description: Role name on which the service is applied
26 description: Parameters specific to the role
30 description: Mapping of service endpoint -> protocol. Typically set
31 via parameter_defaults in the resource registry.
37 type: ../cinder-volume.yaml
39 ServiceData: {get_param: ServiceData}
40 ServiceNetMap: {get_param: ServiceNetMap}
41 DefaultPasswords: {get_param: DefaultPasswords}
42 EndpointMap: {get_param: EndpointMap}
43 RoleName: {get_param: RoleName}
44 RoleParameters: {get_param: RoleParameters}
48 description: Role data for the Cinder Volume role.
50 service_name: cinder_volume
51 monitoring_subscription: {get_attr: [CinderVolumeBase, role_data, monitoring_subscription]}
52 logging_source: {get_attr: [CinderVolumeBase, role_data, logging_source]}
53 logging_groups: {get_attr: [CinderVolumeBase, role_data, logging_groups]}
56 - get_attr: [CinderVolumeBase, role_data, config_settings]
57 - cinder::volume::manage_service: false
58 cinder::volume::enabled: false
59 cinder::host: hostgroup
61 include ::tripleo::profile::pacemaker::cinder::volume
63 - name: Stop cinder_volume service (pacemaker)
66 resource: openstack-cinder-volume
68 wait_for_resource: true
70 - name: Start cinder_volume service (pacemaker)
73 resource: openstack-cinder-volume