[Bug 1515409] Re: swift proxy with ceilometer pipeline fails to start version conflict
James Page
james.page at ubuntu.com
Thu Nov 12 10:09:08 UTC 2015
The latest update to ceilometer changed:
python-neutronclient<2.5.0,>=2.3.11
to
python-neutronclient<2.5.0,>=2.4.0
that should not have happened; looking into it now
** Changed in: cloud-archive
Status: New => Confirmed
** Changed in: cloud-archive
Importance: Undecided => Critical
** Also affects: ceilometer (Ubuntu)
Importance: Undecided
Status: New
** Also affects: ceilometer (Ubuntu Vivid)
Importance: Undecided
Status: New
** Changed in: ceilometer (Ubuntu)
Status: New => Invalid
** Changed in: ceilometer (Ubuntu Vivid)
Status: New => Triaged
** Changed in: ceilometer (Ubuntu Vivid)
Importance: Undecided => Critical
** Changed in: cloud-archive
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
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 ceilometer source package in Vivid:
Triaged
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