1 heat_template_version: pike
4 OpenStack containerized Mistral Executor service
9 default: 'tripleoupstream'
11 DockerMistralExecutorImage:
13 default: 'centos-binary-mistral-executor:latest'
15 DockerMistralConfigImage:
17 default: 'centos-binary-mistral-api:latest'
21 description: Mapping of service endpoint -> protocol. Typically set
22 via parameter_defaults in the resource registry.
26 description: Mapping of service_name -> network name. Typically set
27 via parameter_defaults in the resource registry. This
28 mapping overrides those in ServiceNetMapDefaults.
38 type: ./containers-common.yaml
41 type: ../../puppet/services/mistral-executor.yaml
43 EndpointMap: {get_param: EndpointMap}
44 ServiceNetMap: {get_param: ServiceNetMap}
45 DefaultPasswords: {get_param: DefaultPasswords}
49 description: Role data for the Mistral Executor role.
51 service_name: {get_attr: [MistralBase, role_data, service_name]}
54 - get_attr: [MistralBase, role_data, config_settings]
55 step_config: &step_config
56 get_attr: [MistralBase, role_data, step_config]
57 service_config_settings: {get_attr: [MistralBase, role_data, service_config_settings]}
58 # BEGIN DOCKER SETTINGS
60 config_volume: mistral
61 puppet_tags: mistral_config
62 step_config: *step_config
66 - [ {get_param: DockerNamespace}, {get_param: DockerMistralConfigImage} ]
68 /var/lib/kolla/config_files/mistral_executor.json:
69 command: /usr/bin/mistral-server --config-file=/etc/mistral/mistral.conf --log-file=/var/log/mistral/executor.log --server=executor
71 - path: /var/log/mistral
72 owner: mistral:mistral
80 - [ {get_param: DockerNamespace}, {get_param: DockerMistralExecutorImage} ]
86 - {get_attr: [ContainersCommon, volumes]}
88 - /var/lib/kolla/config_files/mistral_executor.json:/var/lib/kolla/config_files/config.json:ro
89 - /var/lib/config-data/mistral/etc/mistral/:/etc/mistral/:ro
91 # FIXME: this is required in order for Nova cells
92 # initialization workflows on the Undercloud. Need to
93 # exclude this on the overcloud for security reasons.
94 - /var/lib/config-data/nova/etc/nova:/etc/nova:ro
95 - /var/log/containers/mistral:/var/log/mistral
97 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
99 - name: create persistent logs directory
101 path: /var/log/containers/mistral
104 - name: Stop and disable mistral_executor service
106 service: name=openstack-mistral-executor state=stopped enabled=no