[Bug 1515409] Re: swift proxy with ceilometer pipeline fails to start version conflict
Matt Wear
wearmg at inhs.org
Thu Nov 12 22:33:40 UTC 2015
Hi Chris,
That fixed my problem. swift-proxy is now able to start with ceilometer in the pipeline. The No Handlers message was there previously and is unrelated:
root at labproxy01:~# 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'))
root at labproxy01:~# dpkg -i /tmp/python-ceilometer_2015.1.2-0ubuntu1.1_all.deb
(Reading database ... 100006 files and directories currently installed.)
Preparing to unpack .../python-ceilometer_2015.1.2-0ubuntu1.1_all.deb ...
Unpacking python-ceilometer (2015.1.2-0ubuntu1.1) over (2015.1.2-0ubuntu1~cloud0) ...
Setting up python-ceilometer (2015.1.2-0ubuntu1.1) ...
root at labproxy01:~# swift-init proxy start
Starting proxy-server...(/etc/swift/proxy-server.conf)
No handlers could be found for logger "ceilometer.openstack.common.versionutils"
root at labproxy01:~# swift-init proxy status
proxy-server running (8136 - /etc/swift/proxy-server.conf)
root at labproxy01:~#
--
You received this bug notification because you are a member of Ubuntu
Server Team, 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1515409/+subscriptions
More information about the Ubuntu-server-bugs
mailing list