Ceilometer installation error 'module' object has no attribute 'add_metaclass'

asked 2014-02-11 08:50:34 -0500

sparkofwisdom.cloud gravatar image

Hi, experts:

I am trying to install Ceilometer compute agent on Nova Compute node based on this document:

http://docs.openstack.org/developer/ceilometer/install/manual.html (http://docs.openstack.org/developer/c...)

The installation went well without any error. However, when I tried to launch compute agent, it returned this error:

root@net-compute2:/tmp/ceilometer# 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 28, in <module> from ceilometer import pipeline File "/usr/local/lib/python2.7/dist-packages/ceilometer/pipeline.py", line 29, 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'

I think it is related to python package "six". However, I have no clue how to fix it. Would you please shed some light on it?

Thanks!

Shixiong

edit retag flag offensive close merge delete