yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08614
[Bug 1261976] Re: create tenant with no enabled field doesn't set it automatically to True
** Changed in: keystone
Status: Fix Committed => Fix Released
** Changed in: keystone
Milestone: None => icehouse-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1261976
Title:
create tenant with no enabled field doesn't set it automatically to
True
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
If an HTTP request to create a tenant doesn't contain the "enabled"
field like this:
$ curl -i -X POST http://127.0.0.1:35357/v2.0/tenants -H "User-
Agent: python-keystoneclient" -H "Content-Type: application/json" -H
"X-Auth-Token: <some-token>" -d '{"tenant": {"name": "test"}}'
Result is this:
{"tenant": {"description": null, "id":
"3e82042c15f7423d8e032bad31c6ba5f", "name": "test"}}
While the expected result is to have enabled by default set to True:
{"tenant": {"description": null, "id":
"3e82042c15f7423d8e032bad31c6ba5f", "name": "test", "enabled": true}}
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1261976/+subscriptions
References