DescribeVolume returns owner as the user that created the volume, but not the project
Bug #732924 reported by
Ryan Lane
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Ryan Lane |
Bug Description
An example:
[status] => in-use (testuser, nova-compute2, i-00000002[
This makes it difficult to figure out which project a particular volume is associated with. Instances, on the other hand specifically return a project as the owner (in a separate attribute at that):
[ownerId] => testproject
Similarly, addresses also report the project as an owner:
[instanceId] => i-00000002 (testproject)
It would be useful for volumes to return the owner as the project instead of the user. Alternatively, adding the project instead of replacing the user would work.
It would really be ideal for all resources to return an owner attribute, with the project as the value.
Related branches
lp:~justin-fathomdb/nova/ec2-filters
On hold
for merging
into
lp:~hudson-openstack/nova/trunk
- Nova Core security contacts: Pending requested
- Devin Carlen: Pending requested
-
Diff: 417 lines (+270/-10)7 files modifiednova/api/ec2/apirequest.py (+7/-4)
nova/api/ec2/cloud.py (+27/-2)
nova/api/predicates.py (+133/-0)
nova/db/api.py (+5/-0)
nova/db/sqlalchemy/api.py (+49/-0)
nova/tests/test_cloud.py (+39/-0)
nova/volume/api.py (+10/-4)
lp:~rlane/nova/lp732924
- Jay Pipes (community): Approve
- Vish Ishaya (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiednova/api/ec2/cloud.py (+1/-1)
Changed in nova: | |
assignee: | nobody → Ryan Lane (rlane) |
importance: | Undecided → Low |
status: | New → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.