1 heat_template_version: pike
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: 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 MonitoringSubscriptionCeilometerNotification:
30 default: 'overcloud-ceilometer-agent-notification'
32 CeilometerAgentNotificationLoggingSource:
35 tag: openstack.ceilometer.agent.notification
36 path: /var/log/ceilometer/agent-notification.log
40 CeilometerServiceBase:
41 type: ./ceilometer-base.yaml
43 ServiceNetMap: {get_param: ServiceNetMap}
44 DefaultPasswords: {get_param: DefaultPasswords}
45 EndpointMap: {get_param: EndpointMap}
46 RoleName: {get_param: RoleName}
47 RoleParameters: {get_param: RoleParameters}
51 description: Role data for the Ceilometer Notification Agent role.
53 service_name: ceilometer_agent_notification
54 monitoring_subscription: {get_param: MonitoringSubscriptionCeilometerNotification}
55 logging_source: {get_param: CeilometerAgentNotificationLoggingSource}
59 get_attr: [CeilometerServiceBase, role_data, config_settings]
60 service_config_settings:
61 get_attr: [CeilometerServiceBase, role_data, service_config_settings]
63 include ::tripleo::profile::base::ceilometer::agent::notification
65 - name: Check if ceilometer_agent_notification is deployed
66 command: systemctl is-enabled openstack-ceilometer-notification
69 register: ceilometer_agent_notification_enabled
70 - name: "PreUpgrade step0,validation: Check service openstack-ceilometer-notification is running"
71 shell: /usr/bin/systemctl show 'openstack-ceilometer-notification' --property ActiveState | grep '\bactive\b'
72 when: ceilometer_agent_notification_enabled.rc == 0
73 tags: step0,validation
74 - name: Stop ceilometer_agent_notification service
76 when: ceilometer_agent_notification_enabled.rc == 0
77 service: name=openstack-ceilometer-notification state=stopped