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 MonitoringSubscriptionGnocchiMetricd:
22 default: 'overcloud-gnocchi-metricd'
24 GnocchiMetricdWorkers:
25 default: '%{::os_workers}'
26 description: Number of workers for Gnocchi MetricD
31 type: ./gnocchi-base.yaml
33 ServiceNetMap: {get_param: ServiceNetMap}
34 DefaultPasswords: {get_param: DefaultPasswords}
35 EndpointMap: {get_param: EndpointMap}
39 description: Role data for the Gnocchi role.
41 service_name: gnocchi_metricd
42 monitoring_subscription: {get_param: MonitoringSubscriptionGnocchiMetricd}
45 - get_attr: [GnocchiServiceBase, role_data, config_settings]
46 - gnocchi::metricd::workers: {get_param: GnocchiMetricdWorkers}
48 include ::tripleo::profile::base::gnocchi::metricd
50 - name: "PreUpgrade step0,validation: Check service openstack-gnocchi-metricd is running"
51 shell: /usr/bin/systemctl show 'openstack-gnocchi-metricd' --property ActiveState | grep '\bactive\b'
52 tags: step0,validation
53 - name: Stop gnocchi_metricd service
55 service: name=openstack-gnocchi-metricd state=stopped