glance /v1.0/images does not return reasonable results
Bug #1258342 reported by
Scott Devoid
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Medium
|
Unassigned |
Bug Description
This may not be a bug, per se. What is returned from the basic GET request of "v1/images/detail" does not make sense.
Glance appears to only query for public images. [1] Indeed, adding a "&is_public=False" results in private images being shown. However, in this case it shows *all* private images, not just the images that are part of my tenant. Furthermore, I would expect the basic query to return images for which either (a) my tenant has access to or (b) I personally have access to. Neither of these cases appear to be queried in the default request.
Changed in glance: | |
status: | New → Confirmed |
Changed in glance: | |
importance: | Undecided → Critical |
To post a comment you must log in.
For anyone looking at this, the expected v1 behaviour is documented here:
http:// docs.openstack. org/developer/ glance/ glanceapi. html (search for is_public=PUBLIC)
and note that " Use of the is_public parameter is restricted to admin users. For all other users it will be ignored.".
Scott, can you describe your installation? What release are you running? Do you have keystone enabled etc? Can you reproduce this on devstack? Thanks.