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:
Martin André 2017-03-22 14:31:36 +01:00
parent b758dff575
commit 1323fbe671
1 changed files with 2 additions and 1 deletions

View File

@ -134,8 +134,9 @@ outputs:
- /etc/localtime:/etc/localtime:ro
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
step_5:
nova_api_discover_hosts:
start_order: 3
start_order: 1
image: *nova_api_image
net: host
detach: false