← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1261976] Re: create tenant with no enabled field doesn't set it automatically to True

 

** Changed in: keystone/havana
       Status: In Progress => Won't Fix

-- 
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
Status in Keystone havana series:
  Won't Fix

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