GET /tenants returning auto-inc PK for admins
Bug #905604 reported by
Dolph Mathews
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Critical
|
Dolph Mathews |
Bug Description
Calling GET /tenants for an admin token is returning the old SQL auto-incremented primary keys instead of the new UUID values, like the rest of the API returns.
The response looks like this:
{
"tenants_
"tenants": [
{
"name": "project-y",
"id": "3"
}
]
}
Instead of:
{
"tenants_
"tenants": [
{
"name": "project-y",
"id": "05e8aaffd42b45
}
]
}
Applies to both JSON and XML responses.
Changed in keystone: | |
status: | New → In Progress |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | essex-3 → 2012.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/2440 github. com/openstack/ keystone/ commit/ 23383b2aeb23b9c a686a49928913c0 ef695e11b1
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit 23383b2aeb23b9c a686a49928913c0 ef695e11b1
Author: Dolph Mathews <email address hidden>
Date: Fri Dec 16 21:32:09 2011 -0600
Tenants - asserted all the things (bug 887844)
- Fixed: GET /tenants returning backend ID instead of UID
(post-e2 bug 905604)
- Added LDAP backend test
Change-Id: I37f3441c769a7c e6f7a16eb39c4a0 d848aa8d404