Correct *_short_bootstrap_node_name variable.
The pacemaker/notify-rabbitmq.yaml and pacemaker/rpc-rabbitmq.yaml services where making use of the *_short_bootstrap_node_name variables considering that their service_name matched their template file name. However, their service_name is oslo_messaging_rpc and oslo_messaging_notify respectively. So the variables weren't found when executing the tasks. Change-Id: I3b851a6e8463b1debf56ca8dca201dbac2d8d3c9 Closes-Bug: #1813617
This commit is contained in:
parent
946c516290
commit
ce2ec4af9a
|
@ -315,7 +315,7 @@ outputs:
|
|||
set_fact:
|
||||
rabbit_containerized: "{{rabbit_kolla_config.stat.isdir | default(false)}}"
|
||||
- name: set is_notify_rabbitmq_bootstrap_node fact
|
||||
set_fact: is_notify_rabbitmq_bootstrap_node={{notify_rabbitmq_short_bootstrap_node_name|lower == ansible_hostname|lower}}
|
||||
set_fact: is_notify_rabbitmq_bootstrap_node={{oslo_messaging_notify_short_bootstrap_node_name|lower == ansible_hostname|lower}}
|
||||
- name: Rabbitmq baremetal to container upgrade tasks
|
||||
when:
|
||||
- step|int == 1
|
||||
|
|
|
@ -312,7 +312,7 @@ outputs:
|
|||
set_fact:
|
||||
rabbit_containerized: "{{rabbit_kolla_config.stat.isdir | default(false)}}"
|
||||
- name: set is_rpc_rabbitmq_bootstrap_node fact
|
||||
set_fact: is_rpc_rabbitmq_bootstrap_node={{rpc_rabbitmq_short_bootstrap_node_name|lower == ansible_hostname|lower}}
|
||||
set_fact: is_rpc_rabbitmq_bootstrap_node={{oslo_messaging_rpc_short_bootstrap_node_name|lower == ansible_hostname|lower}}
|
||||
- name: Rabbitmq baremetal to container upgrade tasks
|
||||
when:
|
||||
- step|int == 1
|
||||
|
|
Loading…
Reference in New Issue