1 heat_template_version: ocata
4 OpenStack Ceilometer Notification Agent 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 MonitoringSubscriptionCeilometerNotification:
22 default: 'overcloud-ceilometer-agent-notification'
24 CeilometerAgentNotificationLoggingSource:
27 tag: openstack.ceilometer.agent.notification
28 path: /var/log/ceilometer/agent-notification.log
32 CeilometerServiceBase:
33 type: ./ceilometer-base.yaml
35 ServiceNetMap: {get_param: ServiceNetMap}
36 DefaultPasswords: {get_param: DefaultPasswords}
37 EndpointMap: {get_param: EndpointMap}
41 description: Role data for the Ceilometer Notification Agent role.
43 service_name: ceilometer_agent_notification
44 monitoring_subscription: {get_param: MonitoringSubscriptionCeilometerNotification}
45 logging_source: {get_param: CeilometerAgentNotificationLoggingSource}
49 get_attr: [CeilometerServiceBase, role_data, config_settings]
51 include ::tripleo::profile::base::ceilometer::agent::notification
53 - name: Check if ceilometer_agent_notification is deployed
54 command: systemctl is-enabled openstack-ceilometer-notification
57 register: ceilometer_agent_notification_enabled
58 - name: "PreUpgrade step0,validation: Check service openstack-ceilometer-notification is running"
59 shell: /usr/bin/systemctl show 'openstack-ceilometer-notification' --property ActiveState | grep '\bactive\b'
60 when: ceilometer_agent_notification_enabled.rc == 0
61 tags: step0,validation
62 - name: Stop ceilometer_agent_notification service
64 when: ceilometer_agent_notification_enabled.rc == 0
65 service: name=openstack-ceilometer-notification state=stopped