Bug 1268122 - openstack-gnocchi packaging is failing
Summary: openstack-gnocchi packaging is failing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-gnocchi
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: beta
: 8.0 (Liberty)
Assignee: RHOS Maint
QA Contact: Yurii Prokulevych
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-01 21:18 UTC by Emilien Macchi
Modified: 2016-04-07 21:10 UTC (History)
4 users (show)

Fixed In Version: openstack-gnocchi-1.3.0-3.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-07 21:10:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:0603 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 Enhancement Advisory 2016-04-08 00:53:53 UTC

Description Emilien Macchi 2015-10-01 21:18:22 UTC
First issue: openstack-gnocchi-common is not automatically installed by openstack-gnocchi-api.


Second issue: impossible to run Gnocchi API:

[root@em-vag-c7-dev ~]# service openstack-gnocchi-api status
Redirecting to /bin/systemctl status  openstack-gnocchi-api.service
openstack-gnocchi-api.service - OpenStack ceilometer API service
   Loaded: loaded (/usr/lib/systemd/system/openstack-gnocchi-api.service; enabled)
   Active: failed (Result: exit-code) since Thu 2015-10-01 20:37:34 UTC; 4s ago
  Process: 14538 ExecStart=/usr/bin/gnocchi-api --logfile /var/log/gnocchi/api.log (code=exited, status=1/FAILURE)
 Main PID: 14538 (code=exited, status=1/FAILURE)

Oct 01 20:37:33 em-vag-c7-dev gnocchi-api[14538]: from gnocchi import utils
Oct 01 20:37:33 em-vag-c7-dev gnocchi-api[14538]: File "/usr/lib/python2.7/site-packages/gnocchi/utils.py", line 20, in <module>
Oct 01 20:37:33 em-vag-c7-dev gnocchi-api[14538]: from pytimeparse import timeparse
Oct 01 20:37:33 em-vag-c7-dev gnocchi-api[14538]: File "/usr/lib/python2.7/site-packages/pytimeparse/__init__.py", line 28, in <module>
Oct 01 20:37:33 em-vag-c7-dev gnocchi-api[14538]: from .timeparse import timeparse as parse
Oct 01 20:37:33 em-vag-c7-dev gnocchi-api[14538]: File "/usr/lib/python2.7/site-packages/pytimeparse/timeparse.py", line 34, in <module>
Oct 01 20:37:33 em-vag-c7-dev gnocchi-api[14538]: from builtins import dict, int
Oct 01 20:37:33 em-vag-c7-dev gnocchi-api[14538]: ImportError: No module named builtins
Oct 01 20:37:34 em-vag-c7-dev systemd[1]: openstack-gnocchi-api.service: main process exited, code=exited, status=1/FAILURE
Oct 01 20:37:34 em-vag-c7-dev systemd[1]: Unit openstack-gnocchi-api.service entered failed state.


rpm -qa: http://paste.fedoraproject.org/273851/37342811/

Comment 1 Pradeep Kilambi 2015-10-01 21:47:27 UTC
fix submitted upstream to match 1.2 tag: https://review.gerrithub.io/248840

Comment 2 Alan Pevec 2015-11-04 19:53:20 UTC
MODIFIED only when there's build

Comment 3 Alan Pevec 2015-11-04 23:39:01 UTC
This should be moved to Product: RDO once openstack-gnocchi component is create there.

Comment 4 Alan Pevec 2015-11-05 00:03:21 UTC
Followup patch in -3 was due to missing dep: https://review.gerrithub.io/251426

Comment 6 Jon Schlueter 2015-12-14 15:22:08 UTC
Ran yum install on openstack-gnocchi-api and verified it also installed openstack-gnocchi-common

Comment 8 errata-xmlrpc 2016-04-07 21:10:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0603.html


Note You need to log in before you can comment on or make changes to this bug.