V2 Endpoint creation with missing region returns 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Morgan Fainberg |
Bug Description
Keystone returns a 500 if optional attribute region is not passed in on endpoint creation.
Curl:
export SERVICE_ID=1234
export PUBLIC_URL='https:/
export ADMIN_URL='https:/
export INTERNAL_URL='https:/
#Create endpoint
curl -X POST $ENDPOINT/
Response:
< HTTP/1.1 500 Internal Server Error [264/1952]
< Vary: X-Auth-Token
< Content-Type: application/json
< Content-Length: 143
< X-Openstack-
< Date: Mon, 14 Mar 2016 21:24:48 GMT
<
{ [data not shown]
100 348 100 143 100 205 2097 3007 --:--:-- --:--:-- --:--:-- 3059
* Connection #0 to host 127.0.0.1 left intact
{
"error": {
"code": 500,
"message": "An unexpected error prevented the server from fulfilling your request.",
"title": "Internal Server Error"
}
}
Attempting to pop attribute that does not exist.
https:/
description: | updated |
summary: |
- Endpoint creation with missing region returns 500 + V2 Endpoint creation with missing region returns 500 |
Changed in keystone: | |
assignee: | nobody → Kanika Singh (kanikasingh-1490) |
Changed in keystone: | |
assignee: | Kanika Singh (kanikasingh-1490) → nobody |
assignee: | nobody → Kanika Singh (kanikasingh-1490) |
description: | updated |
Changed in keystone: | |
assignee: | nobody → Boris Bobrov (bbobrov) |
Changed in keystone: | |
assignee: | Boris Bobrov (bbobrov) → Morgan Fainberg (mdrnstm) |
Changed in keystone: | |
milestone: | none → ocata-3 |
logs ? curl request / response?