aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorJohn Trowbridge <trown@redhat.com>2017-02-27 10:00:25 -0500
committerMartin André <m.andre@redhat.com>2017-03-01 16:37:46 +0100
commitb8695b8b2e0713846a929f057d80c94135f50efe (patch)
tree06ac27f91f6b0b87801acc64dd78e0a72dd2b554 /docker
parentde1637bdd1f7753f8a20469697f98ef3ddaf4e2b (diff)
Associate unmapped hosts with cell mappings
Otherwise the containerized nova running in the overcloud fails with "Host 'overcloud-novacompute-0' is not mapped to any cell, Code: 400". Co-Authored-By: Martin André <m.andre@redhat.com> Change-Id: I9ff77f25bfd1f37167b0638a32fe5049951bc5b4
Diffstat (limited to 'docker')
-rw-r--r--docker/services/nova-api.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/services/nova-api.yaml b/docker/services/nova-api.yaml
index 26ae514a..0cf1b859 100644
--- a/docker/services/nova-api.yaml
+++ b/docker/services/nova-api.yaml
@@ -132,3 +132,13 @@ outputs:
- /etc/localtime:/etc/localtime:ro
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
+ nova_api_discover_hosts:
+ start_order: 3
+ image: *nova_api_image
+ net: host
+ detach: false
+ volumes: *nova_api_volumes
+ command:
+ - '/usr/bin/nova-manage'
+ - 'cell_v2'
+ - 'discover_hosts'