1 heat_template_version: ocata
4 Openstack Mistral API 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.
24 type: ./mistral-base.yaml
26 ServiceNetMap: {get_param: ServiceNetMap}
27 DefaultPasswords: {get_param: DefaultPasswords}
28 EndpointMap: {get_param: EndpointMap}
32 description: Role data for the Mistral Executor role.
34 service_name: mistral_executor
36 get_attr: [MistralBase, role_data, config_settings]
38 include ::tripleo::profile::base::mistral::executor
40 - name: Check if mistral executor is deployed
41 command: systemctl is-enabled openstack-mistral-executor
44 register: mistral_executor_enabled
45 - name: "PreUpgrade step0,validation: Check if openstack-mistral-executor is running"
47 /usr/bin/systemctl show 'openstack-mistral-executor' --property ActiveState |
49 when: mistral_executor_enabled.rc == 0
50 tags: step0,validation
51 - name: Stop mistral_executor service
53 service: name=openstack-mistral-executor state=stopped
54 - name: Install openstack-mistral-executor package if it was disabled
56 yum: name=openstack-mistral-executor state=latest
57 when: mistral_executor_enabled.rc != 0