null endpoints are not ignored by v3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Dolph Mathews |
Bug Description
The following command should create a single endpoint on v3 with a interface="public" and url="http://
$ keystone --debug --os-token=ADMIN --os-endpoint=http://
REQ: curl -i http://
REQ BODY: {"endpoint": {"adminurl": null, "service_id": "239ff97ce7a14e
RESP: [200] {'date': 'Fri, 08 Mar 2013 14:44:05 GMT', 'content-type': 'application/json', 'content-length': '204', 'vary': 'X-Auth-Token'}
RESP BODY: {"endpoint": {"adminurl": null, "region": "north", "internalurl": null, "service_id": "239ff97ce7a14e
+------
| Property | Value |
+------
| adminurl | |
| id | 8e4785365bb84db
| internalurl | |
| publicurl | http://
| region | north |
| service_id | 239ff97ce7a14e2
+------
Instead, v3 returns the expected endpoint with null 'internalurl' and 'adminurl' attributes.
GET http://
X-Auth-Token: ADMIN
200 OK
Status: 200
Content-Length: 1506
Content-Location: http://
Vary: X-Auth-Token
Date: Fri, 08 Mar 2013 14:47:20 GMT
Content-Type: application/json
{
"endpoints": [
...
{
"links": {
"self": "http://
},
"adminurl": null,
"region": "north",
"
"url": "http://
"id": "663d7b416f8947
"interface": "public",
"service_id": "239ff97ce7a14e
"
}
],
"links": {
"self": "http://
"next": null,
"previous": null
}
}
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | grizzly-rc1 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/24398
Review: https:/