yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43596
[Bug 1199652] Re: Validation of paramater "enabled" during Create Project(tenant)
this should be fixed by the schema validator now:
https://github.com/openstack/keystone/blob/master/keystone/resource/schema.py
** Changed in: keystone
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1199652
Title:
Validation of paramater "enabled" during Create Project(tenant)
Status in OpenStack Identity (keystone):
Invalid
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