Sorry, forgot to include that:
bash-4.1$ nova —debug image-list
connect: (127.0.0.1, 5000)
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\r\nAccept-Encoding:
identity\r\nContent-Length: 101\r\ncontent-type: application/json\r\naccept:
application/json\r\nuser-agent: python-novaclient\r\n\r\n'
send: '{"auth": {"tenantName": "vmops", "passwordCredentials": {"username":
"penick", "password": "tacos"}}}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json
header: Vary: X-Auth-Token
header: Content-Length: 1903
header: Date: Thu, 10 May 2012 00:37:02 GMT
connect: (208.67.66.91, 8774)
send: u'GET /v2/c9d7f45d980d494fab3d69d9fc57547c/images/detail
HTTP/1.1\r\nHost: 208.67.66.91:8774\r\nx-auth-project-id:
vmops\r\nx-auth-token: 3261ef74e649456183bbbb0949780838\r\naccept-encoding:
compress, gzip\r\naccept: application/json\r\nuser-agent:
python-novaclient\r\n\r\n'
reply: 'HTTP/1.1 503 Service Unavailable\r\n'
header: Content-Length: 100
header: Content-Type: text/plain; charset=UTF-8
header: Date: Thu, 10 May 2012 00:37:02 GMT
DEBUG (shell:415) string indices must be integers, not str
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 412, in main
OpenStackComputeShell().main(sys.argv[1:])
File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 363, in main
args.func(self.cs, args)
File "/usr/lib/python2.6/site-packages/novaclient/v1_1/shell.py", line 350,
in do_image_list
image_list = cs.images.list()
File "/usr/lib/python2.6/site-packages/novaclient/v1_1/images.py", line 47,
in list
return self._list("/images/detail", "images")
File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 80, in _list
data = body[response_key]
TypeError: string indices must be integers, not str
ERROR: string indices must be integers, not str
bash-4.1$
From: Vishvananda Ishaya <[email protected]<mailto:[email protected]>>
To: James R Penick <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: Re: [Openstack] 'nova flavor-list' fails with "ERROR: string indices
must be integers, not str", but 'nova-manage flavor list' succeeds.
Is there a traceback from nova-api?
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp