diff options
| author | rthallisey <rhallise@redhat.com> | 2015-08-17 15:57:13 -0400 |
|---|---|---|
| committer | rthallisey <rhallise@redhat.com> | 2015-08-18 09:35:23 -0400 |
| commit | 3c5165687afd5f0e7743477c2e69ed6ae27c10a4 (patch) | |
| tree | 20bbcdc2d6938e61336e581cc86b18e23ff53211 /docker | |
| parent | 8057fa793863d9c05cfba999287e59c194d93ee5 (diff) | |
| download | kolla-3c5165687afd5f0e7743477c2e69ed6ae27c10a4.tar.gz kolla-3c5165687afd5f0e7743477c2e69ed6ae27c10a4.zip | |
Cinder bootstrap container is not initializing the DB
When running cinder-ansible, the cinder db is never being initialized.
The bootstrap task needs to be fixed in order for cinder to run the db sync.
Change-Id: I01c5f5c34773ffc4e4f7fc7088a7277115db94dc
Closes-Bug: #1485745
Diffstat (limited to 'docker')
| -rwxr-xr-x | docker/common/cinder/cinder-api/start.sh | 2 |
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 |
