[openstack-dev] [Nova] Nova list can't return anything
严超
yanchao727 at gmail.com
Thu Jun 12 08:52:08 UTC 2014
Hi, All:
I print *"nova --debug list "*, and got nothing return, how can
that be ?
RESP: [200] CaseInsensitiveDict({'date': 'Thu, 12 Jun 2014 08:52:19 GMT',
'content-length': '0', 'content-type': 'text/html; charset=UTF-8'})
RESP BODY:
*********************************body*******************************
None
*********************************body*******************************
DEBUG (shell:792) 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "/opt/stack/python-novaclient/novaclient/shell.py", line 789, in main
OpenStackComputeShell().main(argv)
File "/opt/stack/python-novaclient/novaclient/shell.py", line 724, in main
args.func(self.cs, args)
File "/opt/stack/python-novaclient/novaclient/v1_1/shell.py", line 1129,
in do_list
search_opts=search_opts)
File "/opt/stack/python-novaclient/novaclient/v1_1/servers.py", line 591,
in list
return self._list("/servers%s%s" % (detail, query_string), "servers")
File "/opt/stack/python-novaclient/novaclient/base.py", line 72, in _list
data = body[response_key]
TypeError: 'NoneType' object has no attribute '__getitem__'
ERROR (TypeError): 'NoneType' object has no attribute '__getitem__'
*Best Regards!*
*Chao Yan--------------**My twitter:Andy Yan @yanchao727
<https://twitter.com/yanchao727>*
*My Weibo:http://weibo.com/herewearenow
<http://weibo.com/herewearenow>--------------*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140612/0c9bea77/attachment.html>
More information about the OpenStack-dev
mailing list