summaryrefslogtreecommitdiffstats
path: root/docker/services
diff options
context:
space:
mode:
authorMartin André <m.andre@redhat.com>2017-03-22 14:31:36 +0100
committerMartin André <m.andre@redhat.com>2017-03-22 14:31:36 +0100
commit1323fbe67188e9102ebe2dd046f2c109cd72350b (patch)
treed04c8b4c5e3b007cf31f34e2adcaab1a6c454828 /docker/services
parentb758dff5758a84b8a72766dd2591477f68b23c50 (diff)
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
Diffstat (limited to 'docker/services')
-rw-r--r--docker/services/nova-api.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/services/nova-api.yaml b/docker/services/nova-api.yaml
index 9e203b7a..e5c78d6c 100644
--- a/docker/services/nova-api.yaml
+++ b/docker/services/nova-api.yaml
@@ -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