<div dir="ltr">Hi, Lianhao:<div><br></div><div>It turned out that the six.py file is only updated in "<font face="Helvetica"><span style="font-size:14px">/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:</span></font></div>
<div><font face="Helvetica"><span style="font-size:14px"><br></span></font></div><div><p style="margin:0px;font-size:14px;font-family:Helvetica">./usr/lib/python2.7/dist-packages/six.py</p>
<p style="margin:0px;font-size:14px;font-family:Helvetica">./usr/lib/python2.7/dist-packages/pip/vendor/six.py</p>
<p style="margin:0px;font-size:14px;font-family:Helvetica">./usr/share/pyshared/six.py</p>
<p style="margin:0px;font-size:14px;font-family:Helvetica">./usr/share/pyshared/pip/vendor/six.py</p></div><div><br></div><div><font face="Helvetica"><span style="font-size:14px">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.....:(</span></font></div>
<div><font face="Helvetica"><span style="font-size:14px"><br></span></font></div><div><font face="Helvetica"><span style="font-size:14px">Thanks in advance!</span></font></div><div><font face="Helvetica"><span style="font-size:14px"><br>
</span></font></div><div><font face="Helvetica"><span style="font-size:14px">Shixiong</span></font></div><div><br></div><div><br></div><div><br></div><div><div>ceilometer-agent-compute</div><div>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'))</div>
<div>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'))</div><div>2013-11-14 19:46:11.264 2590 TRACE stevedore.extension Traceback (most recent call last):</div>
<div>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</div><div>2013-11-14 19:46:11.264 2590 TRACE stevedore.extension invoke_kwds,</div>
<div>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</div><div>2013-11-14 19:46:11.264 2590 TRACE stevedore.extension plugin = ep.load()</div>
<div>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</div><div>2013-11-14 19:46:11.264 2590 TRACE stevedore.extension if require: self.require(env, installer)</div>
<div>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</div><div>2013-11-14 19:46:11.264 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div>
<div>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</div><div>2013-11-14 19:46:11.264 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div>
<div>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'))</div><div>2013-11-14 19:46:11.264 2590 TRACE stevedore.extension</div>
<div>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'))</div><div>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'))</div>
<div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension Traceback (most recent call last):</div><div>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</div>
<div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension invoke_kwds,</div><div>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</div>
<div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension plugin = ep.load()</div><div>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</div>
<div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension if require: self.require(env, installer)</div><div>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</div>
<div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div><div>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</div>
<div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div><div>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'))</div>
<div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension</div><div>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'))</div>
<div>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'))</div><div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension Traceback (most recent call last):</div>
<div>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</div><div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension invoke_kwds,</div>
<div>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</div><div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension plugin = ep.load()</div>
<div>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</div><div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension if require: self.require(env, installer)</div>
<div>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</div><div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div>
<div>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</div><div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div>
<div>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'))</div><div>2013-11-14 19:46:11.267 2590 TRACE stevedore.extension</div>
<div>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'))</div><div>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'))</div>
<div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension Traceback (most recent call last):</div><div>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</div>
<div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension invoke_kwds,</div><div>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</div>
<div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension plugin = ep.load()</div><div>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</div>
<div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension if require: self.require(env, installer)</div><div>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</div>
<div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div><div>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</div>
<div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div><div>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'))</div>
<div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension</div><div>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'))</div>
<div>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'))</div><div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension Traceback (most recent call last):</div>
<div>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</div><div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension invoke_kwds,</div>
<div>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</div><div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension plugin = ep.load()</div>
<div>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</div><div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension if require: self.require(env, installer)</div>
<div>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</div><div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div>
<div>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</div><div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div>
<div>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'))</div><div>2013-11-14 19:46:11.268 2590 TRACE stevedore.extension</div>
<div>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'))</div><div>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'))</div>
<div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension Traceback (most recent call last):</div><div>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</div>
<div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension invoke_kwds,</div><div>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</div>
<div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension plugin = ep.load()</div><div>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</div>
<div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension if require: self.require(env, installer)</div><div>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</div>
<div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div><div>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</div>
<div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div><div>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'))</div>
<div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension</div><div>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'))</div>
<div>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'))</div><div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension Traceback (most recent call last):</div>
<div>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</div><div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension invoke_kwds,</div>
<div>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</div><div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension plugin = ep.load()</div>
<div>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</div><div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension if require: self.require(env, installer)</div>
<div>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</div><div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div>
<div>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</div><div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div>
<div>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'))</div><div>2013-11-14 19:46:11.269 2590 TRACE stevedore.extension</div>
<div>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'))</div><div>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'))</div>
<div>2013-11-14 19:46:11.270 2590 TRACE stevedore.extension Traceback (most recent call last):</div><div>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</div>
<div>2013-11-14 19:46:11.270 2590 TRACE stevedore.extension invoke_kwds,</div><div>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</div>
<div>2013-11-14 19:46:11.270 2590 TRACE stevedore.extension plugin = ep.load()</div><div>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</div>
<div>2013-11-14 19:46:11.270 2590 TRACE stevedore.extension if require: self.require(env, installer)</div><div>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</div>
<div>2013-11-14 19:46:11.270 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div><div>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</div>
<div>2013-11-14 19:46:11.270 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div><div>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'))</div>
<div>2013-11-14 19:46:11.270 2590 TRACE stevedore.extension</div><div>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'))</div>
<div>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'))</div><div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension Traceback (most recent call last):</div>
<div>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</div><div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension invoke_kwds,</div>
<div>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</div><div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension plugin = ep.load()</div>
<div>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</div><div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension if require: self.require(env, installer)</div>
<div>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</div><div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div>
<div>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</div><div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div>
<div>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'))</div><div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension</div>
<div>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'))</div><div>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'))</div>
<div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension Traceback (most recent call last):</div><div>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</div>
<div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension invoke_kwds,</div><div>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</div>
<div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension plugin = ep.load()</div><div>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</div>
<div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension if require: self.require(env, installer)</div><div>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</div>
<div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div><div>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</div>
<div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div><div>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'))</div>
<div>2013-11-14 19:46:11.271 2590 TRACE stevedore.extension</div><div>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'))</div>
<div>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'))</div><div>2013-11-14 19:46:11.272 2590 TRACE stevedore.extension Traceback (most recent call last):</div>
<div>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</div><div>2013-11-14 19:46:11.272 2590 TRACE stevedore.extension invoke_kwds,</div>
<div>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</div><div>2013-11-14 19:46:11.272 2590 TRACE stevedore.extension plugin = ep.load()</div>
<div>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</div><div>2013-11-14 19:46:11.272 2590 TRACE stevedore.extension if require: self.require(env, installer)</div>
<div>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</div><div>2013-11-14 19:46:11.272 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div>
<div>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</div><div>2013-11-14 19:46:11.272 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div>
<div>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'))</div><div>2013-11-14 19:46:11.272 2590 TRACE stevedore.extension</div>
<div>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'))</div><div>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'))</div>
<div>2013-11-14 19:46:11.273 2590 TRACE stevedore.extension Traceback (most recent call last):</div><div>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</div>
<div>2013-11-14 19:46:11.273 2590 TRACE stevedore.extension invoke_kwds,</div><div>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</div>
<div>2013-11-14 19:46:11.273 2590 TRACE stevedore.extension ep, invoke_on_load, invoke_args, invoke_kwds,</div><div>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</div>
<div>2013-11-14 19:46:11.273 2590 TRACE stevedore.extension plugin = ep.load()</div><div>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</div>
<div>2013-11-14 19:46:11.273 2590 TRACE stevedore.extension if require: self.require(env, installer)</div><div>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</div>
<div>2013-11-14 19:46:11.273 2590 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))</div><div>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</div>
<div>2013-11-14 19:46:11.273 2590 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here</div><div>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'))</div>
<div>2013-11-14 19:46:11.273 2590 TRACE stevedore.extension</div><div>2013-11-14 19:46:11.273 2590 CRITICAL ceilometer [-] No 'ceilometer.compute.virt' driver found, looking for 'libvirt'</div></div><div><br>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 14, 2013 at 9:57 PM, Shixiong Shang <span dir="ltr"><<a href="mailto:sparkofwisdom.cloud@gmail.com" target="_blank">sparkofwisdom.cloud@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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?<div class="im">
<div>
<br></div><div><br></div><div><div>ceilometer-agent-compute</div><div>Traceback (most recent call last):</div><div> File "/usr/local/bin/ceilometer-agent-compute", line 6, in <module></div><div> from ceilometer.compute.manager import agent_compute</div>
<div> File "/usr/local/lib/python2.7/dist-packages/ceilometer/compute/manager.py", line 22, in <module></div><div> from ceilometer import agent</div><div> File "/usr/local/lib/python2.7/dist-packages/ceilometer/agent.py", line 24, in <module></div>
<div> from ceilometer import pipeline</div><div> File "/usr/local/lib/python2.7/dist-packages/ceilometer/pipeline.py", line 28, in <module></div><div> from ceilometer import publisher</div><div> File "/usr/local/lib/python2.7/dist-packages/ceilometer/publisher/__init__.py", line 40, in <module></div>
<div> @six.add_metaclass(abc.ABCMeta)</div><div>AttributeError: 'module' object has no attribute 'add_metaclass'</div></div><div><br></div></div><span class="HOEnZb"><font color="#888888"><div>Shixiong</div>
</font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Nov 14, 2013 at 9:43 PM, Lu, Lianhao <span dir="ltr"><<a href="mailto:lianhao.lu@intel.com" target="_blank">lianhao.lu@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How do you replace, just manual copying? I think you should pip install -U six.<br>
<br>
Best Regards,<br>
<div>Lianhao<br>
<br>
<br>
> -----Original Message-----<br>
> From: Shixiong Shang [mailto:<a href="mailto:sparkofwisdom.cloud@gmail.com" target="_blank">sparkofwisdom.cloud@gmail.com</a>]<br>
</div><div>> Sent: Friday, November 15, 2013 10:35 AM<br>
> To: OpenStack Development Mailing List (not for usage questions)<br>
</div><div><div>> Subject: Re: [openstack-dev] [Ceilometer] compute agent cannot start<br>
><br>
> Hi, Lianhao:<br>
><br>
> I downloaded "six" package, 1.4.1 from <a href="http://pypi.python.org" target="_blank">pypi.python.org</a> and replaced all six.py files with the latest version, including the one under<br>
> "/usr/lib/python2.7/dist-packages" directory.<br>
><br>
> more /usr/lib/python2.7/dist-packages/six.py<br>
> import operator<br>
> import sys<br>
> import types<br>
><br>
> __author__ = "Benjamin Peterson <<a href="mailto:benjamin@python.org" target="_blank">benjamin@python.org</a>>"<br>
> __version__ = "1.4.1"<br>
><br>
><br>
> However, ceilometer-agent-compute still complained of VersionConflict.<br>
><br>
><br>
><br>
> 18:30:04.376 11553 ERROR stevedore.extension [-] Could not load 'libvirt': (six 1.3.0 (/usr/lib/python2.7/dist-packages),<br>
> Requirement.parse('six>=1.4.1'))<br>
> 2013-11-14 18:30:04.376 11553 ERROR stevedore.extension [-] (six 1.3.0 (/usr/lib/python2.7/dist-packages),<br>
> Requirement.parse('six>=1.4.1'))<br>
> 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension Traceback (most recent call last):<br>
> 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 89, in<br>
> _load_plugins<br>
> 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension invoke_kwds,<br>
> 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 57, in<br>
> _load_one_plugin<br>
> 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension ep, invoke_on_load, invoke_args, invoke_kwds,<br>
> 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 101, in<br>
> _load_one_plugin<br>
> 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension plugin = ep.load()<br>
> 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<br>
> 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension if require: self.require(env, installer)<br>
> 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<br>
> 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))<br>
> 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<br>
> 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here<br>
> 2013-11-14 18:30:04.376 11553 TRACE stevedore.extension VersionConflict: (six 1.3.0 (/usr/lib/python2.7/dist-packages),<br>
> Requirement.parse('six>=1.4.1'))<br>
><br>
> Thanks!<br>
><br>
> Shixiong<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Thu, Nov 14, 2013 at 9:02 PM, Lu, Lianhao <<a href="mailto:lianhao.lu@intel.com" target="_blank">lianhao.lu@intel.com</a>> wrote:<br>
><br>
><br>
> Which version of six do you have? I think you at least need six 1.4.0<br>
><br>
> -Lianhao<br>
><br>
><br>
> > -----Original Message-----<br>
> > From: Shixiong Shang [mailto:<a href="mailto:sparkofwisdom.cloud@gmail.com" target="_blank">sparkofwisdom.cloud@gmail.com</a>]<br>
> > Sent: Friday, November 15, 2013 4:47 AM<br>
> > To: OpenStack Development Mailing List (not for usage questions)<br>
> > Subject: [openstack-dev] [Ceilometer] compute agent cannot start<br>
> ><br>
> > Hi, Guys:<br>
> ><br>
> > I am trying to run ceilometer agent on compute node, and it gave me the following traceback. I believe I hit this bug<br>
> > ("<a href="https://bugs.launchpad.net/nova/+bug/1244055" target="_blank">https://bugs.launchpad.net/nova/+bug/1244055</a>"). However, I would like to know whether there is any workaround?<br>
> ><br>
> ><br>
> > sudo python /usr/local/bin/ceilometer-agent-compute<br>
> > Traceback (most recent call last):<br>
> > File "/usr/local/bin/ceilometer-agent-compute", line 6, in <module><br>
> > from ceilometer.compute.manager import agent_compute<br>
> > File "/usr/local/lib/python2.7/dist-packages/ceilometer/compute/manager.py", line 22, in <module><br>
> > from ceilometer import agent<br>
> > File "/usr/local/lib/python2.7/dist-packages/ceilometer/agent.py", line 24, in <module><br>
> > from ceilometer import pipeline<br>
> > File "/usr/local/lib/python2.7/dist-packages/ceilometer/pipeline.py", line 28, in <module><br>
> > from ceilometer import publisher<br>
> > File "/usr/local/lib/python2.7/dist-packages/ceilometer/publisher/__init__.py", line 40, in <module><br>
> > @six.add_metaclass(abc.ABCMeta)<br>
> > AttributeError: 'module' object has no attribute 'add_metaclass'<br>
> ><br>
> ><br>
> > Thanks!<br>
> ><br>
> > Shixiong<br>
><br>
> > _______________________________________________<br>
> > OpenStack-dev mailing list<br>
> > <a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
> > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
><br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>