← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1199652] Re: Validation of paramater "enabled" during Create Project(tenant)

 

[Expired for Keystone because there has been no activity for 60 days.]

** Changed in: keystone
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1199652

Title:
  Validation of paramater "enabled" during Create Project(tenant)

Status in OpenStack Identity (Keystone):
  Expired

Bug description:
  When create a project(tenant) by JSON / HTTP API,the paramater
  "enabled" should be validated.This paramater can be assigned a int
  value( like "5"),rather than a bool value. But,if we assign "5" to
  "enabled", the API "List Tenant"(CLI command "keystone tenant-
  list",REST request "List tenants") will be unavailable.It fails with a
  500 error:

  {
      "error": {
          "message": "An unexpected error prevented the server from fulfilling your request. int_to_boolean only accepts None, 0 or 1",
          "code": 500,
          "title": "Internal Server Error"
      }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1199652/+subscriptions