1 heat_template_version: pike
4 OpenStack containerized Aodh Notifier service
9 default: 'tripleoupstream'
11 DockerAodhNotifierImage:
13 default: 'centos-binary-aodh-notifier:latest'
17 description: Mapping of service endpoint -> protocol. Typically set
18 via parameter_defaults in the resource registry.
22 description: Mapping of service_name -> network name. Typically set
23 via parameter_defaults in the resource registry. This
24 mapping overrides those in ServiceNetMapDefaults.
31 description: Role name on which the service is applied
35 description: Parameters specific to the role
41 type: ./containers-common.yaml
44 type: ../../puppet/services/aodh-notifier.yaml
46 EndpointMap: {get_param: EndpointMap}
47 ServiceNetMap: {get_param: ServiceNetMap}
48 DefaultPasswords: {get_param: DefaultPasswords}
49 RoleName: {get_param: RoleName}
50 RoleParameters: {get_param: RoleParameters}
54 description: Role data for the Aodh API role.
56 service_name: {get_attr: [AodhNotifierBase, role_data, service_name]}
59 - get_attr: [AodhNotifierBase, role_data, config_settings]
60 step_config: &step_config
61 get_attr: [AodhNotifierBase, role_data, step_config]
62 service_config_settings: {get_attr: [AodhNotifierBase, role_data, service_config_settings]}
63 # BEGIN DOCKER SETTINGS
66 puppet_tags: aodh_config
67 step_config: *step_config
68 config_image: &aodh_notifier_image
71 - [ {get_param: DockerNamespace}, {get_param: DockerAodhNotifierImage} ]
73 /var/lib/kolla/config_files/aodh_notifier.json:
74 command: /usr/bin/aodh-notifier
82 image: *aodh_notifier_image
88 - {get_attr: [ContainersCommon, volumes]}
90 - /var/lib/kolla/config_files/aodh_notifier.json:/var/lib/kolla/config_files/config.json:ro
91 - /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
92 - /var/log/containers/aodh:/var/log/aodh
94 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
96 - name: create persistent logs directory
98 path: /var/log/containers/aodh
101 - name: Stop and disable openstack-aodh-notifier service
103 service: name=openstack-aodh-notifier.service state=stopped enabled=no