[openstack-dev] [Ceilometer] compute agent cannot start

Shixiong Shang sparkofwisdom.cloud at gmail.com
Fri Nov 15 03:51:53 UTC 2013


Hi, Lianhao:

It turned out that the six.py file is only updated in
"/usr/local/lib/python2.7/dist-packages/"
directory. There are a couple of other "six.py" file in other directories,
which still stay as version 1.3.0. For example:

./usr/lib/python2.7/dist-packages/six.py

./usr/lib/python2.7/dist-packages/pip/vendor/six.py

./usr/share/pyshared/six.py

./usr/share/pyshared/pip/vendor/six.py

After I replaced all above "six.py" with 1.4.1 version, the error went
away. But again, when I tried to launch "ceilometer-agent-compute", it
still gave me tons of other errors.....:(

Thanks in advance!

Shixiong



ceilometer-agent-compute
2013-11-14 19:46:11.264 2590 ERROR stevedore.extension [-] Could not load
'disk.read.requests': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.264 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.264 2590 TRACE stevedore.extension
2013-11-14 19:46:11.266 2590 ERROR stevedore.extension [-] Could not load
'disk.write.bytes': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.267 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension
2013-11-14 19:46:11.267 2590 ERROR stevedore.extension [-] Could not load
'disk.write.requests': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.267 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.267 2590 TRACE stevedore.extension
2013-11-14 19:46:11.268 2590 ERROR stevedore.extension [-] Could not load
'instance_flavor': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.268 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension
2013-11-14 19:46:11.268 2590 ERROR stevedore.extension [-] Could not load
'instance': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.268 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.268 2590 TRACE stevedore.extension
2013-11-14 19:46:11.269 2590 ERROR stevedore.extension [-] Could not load
'disk.read.bytes': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.269 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension
2013-11-14 19:46:11.269 2590 ERROR stevedore.extension [-] Could not load
'network.incoming.packets': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.269 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.269 2590 TRACE stevedore.extension
2013-11-14 19:46:11.270 2590 ERROR stevedore.extension [-] Could not load
'network.outgoing.bytes': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.270 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.270 2590 TRACE stevedore.extension
2013-11-14 19:46:11.271 2590 ERROR stevedore.extension [-] Could not load
'network.incoming.bytes': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.271 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension
2013-11-14 19:46:11.271 2590 ERROR stevedore.extension [-] Could not load
'network.outgoing.packets': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.271 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.271 2590 TRACE stevedore.extension
2013-11-14 19:46:11.272 2590 ERROR stevedore.extension [-] Could not load
'cpu': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.272 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.272 2590 TRACE stevedore.extension
2013-11-14 19:46:11.272 2590 ERROR stevedore.extension [-] Could not load
'libvirt': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.273 2590 ERROR stevedore.extension [-] (six 1.3.0
(/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension Traceback (most
recent call last):
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
_load_plugins
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension     invoke_kwds,
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/named.py", line 57, in
_load_one_plugin
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension     ep,
invoke_on_load, invoke_args, invoke_kwds,
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension   File
"/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
_load_one_plugin
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension     plugin =
ep.load()
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension     if require:
self.require(env, installer)
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension
working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension   File
"build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension     raise
VersionConflict(dist,req) # XXX put more info here
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension VersionConflict:
(six 1.3.0 (/usr/lib/python2.7/dist-packages),
Requirement.parse('six>=1.4.1'))
2013-11-14 19:46:11.273 2590 TRACE stevedore.extension
2013-11-14 19:46:11.273 2590 CRITICAL ceilometer [-] No
'ceilometer.compute.virt' driver found, looking for 'libvirt'




On Thu, Nov 14, 2013 at 9:57 PM, Shixiong Shang <
sparkofwisdom.cloud at gmail.com> wrote:

> I see, that resolved the issue. No complain of VersionConflict any more.
> However, now, it is back to square one. :( The odd thing is, I do see
> "add_metaclass" in the six.py. I am confused. What's going on?
>
>
> ceilometer-agent-compute
> Traceback (most recent call last):
>   File "/usr/local/bin/ceilometer-agent-compute", line 6, in <module>
>     from ceilometer.compute.manager import agent_compute
>   File
> "/usr/local/lib/python2.7/dist-packages/ceilometer/compute/manager.py",
> line 22, in <module>
>     from ceilometer import agent
>   File "/usr/local/lib/python2.7/dist-packages/ceilometer/agent.py", line
> 24, in <module>
>     from ceilometer import pipeline
>   File "/usr/local/lib/python2.7/dist-packages/ceilometer/pipeline.py",
> line 28, in <module>
>     from ceilometer import publisher
>   File
> "/usr/local/lib/python2.7/dist-packages/ceilometer/publisher/__init__.py",
> line 40, in <module>
>     @six.add_metaclass(abc.ABCMeta)
> AttributeError: 'module' object has no attribute 'add_metaclass'
>
> Shixiong
>
>
> On Thu, Nov 14, 2013 at 9:43 PM, Lu, Lianhao <lianhao.lu at intel.com> wrote:
>
>> How do you replace, just manual copying? I think you should pip install
>> -U six.
>>
>> Best Regards,
>> Lianhao
>>
>>
>> > -----Original Message-----
>> > From: Shixiong Shang [mailto:sparkofwisdom.cloud at gmail.com]
>> > Sent: Friday, November 15, 2013 10:35 AM
>> > To: OpenStack Development Mailing List (not for usage questions)
>> > Subject: Re: [openstack-dev] [Ceilometer] compute agent cannot start
>> >
>> > Hi, Lianhao:
>> >
>> > I downloaded "six" package, 1.4.1 from pypi.python.org and replaced
>> all six.py files with the latest version, including the one under
>> > "/usr/lib/python2.7/dist-packages" directory.
>> >
>> > more /usr/lib/python2.7/dist-packages/six.py
>> > import operator
>> > import sys
>> > import types
>> >
>> > __author__ = "Benjamin Peterson <benjamin at python.org>"
>> > __version__ = "1.4.1"
>> >
>> >
>> > However, ceilometer-agent-compute still complained of VersionConflict.
>> >
>> >
>> >
>> > 18:30:04.376 11553 ERROR stevedore.extension [-] Could not load
>> 'libvirt': (six 1.3.0 (/usr/lib/python2.7/dist-packages),
>> > Requirement.parse('six>=1.4.1'))
>> > 2013-11-14 18:30:04.376 11553 ERROR stevedore.extension [-] (six 1.3.0
>> (/usr/lib/python2.7/dist-packages),
>> > Requirement.parse('six>=1.4.1'))
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension Traceback (most
>> recent call last):
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension   File
>> "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in
>> > _load_plugins
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension     invoke_kwds,
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension   File
>> "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 57, in
>> > _load_one_plugin
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension     ep,
>> invoke_on_load, invoke_args, invoke_kwds,
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension   File
>> "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in
>> > _load_one_plugin
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension     plugin =
>> ep.load()
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension   File
>> "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2107, in load
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension     if require:
>> self.require(env, installer)
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension   File
>> "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2120, in require
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension
>> working_set.resolve(self.dist.requires(self.extras),env,installer)))
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension   File
>> "build/bdist.linux-x86_64/egg/pkg_resources.py", line 580, in resolve
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension     raise
>> VersionConflict(dist,req) # XXX put more info here
>> > 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension
>> VersionConflict: (six 1.3.0 (/usr/lib/python2.7/dist-packages),
>> > Requirement.parse('six>=1.4.1'))
>> >
>> > Thanks!
>> >
>> > Shixiong
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Thu, Nov 14, 2013 at 9:02 PM, Lu, Lianhao <lianhao.lu at intel.com>
>> wrote:
>> >
>> >
>> >       Which version of six do you have? I think you at least need six
>> 1.4.0
>> >
>> >       -Lianhao
>> >
>> >
>> >       > -----Original Message-----
>> >       > From: Shixiong Shang [mailto:sparkofwisdom.cloud at gmail.com]
>> >       > Sent: Friday, November 15, 2013 4:47 AM
>> >       > To: OpenStack Development Mailing List (not for usage questions)
>> >       > Subject: [openstack-dev] [Ceilometer] compute agent cannot start
>> >       >
>> >       > Hi, Guys:
>> >       >
>> >       > I am trying to run ceilometer agent on compute node, and it
>> gave me the following traceback. I believe I hit this bug
>> >       > ("https://bugs.launchpad.net/nova/+bug/1244055"). However, I
>> would like to know whether there is any workaround?
>> >       >
>> >       >
>> >       >  sudo python /usr/local/bin/ceilometer-agent-compute
>> >       > Traceback (most recent call last):
>> >       >   File "/usr/local/bin/ceilometer-agent-compute", line 6, in
>> <module>
>> >       >     from ceilometer.compute.manager import agent_compute
>> >       >   File
>> "/usr/local/lib/python2.7/dist-packages/ceilometer/compute/manager.py",
>> line 22, in <module>
>> >       >     from ceilometer import agent
>> >       >   File
>> "/usr/local/lib/python2.7/dist-packages/ceilometer/agent.py", line 24, in
>> <module>
>> >       >     from ceilometer import pipeline
>> >       >   File
>> "/usr/local/lib/python2.7/dist-packages/ceilometer/pipeline.py", line 28,
>> in <module>
>> >       >     from ceilometer import publisher
>> >       >   File
>> "/usr/local/lib/python2.7/dist-packages/ceilometer/publisher/__init__.py",
>> line 40, in <module>
>> >       >     @six.add_metaclass(abc.ABCMeta)
>> >       > AttributeError: 'module' object has no attribute 'add_metaclass'
>> >       >
>> >       >
>> >       > Thanks!
>> >       >
>> >       > Shixiong
>> >
>> >       > _______________________________________________
>> >       > OpenStack-dev mailing list
>> >       > OpenStack-dev at lists.openstack.org
>> >       >
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> >
>> >       _______________________________________________
>> >       OpenStack-dev mailing list
>> >       OpenStack-dev at lists.openstack.org
>> >       http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> >
>> >
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131114/ebffabab/attachment.html>


More information about the OpenStack-dev mailing list