1 heat_template_version: ocata
4 Openstack Zaqar service. Shared for all Heat services.
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.
15 description: Mapping of service endpoint -> protocol. Typically set
16 via parameter_defaults in the resource registry.
23 description: Set to True to enable debugging on all services.
26 description: The password for Zaqar
32 description: Keystone region for endpoint
37 description: Shared role data for the Heat services.
41 zaqar::keystone::authtoken::password: {get_param: ZaqarPassword}
42 zaqar::keystone::authtoken::project_name: 'service'
43 zaqar::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
44 zaqar::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
45 zaqar::debug: {get_param: Debug}
46 zaqar::transport::websocket::bind: {get_param: [EndpointMap, ZaqarInternal, host]}
47 zaqar::transport::wsgi::bind: {get_param: [ServiceNetMap, ZaqarApiNetwork]}
48 zaqar::message_pipeline: 'zaqar.notification.notifier'
49 zaqar::unreliable: true
50 service_config_settings:
52 zaqar::keystone::auth::password: {get_param: ZaqarPassword}
53 zaqar::keystone::auth::public_url: {get_param: [EndpointMap, ZaqarPublic, uri]}
54 zaqar::keystone::auth::admin_url: {get_param: [EndpointMap, ZaqarAdmin, uri]}
55 zaqar::keystone::auth::internal_url: {get_param: [EndpointMap, ZaqarInternal, uri]}
56 zaqar::keystone::auth::region: {get_param: KeystoneRegion}
57 zaqar::keystone::auth::tenant: 'service'
58 zaqar::keystone::auth_websocket::password: {get_param: ZaqarPassword}
59 zaqar::keystone::auth_websocket::public_url: {get_param: [EndpointMap, ZaqarWebSocketPublic, uri]}
60 zaqar::keystone::auth_websocket::admin_url: {get_param: [EndpointMap, ZaqarWebSocketAdmin, uri]}
61 zaqar::keystone::auth_websocket::internal_url: {get_param: [EndpointMap, ZaqarWebSocketInternal, uri]}
62 zaqar::keystone::auth_websocket::region: {get_param: KeystoneRegion}
63 zaqar::keystone::auth_websocket::tenant: 'service'
66 include ::tripleo::profile::base::zaqar
68 - name: Check if zaqar is deployed
69 command: systemctl is-enabled openstack-zaqar
72 register: zaqar_enabled
73 - name: "PreUpgrade step0,validation: Check if openstack-zaqar is running"
75 /usr/bin/systemctl show 'openstack-zaqar' --property ActiveState |
77 when: zaqar_enabled.rc == 0
78 tags: step0,validation
79 - name: Stop zaqar service
81 when: zaqar_enabled.rc == 0
82 service: name=openstack-zaqar state=stopped
83 - name: Install openstack-zaqar package if it was disabled
85 yum: name=openstack-zaqar state=latest
86 when: zaqar_enabled.rc != 0