← Back to team overview

openstack team mailing list archive

keystone 2011-3 with python-novaclient 2.6.4 issue

 

Hello,
I am using python-novaclient 2.6.4 with Keystone 2011.3 version.
I am getting the following error:
 
 nova --debug list
('JAY BELTUR \n', 'http://16.78.118.156:5000/tokens')
connect: (16.78.118.156, 5000)
send: 'POST /tokens HTTP/1.1\r\nHost: 16.78.118.156:5000\r\nContent-Length: 103\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: python-novaclient\r\n\r\n{"auth": {"passwordCredentials": {"username": "adminUser", "password": "secretword"}, "tenantId": "2"}}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json; charset=UTF-8
header: Content-Length: 946
header: Date: Tue, 20 Mar 2012 17:52:03 GMT
Traceback (most recent call last):
  File "/usr/bin/nova", line 9, in <module>
    load_entry_point('python-novaclient==2.6.4', 'console_scripts', 'nova')()
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 219, in main
    OpenStackComputeShell().main(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 176, in main
    self.cs.authenticate()
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/client.py", line 61, in authenticate
    self.client.authenticate()
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 149, in authenticate
    auth_url = self._v2_auth(auth_url)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 200, in _v2_auth
    service_catalog.ServiceCatalog(body)
  File "/usr/lib/python2.7/dist-packages/novaclient/service_catalog.py", line 91, in __init__
    super(ServiceCatalog, self).__init__(resource)
  File "/usr/lib/python2.7/dist-packages/novaclient/service_catalog.py", line 43, in __init__
    for attr, val in res_value.items():
AttributeError: 'list' object has no attribute 'items'

Thanks,
-VJ