diff --git a/docker/gnocchi/gnocchi-api/extend_start.sh b/docker/gnocchi/gnocchi-api/extend_start.sh
index aeb3d07..6ec7dbd 100644
--- a/docker/gnocchi/gnocchi-api/extend_start.sh
+++ b/docker/gnocchi/gnocchi-api/extend_start.sh
@@ -3,6 +3,6 @@
# 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
- gnocchi-manage db_sync
+ gnocchi-upgrade --logfile /var/log/kolla/gnocchi/gnocchi-upgrade.log
exit 0
root@ip- 172-31- 22-78:/ kolla# git show -1 87a36f155029454 2435030bcf
commit 63010dcf9760f26
Author: zhubingbing <email address hidden>
Date: Thu Jul 28 14:28:20 2016 +0000
repair gnocchi dockerfile
1. Add the missing packages in the gnocchi image
packages: lz4 sqlalchemy_utils gnocchiclient
2. gnocchi config path is error etc/gnocchi
gnocchi config path is : /gnocchi/
3. gnocchi sync db command is error docs.openstack. org/developer/ gnocchi/ install. html
sync db command is: gnocchi-upgrade
Reference link: http://
4. gnocchi log directory shoud is /var/log/ kolla/gnocchi
5. Add gnocchi-api running as a mod_wsgi docs.openstack. org/developer/ gnocchi/ running. html
Reference link: http://
6. Add gnocchi sudoers file
Closes-Bug: #1607332
Change-Id: Id3aded82706ffd 204373c97a02098 0d0d9b72663
diff --git a/docker/ gnocchi/ gnocchi- api/extend_ start.sh b/docker/ gnocchi/ gnocchi- api/extend_ start.sh gnocchi/ gnocchi- api/extend_ start.sh gnocchi/ gnocchi- api/extend_ start.sh BOOTSTRAP[ @]}" ]]; then kolla/gnocchi/ gnocchi- upgrade. log
index aeb3d07..6ec7dbd 100644
--- a/docker/
+++ b/docker/
@@ -3,6 +3,6 @@
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_
- gnocchi-manage db_sync
+ gnocchi-upgrade --logfile /var/log/
exit 0