← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1223036] Re: creating project in invalid domain raises SQL exception

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

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

Title:
  creating project in invalid domain raises SQL exception

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  V3 API

  export KEYSTONE_TOKEN=`keystone token-get | awk '/ id / { print $4}'`

  
  curl -H "X-Auth-Token:$KEYSTONE_TOKEN" -d  '{"project":{"domain_id":"invalid-domain", "name":"projectY"}}' -H "Content-Type: application/json"   http://localhost:35357/v3/projects


  {"error": {"message": "Conflict occurred attempting to store project.
  (1452, 'Cannot add or update a child row: a foreign key constraint
  fails (`keystone`.`project`, CONSTRAINT `project_ibfk_1` FOREIGN KEY
  (`domain_id`) REFERENCES `domain` (`id`))')", "code": 409, "title":
  "Conflict"}}(.venv)[ayoung@ayoung530 keystone

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