Pecan version issue in Icehouse ceilometer package

Bug #1312301 reported by Michael Tughan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ceilometer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I installed ceilometer from the Icehouse packages on Ubuntu 14.04 earlier today and ran into a VersionConflict python error, where ceilometer requires pecan >= 0.4.5, but pecan 0.3.0 is available.

Traceback (most recent call last):
  File "/usr/bin/swift-proxy-server", line 23, in <module>
    sys.exit(run_wsgi(conf_file, 'proxy-server', default_port=8080, **options))
  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 389, in run_wsgi
    loadapp(conf_path, global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 316, in loadapp
    ctx = loadcontext(loadwsgi.APP, conf_file, global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 307, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 59, in get_context
    object_type, name=name, global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in get_context
    global_additions=global_additions)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context
    for name in pipeline[:-1]]
  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 59, in get_context
    object_type, name=name, global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 454, in get_context
    section)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 476, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 59, in get_context
    object_type, name=name, global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 406, in get_context
    global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 328, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 620, in get_context
    object_type, name=name)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 640, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 632, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (pecan 0.3.0 (/usr/lib/python2.7/dist-packages), Requirement.parse('pecan>=0.4.5'))

According to a few people in #ubuntu-server, this looks to be a packaging issue with the requirements.txt in ceilometer.

Robie Basak (racb)
affects: ceilometer → ceilometer (Ubuntu)
Revision history for this message
Robie Basak (racb) wrote :
Changed in ceilometer (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Tughan (mtughan) wrote :

Sorry, forgot to give that link before. Yes, a Google search turned that up first, which is when I asked about it in #ubuntu-server on freenode. Manually modifying requires.txt to "pecan>=0.3.0" also gives me the same happybase error he mentioned in the comments. Whether that should be a separate bug or not, I'm not sure.

Revision history for this message
Sina Sadeghi (sina-sa) wrote :

Same problem here. Please place the appropriate version packages in the icehouse repo ASAP.

Why was this not caught by testing/QA? Is metering swift with ceilometer considered an edge case?

no longer affects: ceilometer
Revision history for this message
James Page (james-page) wrote :

I believe that this was fixed under bug 1317147

Changed in ceilometer (Ubuntu):
status: Confirmed → 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.