user_id and tenant_id not returned in servers.detail
Bug #829668 reported by
Anthony Young
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Anthony Young |
Bug Description
At present, user_id and tenant_id are not returned in the servers.detail api. This is problematic because when a regular user accesses the servers api, all servers are returned for all users of a tenant, which makes it hard to tell who created what.
Similarly, when admin users access the api, all servers for all tenants are returned. Without server.tenant_id, administrators cannot sift through the server list very easily.
Related branches
lp:~cloudbuilders/nova/os-user_id-description
- Brian Waldon (community): Approve
- Vish Ishaya (community): Approve
- Chris Behrens (community): Approve
- Ben McGraw (community): Approve
- Ed Leafe (community): Approve
-
Diff: 284 lines (+67/-5)6 files modifiednova/api/openstack/schemas/v1.1/server.rng (+2/-0)
nova/api/openstack/servers.py (+3/-1)
nova/api/openstack/views/servers.py (+2/-0)
nova/compute/api.py (+1/-0)
nova/tests/api/openstack/contrib/test_createserverext.py (+2/-0)
nova/tests/api/openstack/test_servers.py (+57/-4)
Changed in nova: | |
assignee: | nobody → sleepsonthefloor (sleepsonthefloor) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → diablo-rbp |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | diablo-rbp → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.