From 8c99d5300ecdf0f8fcc77d4dab8f60ea1b83fed7 Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Date: Wed, 19 Dec 2018 21:04:49 +0100 Subject: 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 --- docker/placement/placement-api/extend_start.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'docker/placement/placement-api') 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 -- cgit v1.2.3