Use ansible_queue_name only for upgrade/update
For upgrade and update nodes with ansible, we do not need to play with both queue: tripleo and upgrade queue. If we use both, we can have race where the both can have different status and we enter in an infinite loop while reading the socker. Change-Id: I484a3af4a830af3b97231558876d9a6c0a31e603
This commit is contained in:
@@ -104,7 +104,6 @@ workflows:
|
||||
- nodes
|
||||
- playbook
|
||||
- inventory_file
|
||||
- queue_name: tripleo
|
||||
- ansible_queue_name: tripleo
|
||||
- module_path: /usr/share/ansible-modules
|
||||
- ansible_extra_env_variables:
|
||||
@@ -169,7 +168,7 @@ workflows:
|
||||
action: zaqar.queue_post
|
||||
retry: count=5 delay=1
|
||||
input:
|
||||
queue_name: <% $.queue_name %>
|
||||
queue_name: <% $.ansible_queue_name %>
|
||||
messages:
|
||||
body:
|
||||
type: tripleo.package_update.v1.update_nodes
|
||||
|
||||
Reference in New Issue
Block a user