Include owner in v2 image list

Bug #1381514 reported by Stuart McLaren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Medium
Cindy Pallares

Bug Description

An admin user, using the v2 api, can list all images including ones s/he does not own.

However, the owner of the images are not displayed in the listing.

glance$ glance --os-image-api-version 2 image-list
+--------------------------------------+---------------------------------+
| ID | Name |
+--------------------------------------+---------------------------------+
| 39c45a3f-c47d-4b85-a90f-70cb0bf3e58f | x1 |
| 5b84539f-eba2-4081-b4d8-2d478081d5b6 | x1 |
| 4260f065-a7e9-46f8-9c24-a6580fbb42c9 | x1 |
| f863cfe7-bc07-4b92-ae78-8eccd6b5ed3a | x1 |
| 09947c26-e3fb-4a08-85d8-8b81fa1fd882 | x1 |
| a94adaa8-cd85-48a2-9495-79ef44ce0d67 | x1 |
| a5644b28-e472-4251-a47b-dd6a3ba55e4f | x1 |
| af644551-28d7-4870-99fc-ab0dd94de835 | x1 |

maybe if the --verbose option is specified owner and some other attributes could be displayed also.

Changed in python-glanceclient:
assignee: nobody → Cindy Pallares (cindy-pallaresq)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/184962

Changed in python-glanceclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/184962
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=6cb26fc2bf73759d0b88b12288d93797b2618448
Submitter: Jenkins
Branch: master

commit 6cb26fc2bf73759d0b88b12288d93797b2618448
Author: Cindy Pallares <email address hidden>
Date: Fri May 22 01:19:43 2015 -0500

    Include owner and status option in v2 image list

    Show the owner and status information when adding -v or --verbose
    to the image-list command.

    Closes-bug: #1381514
    Change-Id: I90bf622147b12ed157072fad0823af58223caf91

Changed in python-glanceclient:
status: In Progress → Fix Committed
Changed in python-glanceclient:
milestone: none → 0.19.0
importance: Undecided → Medium
Changed in python-glanceclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.