[Openstack] [openstack-dev] [Nova] Nova list can't return anything
Aaron Rosen
aaronorosen at gmail.com
Thu Jun 12 20:04:53 UTC 2014
Hi,
Can you try the latest python-novaclient and see if you are still hitting
this issue? I vaguely remember seeing this bug at one time as well and it
getting fixed.
Aaron
On Thu, Jun 12, 2014 at 1:52 AM, 严超 <yanchao727 at gmail.com> wrote:
> 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>--------------*
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140612/c8aaba6e/attachment.html>
More information about the Openstack
mailing list