[Bug 1515409] Re: swift proxy with ceilometer pipeline fails to start version conflict

Launchpad Bug Tracker 1515409 at bugs.launchpad.net
Thu Nov 19 18:30:30 UTC 2015


This bug was fixed in the package ceilometer - 2015.1.2-0ubuntu1.1

---------------
ceilometer (2015.1.2-0ubuntu1.1) vivid; urgency=medium

  * d/p/fix-requirements.patch: Revert requirements bumps that occurred
    to oslo.concurrency, python-ceilometerclient, and python-neutronclient
    during stable point release of kilo (2015.1.2). (LP: #1515409).

 -- Corey Bryant <corey.bryant at canonical.com>  Thu, 12 Nov 2015 08:48:08
-0500

** Changed in: ceilometer (Ubuntu Vivid)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-neutronclient in Ubuntu.
https://bugs.launchpad.net/bugs/1515409

Title:
  swift proxy with ceilometer pipeline fails to start  version conflict

Status in Ubuntu Cloud Archive:
  Triaged
Status in ceilometer package in Ubuntu:
  Invalid
Status in python-ceilometerclient package in Ubuntu:
  Invalid
Status in python-neutronclient package in Ubuntu:
  Invalid
Status in python-oslo.concurrency package in Ubuntu:
  Invalid
Status in ceilometer source package in Vivid:
  Fix Released
Status in python-ceilometerclient source package in Vivid:
  New
Status in python-neutronclient source package in Vivid:
  New
Status in python-oslo.concurrency source package in Vivid:
  New

Bug description:
  on a swift proxy server using ceilometer in the pipeline I get the
  following error after doing updates in kilo from the cloud archive
  from python-ceilometer 2015.1.0-0ubuntu1~cloud0 to
  2015.1.2-0ubuntu1~cloud0

  root at labproxy02:~# swift-init proxy start
  Starting proxy-server...(/etc/swift/proxy-server.conf)
  Traceback (most recent call last):
    File "/usr/bin/swift-proxy-server", line 23, in <module>
      sys.exit(run_wsgi(conf_file, 'proxy-server', **options))
    File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 445, in run_wsgi
      loadapp(conf_path, global_conf=global_conf)
    File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 354, in loadapp
      ctx = loadcontext(loadwsgi.APP, conf_file, global_conf=global_conf)
    File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 338, 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 61, 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 61, 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 61, 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: (python-neutronclient 2.3.11 (/usr/lib/python2.7/dist-packages), Requirement.parse('python-neutronclient>=2.4.0,<2.5.0'))

  
  If i pull ceilometer out of the pipeline swift-init proxy start processes without issue.  If I install the updated dependancies with pip I am able to start the proxy server without issues:
  pip install python-neutronclient==2.4.0
  pip install python-ceilometerclient==1.1.1
  pip install oslo.concurrency==1.8.2

  after updating those packages I am able to start the swift-proxy server.  Can these dependencies be reviewed / updated in the cloud archive?
  Thanks,
  -Matt

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1515409/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list