Import Error No model name lz4

Bug #1607332 reported by zhubingbing
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
zhubingbing

Bug Description

gnocchi dockerfile

1、Import Error No muduel name lz4

2、Import Error No mudele name sqlalchemy_tils

Changed in kolla:
assignee: nobody → Pom (1392607554-o)
Changed in kolla:
assignee: Pom (1392607554-o) → nobody
assignee: nobody → Pom (1392607554-o)
status: New → In Progress
Revision history for this message
zhubingbing (zhubingbing) wrote :
Steven Dake (sdake)
Changed in kolla:
importance: Undecided → High
milestone: none → newton-3
Revision history for this message
zhubingbing (zhubingbing) wrote :

root@ip-172-31-22-78:/kolla# git show -1
commit 63010dcf9760f2687a36f1550294542435030bcf
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
       gnocchi config path is : /gnocchi/etc/gnocchi

    3. gnocchi sync db command is error
       sync db command is: gnocchi-upgrade
       Reference link: http://docs.openstack.org/developer/gnocchi/install.html

    4. gnocchi log directory shoud is /var/log/kolla/gnocchi

    5. Add gnocchi-api running as a mod_wsgi
       Reference link: http://docs.openstack.org/developer/gnocchi/running.html

    6. Add gnocchi sudoers file

    Closes-Bug: #1607332

    Change-Id: Id3aded82706ffd204373c97a020980d0d9b72663

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

Changed in kolla:
milestone: newton-3 → newton-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/348388
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=55b184a865776be10c039f17bc91038d8ebbdf52
Submitter: Jenkins
Branch: master

commit 55b184a865776be10c039f17bc91038d8ebbdf52
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
       gnocchi config path is /gnocchi/etc/gnocchi

    3. gnocchi sync db command is error
       sync db command is: gnocchi-upgrade
       Reference link: http://docs.openstack.org/developer/gnocchi/install.html

    4. gnocchi log directory is /var/log/kolla/gnocchi

    5. Add gnocchi-api running as a mod_wsgi
       Reference link: http://docs.openstack.org/developer/gnocchi/running.html

    6. Add gnocchi sudoers file

    Closes-Bug: #1607332

    Change-Id: Id3aded82706ffd204373c97a020980d0d9b72663

Changed in kolla:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.