1 heat_template_version: pike
4 Openstack Mistral API service configured with Puppet
9 description: Dictionary packing service data
13 description: Mapping of service_name -> network name. Typically set
14 via parameter_defaults in the resource registry. This
15 mapping overrides those in ServiceNetMapDefaults.
22 description: Role name on which the service is applied
26 description: Parameters specific to the role
30 description: Mapping of service endpoint -> protocol. Typically set
31 via parameter_defaults in the resource registry.
36 type: ./mistral-base.yaml
38 ServiceData: {get_param: ServiceData}
39 ServiceNetMap: {get_param: ServiceNetMap}
40 DefaultPasswords: {get_param: DefaultPasswords}
41 EndpointMap: {get_param: EndpointMap}
42 RoleName: {get_param: RoleName}
43 RoleParameters: {get_param: RoleParameters}
47 description: Role data for the Mistral Executor role.
49 service_name: mistral_executor
51 get_attr: [MistralBase, role_data, config_settings]
53 include ::tripleo::profile::base::mistral::executor
55 - name: Check if mistral executor is deployed
56 command: systemctl is-enabled openstack-mistral-executor
59 register: mistral_executor_enabled
60 - name: "PreUpgrade step0,validation: Check if openstack-mistral-executor is running"
62 /usr/bin/systemctl show 'openstack-mistral-executor' --property ActiveState |
64 when: mistral_executor_enabled.rc == 0
65 tags: step0,validation
66 - name: Stop mistral_executor service
68 service: name=openstack-mistral-executor state=stopped
69 - name: Install openstack-mistral-executor package if it was disabled
71 yum: name=openstack-mistral-executor state=latest
72 when: mistral_executor_enabled.rc != 0