501 Not Implemented response missing "title" attribute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Dolph Mathews |
Bug Description
501 responses from keystone are missing the error message title attribute, useful for GUI's. In addition, the HTTP status code returned by keystone appears as "501 None" instead of "501 Not Implemented".
Notice the error title attribute appears as "null" in the JSON response:
$ curl -H 'X-Auth-Token: ADMIN' http://
{"error": {"message": "The action you have requested has not been implemented.", "code": 501, "title": null}}
XML response appears similarly:
$ curl -H 'X-Auth-Token: ADMIN' -H 'Accept: application/xml' http://
<?xml version="1.0" encoding="UTF-8"?>
<error xmlns="http://
And the headers returned by keystone appears as "HTTP/1.1 501 None":
$ curl -H 'X-Auth-Token: ADMIN' http://
[...]
< HTTP/1.1 501 None
< Content-Type: application/json
< Vary: X-Auth-Token
< Content-Length: 109
< Date: Mon, 30 Apr 2012 12:56:47 GMT
[...]
The client does not utilize this attribute (AFAIK), so it's not reproducible there:
$ keystone --token=ADMIN --endpoint=http://
The action you have requested has not been implemented. (HTTP 501)
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | folsom-1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/6924
Review: https:/