From: John Trowbridge Date: Mon, 27 Feb 2017 15:00:25 +0000 (-0500) Subject: Associate unmapped hosts with cell mappings X-Git-Tag: opnfv-6.0.0~977^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=b8695b8b2e0713846a929f057d80c94135f50efe;p=apex-tripleo-heat-templates.git 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é Change-Id: I9ff77f25bfd1f37167b0638a32fe5049951bc5b4 --- 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'