[Queens-only] make sure cellv2 host discovery task only run once
The discovery task is correct triggered via delegate only on a single node, but all computes delegate the job to this single host. It is possible that this rund multiple times in parallel and fails as nova-manage commands are not meant to run multiple times at the same time. This makes sure the task only gets triggered once. Change-Id: I072baf357836c55ad37257158b83f25c16b7f46f Closes-Bug: #1862321
This commit is contained in:
parent
c4839a8b09
commit
fa7401afcc
@ -17,5 +17,6 @@
|
||||
become: true
|
||||
changed_when: false
|
||||
delegate_to: '{{ groups[''nova_discovery_nodes''][0] }}'
|
||||
run_once: true
|
||||
when:
|
||||
- discover_hosts|bool
|
||||
|
Loading…
Reference in New Issue
Block a user