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@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@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@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@labproxy01:~# swift-init proxy status
proxy-server running (8136 - /etc/swift/proxy-server.conf)
root@labproxy01:~#
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@labproxy01:~# swift-init proxy start ..(/etc/ swift/proxy- server. conf) swift-proxy- server" , line 23, in <module> exit(run_ wsgi(conf_ file, 'proxy-server', **options)) python2. 7/dist- packages/ swift/common/ wsgi.py" , line 445, in run_wsgi conf_path, global_ conf=global_ conf) python2. 7/dist- packages/ swift/common/ wsgi.py" , line 354, in loadapp loadwsgi. APP, conf_file, global_ conf=global_ conf) python2. 7/dist- packages/ swift/common/ wsgi.py" , line 338, in loadcontext conf=global_ conf) python2. 7/dist- packages/ paste/deploy/ loadwsgi. py", line 296, in loadcontext conf=global_ conf) python2. 7/dist- packages/ paste/deploy/ loadwsgi. py", line 320, in _loadconfig get_context( object_ type, name, global_conf) python2. 7/dist- packages/ swift/common/ wsgi.py" , line 61, in get_context conf=global_ conf) python2. 7/dist- packages/ paste/deploy/ loadwsgi. py", line 450, in get_context additions= global_ additions) python2. 7/dist- packages/ paste/deploy/ loadwsgi. py", line 562, in _pipeline_ app_context python2. 7/dist- packages/ swift/common/ wsgi.py" , line 61, in get_context conf=global_ conf) python2. 7/dist- packages/ paste/deploy/ loadwsgi. py", line 454, in get_context python2. 7/dist- packages/ paste/deploy/ loadwsgi. py", line 476, in _context_from_use conf=global_ conf) python2. 7/dist- packages/ swift/common/ wsgi.py" , line 61, in get_context conf=global_ conf) python2. 7/dist- packages/ paste/deploy/ loadwsgi. py", line 406, in get_context conf=global_ conf) python2. 7/dist- packages/ paste/deploy/ loadwsgi. py", line 296, in loadcontext conf=global_ conf) python2. 7/dist- packages/ paste/deploy/ loadwsgi. py", line 328, in _loadegg get_context( object_ type, name, global_conf) python2. 7/dist- packages/ paste/deploy/ loadwsgi. py", line 620, in get_context python2. 7/dist- packages/ paste/deploy/ loadwsgi. py", line 640, in find_egg_ entry_point resources. require( self.spec) python2. 7/dist- packages/ pkg_resources. py", line 725, in require parse_requireme nts(requirement s)) python2. 7/dist- packages/ pkg_resources. py", line 632, in resolve (dist,req) # XXX put more info here VersionConflict : (python- neutronclient 2.3.11 (/usr/lib/ python2. 7/dist- packages) , Requirement. parse(' python- neutronclient> =2.4.0, <2.5.0' ))
Starting proxy-server.
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
loadapp(
File "/usr/lib/
ctx = loadcontext(
File "/usr/lib/
global_
File "/usr/lib/
global_
File "/usr/lib/
return loader.
File "/usr/lib/
object_type, name=name, global_
File "/usr/lib/
global_
File "/usr/lib/
for name in pipeline[:-1]]
File "/usr/lib/
object_type, name=name, global_
File "/usr/lib/
section)
File "/usr/lib/
object_type, name=use, global_
File "/usr/lib/
object_type, name=name, global_
File "/usr/lib/
global_
File "/usr/lib/
global_
File "/usr/lib/
return loader.
File "/usr/lib/
object_type, name=name)
File "/usr/lib/
pkg_
File "/usr/lib/
needed = self.resolve(
File "/usr/lib/
raise VersionConflict
pkg_resources.
root@labproxy01:~# dpkg -i /tmp/python- ceilometer_ 2015.1. 2-0ubuntu1. 1_all.deb ceilometer_ 2015.1. 2-0ubuntu1. 1_all.deb ... 2-0ubuntu1. 1) over (2015.1. 2-0ubuntu1~ cloud0) ... 2-0ubuntu1. 1) ... ..(/etc/ swift/proxy- server. conf) openstack. common. versionutils"
(Reading database ... 100006 files and directories currently installed.)
Preparing to unpack .../python-
Unpacking python-ceilometer (2015.1.
Setting up python-ceilometer (2015.1.
root@labproxy01:~# swift-init proxy start
Starting proxy-server.
No handlers could be found for logger "ceilometer.
root@labproxy01:~# swift-init proxy status proxy-server. conf)
proxy-server running (8136 - /etc/swift/
root@labproxy01:~#