aboutsummaryrefslogtreecommitdiff
path: root/docker/placement/placement-api
diff options
context:
space:
mode:
authorEduardo Gonzalez <dabarren@gmail.com>2018-12-19 21:04:49 +0100
committerEduardo Gonzalez <dabarren@gmail.com>2019-03-08 08:06:07 +0000
commit8c99d5300ecdf0f8fcc77d4dab8f60ea1b83fed7 (patch)
tree81a439a281cc945846cc248a42d9b459740655d8 /docker/placement/placement-api
parentac5103ee1a5e45ef53c2187e48985977f927a3ac (diff)
downloadkolla-8c99d5300ecdf0f8fcc77d4dab8f60ea1b83fed7.tar.gz
kolla-8c99d5300ecdf0f8fcc77d4dab8f60ea1b83fed7.zip
Copy placement database migration script
mysql-migrate-db.sh script is not bundled in packages nor installed with pip. So will need to copy over some path in the host to run the db migration. Change-Id: I116277c5e11b484748784134be50c18675b28103
Diffstat (limited to 'docker/placement/placement-api')
-rw-r--r--docker/placement/placement-api/extend_start.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/placement/placement-api/extend_start.sh b/docker/placement/placement-api/extend_start.sh
index a8e9635d1..f69b2eb8a 100644
--- a/docker/placement/placement-api/extend_start.sh
+++ b/docker/placement/placement-api/extend_start.sh
@@ -4,6 +4,7 @@
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
placement-manage db sync
+ placement-manage db online_data_migrations
exit 0
fi