1 heat_template_version: ocata
4 Gnocchi service configured with Puppet
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
21 MonitoringSubscriptionGnocchiStatsd:
22 default: 'overcloud-gnocchi-statsd'
27 type: ./gnocchi-base.yaml
29 ServiceNetMap: {get_param: ServiceNetMap}
30 DefaultPasswords: {get_param: DefaultPasswords}
31 EndpointMap: {get_param: EndpointMap}
35 description: Role data for the Gnocchi role.
37 service_name: gnocchi_statsd
38 monitoring_subscription: {get_param: MonitoringSubscriptionGnocchiStatsd}
41 - get_attr: [GnocchiServiceBase, role_data, config_settings]
42 - tripleo.gnocchi_statsd.firewall_rules:
47 include ::tripleo::profile::base::gnocchi::statsd
49 - name: Check if gnocchi_statsd is deployed
50 command: systemctl is-enabled openstack-gnocchi-statsd
53 register: gnocchi_statsd_enabled
54 - name: "PreUpgrade step0,validation: Check service openstack-gnocchi-statsd is running"
55 shell: /usr/bin/systemctl show 'openstack-gnocchi-statsd' --property ActiveState | grep '\bactive\b'
56 when: gnocchi_statsd_enabled.rc == 0
57 tags: step0,validation
58 - name: Stop gnocchi_statsd service
60 when: gnocchi_statsd_enabled.rc == 0
61 service: name=openstack-gnocchi-statsd state=stopped