yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #34143
[Bug 1426496] Re: Create project with invalid domain_id
** Changed in: keystone
Status: Fix Committed => Fix Released
** Changed in: keystone
Milestone: None => liberty-1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1426496
Title:
Create project with invalid domain_id
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
Right now it is possible to create a project with an invalid domain_id
(we do not check if the domain_id exists in the create_project method)
if we are using engines that not support foreign keys, such as
sqllite:
https://github.com/openstack/keystone/blob/master/keystone/resource/core.py#L87-L116
If we are using engines that support foreign keys, the error returned
is not really helpfull:
{
"error": {
"code": 500,
"message": "An unexpected error occurred when trying to store project (Disable debug mode to suppress these details.)",
"title": "Internal Server Error"
}
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1426496/+subscriptions
References