1 heat_template_version: pike
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: Role name on which the service is applied
22 description: Parameters specific to the role
26 description: Mapping of service endpoint -> protocol. Typically set
27 via parameter_defaults in the resource registry.
29 MonitoringSubscriptionGnocchiStatsd:
30 default: 'overcloud-gnocchi-statsd'
35 type: ./gnocchi-base.yaml
37 ServiceNetMap: {get_param: ServiceNetMap}
38 DefaultPasswords: {get_param: DefaultPasswords}
39 EndpointMap: {get_param: EndpointMap}
40 RoleName: {get_param: RoleName}
41 RoleParameters: {get_param: RoleParameters}
45 description: Role data for the Gnocchi role.
47 service_name: gnocchi_statsd
48 monitoring_subscription: {get_param: MonitoringSubscriptionGnocchiStatsd}
51 - get_attr: [GnocchiServiceBase, role_data, config_settings]
52 - tripleo.gnocchi_statsd.firewall_rules:
57 include ::tripleo::profile::base::gnocchi::statsd
59 - name: Check if gnocchi_statsd is deployed
60 command: systemctl is-enabled openstack-gnocchi-statsd
63 register: gnocchi_statsd_enabled
64 - name: "PreUpgrade step0,validation: Check service openstack-gnocchi-statsd is running"
65 shell: /usr/bin/systemctl show 'openstack-gnocchi-statsd' --property ActiveState | grep '\bactive\b'
66 when: gnocchi_statsd_enabled.rc == 0
67 tags: step0,validation
68 - name: Stop gnocchi_statsd service
70 when: gnocchi_statsd_enabled.rc == 0
71 service: name=openstack-gnocchi-statsd state=stopped