From b8695b8b2e0713846a929f057d80c94135f50efe Mon Sep 17 00:00:00 2001 From: John Trowbridge Date: Mon, 27 Feb 2017 10:00:25 -0500 Subject: Associate unmapped hosts with cell mappings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- docker/services/nova-api.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docker') 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' -- cgit 1.2.3-korg