/v1.1 returns a 500 error
Bug #1166957 reported by
James Li
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
James Li |
Bug Description
Glance version Grizzly-rc1
curl -k -i -X GET https:/
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Content-Length: 0
Date: Tue, 09 Apr 2013 18:38:46 GMT
Connection: close
curl -k -i -X GET https:/
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 204
Date: Tue, 09 Apr 2013 18:47:16 GMT
{"images": [...]}
Changed in glance: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
A similar problem was reported in Nova:
https:/ /bugs.launchpad .net/nova/ +bug/865585
But after applying the patch, it seems not work perfectly for Glance, the following is the output of the functional test:
request: '/v1.1'
response: 127.0.0. 1:40738/ v1.1/v1/ ', 'date': 'Tue, 09 Apr 2013 18:42:25 GMT', 'content-type': 'text/plain; charset=utf8', 'x-openstack- request- id': 'req-54153ed3- db43-4323- 82d0-5e96b8f1d0 cb'}
{'status': '302', 'content-length': '0', 'location': 'http://
I got a duplicate version string as '/v1.1/v1/'. Working on a patch for that now.