v2 cli doesn't support passing a marker to image-list

Bug #1487086 reported by Kairat Kushaev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance Client
In Progress
Wishlist
Kairat Kushaev
Newton
New
Undecided
Unassigned
Ocata
New
Undecided
Unassigned

Bug Description

Imagine that a user(f.e admin) has 200 images.
If he requested first 100 images (with limit option) there is no way to review last 100 images.
To provide this possibility it would be useful to have --marker option that provides possibility to pass marker - the ID of the item on the last page.
glanceclient should output all images after that marker to the user.
It allows to review images page-by-page instead of reviewing big list of images that exceeds screen space.

Changed in glance:
assignee: nobody → Kairat Kushaev (kkushaev)
description: updated
Revision history for this message
Kairat Kushaev (kkushaev) wrote :
affects: glance → python-glanceclient
Changed in python-glanceclient:
status: New → In Progress
Changed in python-glanceclient:
importance: Undecided → Wishlist
status: In Progress → New
tags: added: spec-lite
description: updated
Revision history for this message
Flavio Percoco (flaper87) wrote :

How does the openstackclient do this? Can we follow a bit what has been done there?

I'm not opposed to this feature, I actually think it'd be useful to have it.

Revision history for this message
Kairat Kushaev (kkushaev) wrote :

openstack image list in openstackclient doesn't have --limit amd --marker options.
Just for curiosity I checked server list and baremetal list. They both have these options unlike cinder and keystone.
So it seems that there are different opinions on this but I think it would be useful for users (at least for admins).

summary: - Pagination doesn't work with v2 API image-list
+ v2 cli doesn't support passing a marker to image-list
Revision history for this message
Kairat Kushaev (kkushaev) wrote :

@Flavio,
any updates on this lite-spec?

tags: added: triaged
Changed in python-glanceclient:
status: New → Triaged
Changed in python-glanceclient:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-glanceclient (master)

Change abandoned by Kairat Kushaev (<email address hidden>) on branch: master
Review: https://review.openstack.org/217282

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.