[Openstack] [Neutron] Which is correct version of python-neutronclient for Neutron 2013.2.2

Yitao Jiang willierjyt at gmail.com
Tue Apr 1 17:06:54 UTC 2014


Hi,stackers

I installed neutron 2013.2.2 on a dedicated networking node from source
code which downloaded from https://launchpad.net/neutron/havana/2013.2.2,
and then  forked the python-neutronclient from github, but i don't know
which virsion of neutronclient should i install, i tried 2.3.4 when i run
neutron net-list , the command failed with
Could not load 'table': six
six
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/stevedore/extension.py", line 134,
in _load_plugins
    invoke_kwds,
  File "/usr/lib/python2.6/site-packages/stevedore/extension.py", line 146,
in _load_one_plugin
    plugin = ep.load()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1947, in
load
    if require: self.require(env, installer)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1960, in
require
    working_set.resolve(self.dist.requires(self.extras),env,installer))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in
resolve
    raise DistributionNotFound(req)
DistributionNotFound: six
Could not load 'csv': six
six
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/stevedore/extension.py", line 134,
in _load_plugins
    invoke_kwds,
  File "/usr/lib/python2.6/site-packages/stevedore/extension.py", line 146,
in _load_one_plugin
    plugin = ep.load()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1947, in
load
    if require: self.require(env, installer)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1960, in
require
    working_set.resolve(self.dist.requires(self.extras),env,installer))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in
resolve
    raise DistributionNotFound(req)
DistributionNotFound: six
list index out of range

But curl works fine.
 curl -H 'X-Auth-Token: 47aa647612034481a23a44a8c0374084'
http://neutron.willier.com:9696/v2.0/networks | python -mjson.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                 Dload  Upload   Total   Spent    Left
 Speed
  0    16    0    16    0     0     27      0 --:--:-- --:--:-- --:--:--
 27
{
    "networks": []
}
,So i guesed may be got wrong client version.

Any information will be welcome.

BTW, i'm sure that six has installed.
#pip list | grep six
six (1.5.2)

Thanks,

Yitao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140402/7dc6779e/attachment.html>


More information about the Openstack mailing list