大神们好 ,这个问题折腾一天 其他就好了就差这个了。
nova image-list 的时候报 500 错误,--debug 信息如下
1
文本如下:
DEBUG (session:195) REQ: curl -g -i -X GET http://controller:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:203) Starting new HTTP connection (1): controller
DEBUG (connectionpool:383) "GET /v3 HTTP/1.1" 200 250
DEBUG (session:224) RESP: [200] content-length: 250 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Wed, 28 Oct 2015 13:59:06 GMT content-type: application/json x-openstack-request-id: req-a0e39232-00bd-40bc-9a1e-c5ca1c182345
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://controller:35357/v3/", "rel": "self"}]}}
DEBUG (base:171) Making authentication request to http://controller:35357/v3/auth/tokens
DEBUG (connectionpool:383) "POST /v3/auth/tokens HTTP/1.1" 201 4015
DEBUG (iso8601:184) Parsed 2015-10-28T14:59:06.320168Z into {'tz_sign': None, 'second_fraction': u'320168', 'hour': u'14', 'daydash': u'28', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'06', 'tz_minute': None, 'year': u'2015', 'separator': u'T', 'monthdash': u'10', 'day': None, 'minute': u'59'} with default timezone <iso8601.iso8601.Utc object at 0x13fa550>
DEBUG (iso8601:140) Got u'2015' for 'year' with default None
DEBUG (iso8601:140) Got u'10' for 'monthdash' with default 1
DEBUG (iso8601:140) Got 10 for 'month' with default 10
DEBUG (iso8601:140) Got u'28' for 'daydash' with default 1
DEBUG (iso8601:140) Got 28 for 'day' with default 28
DEBUG (iso8601:140) Got u'14' for 'hour' with default None
DEBUG (iso8601:140) Got u'59' for 'minute' with default None
DEBUG (iso8601:140) Got u'06' for 'second' with default None
DEBUG (session:195) REQ: curl -g -i -X GET http://controller:8774/v2/0c7828c8154946c3b6b8f8ad92c09ac4/images/detail -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}470f62b1586ddbc895cb7c501a13397ef8bf3109"
INFO (connectionpool:203) Starting new HTTP connection (1): controller
DEBUG (connectionpool:383) "GET /v2/0c7828c8154946c3b6b8f8ad92c09ac4/images/detail HTTP/1.1" 500 128
DEBUG (session:224) RESP:
DEBUG (shell:914) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-fd2bfa2a-bce8-46b7-a832-c2aa8e326624)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 911, in main
OpenStackComputeShell().main(argv)
File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 838, in main
args.func(self.cs, args)
File "/usr/lib/python2.7/site-packages/novaclient/v2/shell.py", line 1091, in do_image_list
image_list = cs.images.list(limit=limit)
File "/usr/lib/python2.7/site-packages/novaclient/v2/images.py", line 69, in list
return self._list('/images%s%s' % (detail, query), 'images')
File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 64, in _list
_resp, body = self.api.client.get(url)
File "/usr/lib/python2.7/site-packages/keystoneclient/adapter.py", line 170, in get
return self.request(url, 'GET', **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 96, in request
raise exceptions.from_response(resp, body, url, method)
ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-fd2bfa2a-bce8-46b7-a832-c2aa8e326624)
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-fd2bfa2a-bce8-46b7-a832-c2aa8e326624)
|
|