1 heat_template_version: pike
4 OpenStack Aodh Notifier 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 MonitoringSubscriptionAodhNotifier:
34 default: 'overcloud-ceilometer-aodh-notifier'
39 type: ./aodh-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 Aodh Notifier service.
52 service_name: aodh_notifier
53 monitoring_subscription: {get_param: MonitoringSubscriptionAodhNotifier}
55 get_attr: [AodhBase, role_data, config_settings]
57 include tripleo::profile::base::aodh::notifier
59 - name: Check if aodh_notifier is deployed
60 command: systemctl is-enabled openstack-aodh-notifier
63 register: aodh_notifier_enabled
64 - name: "PreUpgrade step0,validation: Check service openstack-aodh-notifier is running"
65 shell: /usr/bin/systemctl show 'openstack-aodh-notifier' --property ActiveState | grep '\bactive\b'
66 when: aodh_notifier_enabled.rc == 0
67 tags: step0,validation
68 - name: Stop aodh_notifier service
70 when: aodh_notifier_enabled.rc == 0
71 service: name=openstack-aodh-notifier state=stopped