[openstack-dev] [Nova] Nova list can't return anything

Ben Nemec openstack at nemebean.com
Thu Jun 12 15:56:46 UTC 2014


Please do not cross-post questions between openstack and openstack-dev.
 This doesn't sound development-related, so the appropriate place for
this discussion is the openstack list.

Thanks.

-Ben

On 06/12/2014 03:52 AM, 严超 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
> 




More information about the OpenStack-dev mailing list