aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-06-27 11:41:49 +0000
committerGerrit Code Review <review@openstack.org>2019-06-27 11:41:49 +0000
commitc972e332caa49ac21f192fd1fb9e7045d285f580 (patch)
treeccf992d2bc291311dbf75f38c5712f282f271d35 /docker
parent0fec1827bd7bc6cf462b2f8777f41ac691d47967 (diff)
parent84a07102e2db92333ce416a520151f1a1856f162 (diff)
downloadkolla-c972e332caa49ac21f192fd1fb9e7045d285f580.tar.gz
kolla-c972e332caa49ac21f192fd1fb9e7045d285f580.zip
Merge "Run nova api_db sync before db sync"
Diffstat (limited to 'docker')
-rw-r--r--docker/nova/nova-api/extend_start.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/nova/nova-api/extend_start.sh b/docker/nova/nova-api/extend_start.sh
index 7d9684bcc..3d958253e 100644
--- a/docker/nova/nova-api/extend_start.sh
+++ b/docker/nova/nova-api/extend_start.sh
@@ -3,15 +3,15 @@
# 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
- nova-manage db sync
nova-manage api_db sync
+ nova-manage db sync
nova-manage db online_data_migrations
exit 0
fi
if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
- nova-manage db sync
nova-manage api_db sync
+ nova-manage db sync
exit 0
fi