Keystone returns traceback for db backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Unassigned |
Bug Description
When I try to create project with same name as an already existing project:
curl -i -X 'POST' 'http://
I see:
Conflict: Conflict occurred attempting to store tenant. (IntegrityError) (1062, "Duplicate entry 'test-project' for key 'name'") 'INSERT INTO tenant (id, name, extra) VALUES (%s, %s, %s)' ('ae5bc5c8a9184
Maybe it is not a good thing to show client such an ugly and difficult to read message and it can looks better as:
Conflict: Conflict occurred attempting to store tenant. (IntegrityError) (1062, "Duplicate entry 'test-project' for key 'name'")
Changed in keystone: | |
milestone: | none → folsom-rc1 |
importance: | Undecided → High |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | folsom-rc1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/11712
Review: https:/