yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #20077
[Bug 1322639] Re: region creation API should not allow empty id
** Changed in: keystone
Status: Fix Committed => Fix Released
** Changed in: keystone
Milestone: None => juno-3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1322639
Title:
region creation API should not allow empty id
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
Actually, Keystone accepts to create a region with an empty ID in the request body, and creates a unreachable region, with no possibility to use, modify or delete them.
> curl -X POST -H "X-Auth-Token: *TOKEN*" -H 'Content-type: application/json' http://localhost:35357/v3/regions/ -d '{"region":{"id":""}}'
{"region": {"parent_region_id": null, "id": "", "links": {"self": "http://localhost:35357/v3/regions/"}, "description": ""}}
Instead, It should return a 400 Bad Request error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1322639/+subscriptions
References