aboutsummaryrefslogtreecommitdiff
path: root/docker/common
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-08-19 03:22:51 +0000
committerGerrit Code Review <review@openstack.org>2015-08-19 03:22:51 +0000
commitac61653343536017b20182e75bc66228bc4da79f (patch)
treeb99f3ee99f35f0d8a58522787085240319cf13a5 /docker/common
parent718db54fa80bbd892670a7a5c1eca5ad991f53eb (diff)
parent3c5165687afd5f0e7743477c2e69ed6ae27c10a4 (diff)
downloadkolla-ac61653343536017b20182e75bc66228bc4da79f.tar.gz
kolla-ac61653343536017b20182e75bc66228bc4da79f.zip
Merge "Cinder bootstrap container is not initializing the DB"
Diffstat (limited to 'docker/common')
-rwxr-xr-xdocker/common/cinder/cinder-api/start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/common/cinder/cinder-api/start.sh b/docker/common/cinder/cinder-api/start.sh
index e6f79b3a6..ac1774b37 100755
--- a/docker/common/cinder/cinder-api/start.sh
+++ b/docker/common/cinder/cinder-api/start.sh
@@ -14,7 +14,7 @@ set_configs
# 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
- su -s /bin/sh -c "cinder-manage db_sync" cinder
+ su -s /bin/sh -c "cinder-manage db sync" cinder
exit 0
fi