nova --debug image-list

  1. 云栖社区>
  2. 博客>
  3. 正文

nova --debug image-list

cloud_ruiy 2016-01-29 16:33:00 浏览774
展开阅读全文
 nova --debug image-list
DEBUG (session:198) REQ: curl -g -i -X GET http://liberty-aio:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:205) Starting new HTTP connection (1): liberty-aio
DEBUG (connectionpool:385) "GET /v3 HTTP/1.1" 200 251
DEBUG (session:215) RESP: [200] Content-Length: 251 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Date: Fri, 29 Jan 2016 08:24:37 GMT x-openstack-request-id: req-3a756bc8-e14f-45fb-a9c2-69673b22ee36 Content-Type: application/json X-Distribution: Ubuntu
RESP BODY: {"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://liberty-aio:35357/v3/", "rel": "self"}]}}

DEBUG (base:188) Making authentication request to http://liberty-aio:35357/v3/auth/tokens
DEBUG (connectionpool:385) "POST /v3/auth/tokens HTTP/1.1" 201 2266
DEBUG (session:198) REQ: curl -g -i -X GET http://liberty-aio:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}ad3b5ff2c641645731b0c899308648239fbcb5e6"
INFO (connectionpool:205) Starting new HTTP connection (1): liberty-aio
DEBUG (connectionpool:385) "GET /v2/ HTTP/1.1" 200 376
DEBUG (session:215) RESP: [200] Date: Fri, 29 Jan 2016 08:24:37 GMT Connection: keep-alive Content-Type: application/json Content-Length: 376 X-Compute-Request-Id: req-b549f38e-2b68-4b04-8ab9-d4634fac981d
RESP BODY: {"version": {"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://liberty-aio:8774/v2/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}

DEBUG (session:198) REQ: curl -g -i -X GET http://liberty-aio:8774/v2/54cc049ae72445c2b903a19ccda0857b/images/detail -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}ad3b5ff2c641645731b0c899308648239fbcb5e6"
DEBUG (connectionpool:385) "GET /v2/54cc049ae72445c2b903a19ccda0857b/images/detail HTTP/1.1" 500 214
DEBUG (session:215) RESP: [500] Date: Fri, 29 Jan 2016 08:28:46 GMT Connection: keep-alive Content-Type: application/json; charset=UTF-8 Content-Length: 214 X-Compute-Request-Id: req-fa881fc0-a933-4c57-a028-af2c379b181d
RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'glanceclient.exc.HTTPInternalServerError'>", "code": 500}}

DEBUG (shell:905) Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'glanceclient.exc.HTTPInternalServerError'> (HTTP 500) (Request-ID: req-fa881fc0-a933-4c57-a028-af2c379b181d)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 903, in main
    OpenStackComputeShell().main(argv)
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 830, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 1115, in do_image_list
    image_list = cs.images.list(limit=limit)
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/images.py", line 74, in list
    return self._list('/images%s%s' % (detail, query), 'images')
  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 72, in _list
    _resp, body = self.api.client.get(url)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 170, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 93, in request
    raise exceptions.from_response(resp, body, url, method)
ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'glanceclient.exc.HTTPInternalServerError'> (HTTP 500) (Request-ID: req-fa881fc0-a933-4c57-a028-af2c379b181d)
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'glanceclient.exc.HTTPInternalServerError'> (HTTP 500) (Request-ID: req-fa881fc0-a933-4c57-a028-af2c379b181d)

 

网友评论

登录后评论
0/500
评论
cloud_ruiy
+ 关注