Associate unmapped hosts with cell mappings
[apex-tripleo-heat-templates.git] / docker / services / nova-api.yaml
index 26ae514..0cf1b85 100644 (file)
@@ -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'