Bug 1096265 - ceilometer-api service fails to start due to missing ipaddr requirement of WSME
Summary: ceilometer-api service fails to start due to missing ipaddr requirement of WSME
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 5.0 (RHEL 7)
Assignee: Pádraig Brady
QA Contact: Shai Revivo
URL:
Whiteboard:
: 1096044 1096518 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-09 14:22 UTC by Eoghan Glynn
Modified: 2019-09-10 14:07 UTC (History)
5 users (show)

Fixed In Version: python-wsme-0.6-2
Doc Type: Bug Fix
Doc Text:
This release also contains an update to python-wsme. This update fixes a bug that could prevent the ceilometer-api service from properly importing IP addresses; whenever this occurred, ceilometer-api would fail to start.
Clone Of:
Environment:
Last Closed: 2014-07-08 15:32:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0850 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement - Telemetry 2014-07-08 19:22:56 UTC

Description Eoghan Glynn 2014-05-09 14:22:46 UTC
Description of problem:

The ceilometer-api service fails to start on rhel7beta with a failure to import ipaddr from deep within the bowels of WSME:

2014-05-09 08:35:22.752 22972 CRITICAL ceilometer [-] ImportError: No module named ipaddr
2014-05-09 08:35:22.752 22972 TRACE ceilometer Traceback (most recent call last):
2014-05-09 08:35:22.752 22972 TRACE ceilometer   File "/usr/bin/ceilometer-api", line 10, in <module>
2014-05-09 08:35:22.752 22972 TRACE ceilometer     sys.exit(api())
2014-05-09 08:35:22.752 22972 TRACE ceilometer   File "/usr/lib/python2.7/site-packages/ceilometer/cli.py", line 96, in api
2014-05-09 08:35:22.752 22972 TRACE ceilometer     srv = app.build_server()
[snip]
2014-05-09 08:35:22.752 22972 TRACE ceilometer   File "/usr/lib/python2.7/site-packages/wsme/api.py", line 7, in <module>
2014-05-09 08:35:22.752 22972 TRACE ceilometer     import wsme.types
2014-05-09 08:35:22.752 22972 TRACE ceilometer   File "/usr/lib/python2.7/site-packages/wsme/types.py", line 15, in <module>
2014-05-09 08:35:22.752 22972 TRACE ceilometer     import ipaddr as ipaddress
2014-05-09 08:35:22.752 22972 TRACE ceilometer ImportError: No module named ipaddr

Looks like python-ipaddr needs to be an explicit dependency.


Version-Release number of selected component (if applicable):

$ sudo rpm -qa | grep packstack
openstack-packstack-2014.1.1-0.11.1.dev1055.el7ost.noarch
openstack-packstack-puppet-2014.1.1-0.11.1.dev1055.el7ost.noarch


How reproducible:

100%


Steps to Reproduce:
1. Install packstack:

   $ packstack --allinone

2. Check the ceilometer-api service status:

   $ sudo service openstack-ceilometer-api status

3. Check the ceilometer-api logs for the signature in the description above:

   $ less /var/log/ceilometer/api.log


Actual results:

The ceilometer-api service fails to start with a failure to import ipaddr from deep within the bowels of WSME.


Expected results:

The ceilometer-api should start without any further RPM installation.


Additional info:

Issue can be worked around by manually installing ipaddr:

  $ sudo yum install -y python-ipaddr
  $ sudo service openstack-ceilometer-api start

Comment 2 Pádraig Brady 2014-05-09 15:12:10 UTC
This is already fixed in RDO.
In general we need to sync stuff from RDO again.
Syncing now...

Comment 3 Pádraig Brady 2014-05-09 15:30:23 UTC
*** Bug 1096044 has been marked as a duplicate of this bug. ***

Comment 4 Pádraig Brady 2014-05-12 08:52:38 UTC
*** Bug 1096518 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2014-07-08 15:32:26 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.

http://rhn.redhat.com/errata/RHEA-2014-0850.html


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