aboutsummaryrefslogtreecommitdiff
path: root/docker/nova/nova-api
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-08-20 19:07:21 +0000
committerGerrit Code Review <review@openstack.org>2019-08-20 19:07:21 +0000
commit17c84581345b7c480d6bea12dcdd4752b20ca392 (patch)
tree3c94be7c1e41185c4d9ca0d238e821308729c673 /docker/nova/nova-api
parent62493243aeb7d12a7a1f87de06f2f4a8fc64b2c3 (diff)
parentb087f058c96be252aa32842f208f766295a2b5ca (diff)
downloadkolla-17c84581345b7c480d6bea12dcdd4752b20ca392.tar.gz
kolla-17c84581345b7c480d6bea12dcdd4752b20ca392.zip
Merge "Support DB bootstrap from Nova Conductor container"
Diffstat (limited to 'docker/nova/nova-api')
-rw-r--r--docker/nova/nova-api/extend_start.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/nova/nova-api/extend_start.sh b/docker/nova/nova-api/extend_start.sh
index 3d958253e..815b62255 100644
--- a/docker/nova/nova-api/extend_start.sh
+++ b/docker/nova/nova-api/extend_start.sh
@@ -1,5 +1,9 @@
#!/bin/bash
+# TODO(dszumski): When Nova Conductor in Kolla Ansible supports triggering DB
+# operations, we should review this script and remove any duplicate
+# operations. This is probably anything that isn't to do with the API.
+
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then