1 heat_template_version: pike
4 Gnocchi service 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.
33 MonitoringSubscriptionGnocchiStatsd:
34 default: 'overcloud-gnocchi-statsd'
39 type: ./gnocchi-base.yaml
41 ServiceData: {get_param: ServiceData}
42 ServiceNetMap: {get_param: ServiceNetMap}
43 DefaultPasswords: {get_param: DefaultPasswords}
44 EndpointMap: {get_param: EndpointMap}
45 RoleName: {get_param: RoleName}
46 RoleParameters: {get_param: RoleParameters}
50 description: Role data for the Gnocchi role.
52 service_name: gnocchi_statsd
53 monitoring_subscription: {get_param: MonitoringSubscriptionGnocchiStatsd}
56 - get_attr: [GnocchiServiceBase, role_data, config_settings]
57 - tripleo.gnocchi_statsd.firewall_rules:
62 include ::tripleo::profile::base::gnocchi::statsd
64 - name: Check if gnocchi_statsd is deployed
65 command: systemctl is-enabled openstack-gnocchi-statsd
68 register: gnocchi_statsd_enabled
69 - name: "PreUpgrade step0,validation: Check service openstack-gnocchi-statsd is running"
70 shell: /usr/bin/systemctl show 'openstack-gnocchi-statsd' --property ActiveState | grep '\bactive\b'
71 when: gnocchi_statsd_enabled.rc == 0
72 tags: step0,validation
73 - name: Stop gnocchi_statsd service
75 when: gnocchi_statsd_enabled.rc == 0
76 service: name=openstack-gnocchi-statsd state=stopped