Run nova-api hosts discovery after nova-compute start
The previous code had a race condition where nova-api host discovery and nova-compute where run at the same step. This commit ensures host discovery happens after nova-compute has started. Change-Id: Id2fc795a64783d958d98d4ac523a19079e8a4fab Closes-Bug: #1675011
This commit is contained in:
parent
b758dff575
commit
1323fbe671
|
@ -134,8 +134,9 @@ outputs:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
step_5:
|
||||||
nova_api_discover_hosts:
|
nova_api_discover_hosts:
|
||||||
start_order: 3
|
start_order: 1
|
||||||
image: *nova_api_image
|
image: *nova_api_image
|
||||||
net: host
|
net: host
|
||||||
detach: false
|
detach: false
|
||||||
|
|
Loading…
Reference in New Issue