Creating a region without request parameters failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Dave Chen |
Bug Description
Use Identity API v3 (CURRENT)
URL: http://
Issu: Creating a region failed when optional parameters are not specified.
"POST /v3/regions" has 3 parameters, which are "region", "description" and "parent_region_id".
"description" and "parent_region_id" are optional.
Although this API with only "region" parameter should succeed, it fails.
I confirmed this issue by the following command:
curl -s -X POST -H "X-Auth-Token: $TOKEN" -H "Content-type: application/json" http://
{
"error": {
"code": 400,
"message": "Expecting to find region in request body - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.",
"title": "Bad Request"
}
}
tags: | added: kilo-backport-potential liberty-backport-potential |
Changed in keystone: | |
assignee: | nobody → Dave Chen (wei-d-chen) |
Changed in keystone: | |
milestone: | mitaka-1 → mitaka-2 |
Changed in keystone: | |
assignee: | Dave Chen (wei-d-chen) → Steve Martinelli (stevemar) |
Changed in keystone: | |
assignee: | Steve Martinelli (stevemar) → Dave Chen (wei-d-chen) |
Changed in keystone: | |
assignee: | Dave Chen (wei-d-chen) → Steve Martinelli (stevemar) |
Changed in keystone: | |
assignee: | Steve Martinelli (stevemar) → Dave Chen (wei-d-chen) |
Changed in keystone: | |
assignee: | Dave Chen (wei-d-chen) → Brant Knudson (blk-u) |
Changed in keystone: | |
assignee: | Brant Knudson (blk-u) → Dave Chen (wei-d-chen) |
this looks like a bad request, it says it can't even find the region key in the payload