[Openstack] keystone 2011-3 with python-novaclient 2.6.4 issue

Vijay vijayrg at yahoo.com
Tue Mar 20 17:53:47 UTC 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120320/9c49b320/attachment.html>


More information about the Openstack mailing list