pagination-support-namespace-list

Bug #1381816 reported by Travis Tripp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Medium
Travis Tripp

Bug Description

The rest api metadefs/namespaces supports pagination using the parameters of limit, marker, sort_dir, & sort_key. However, the glance client isn't passing those parameters through (they come in as kwargs). This is preventing pagination from working properly in horizon.

http://127.0.0.1:9292/v2/metadefs/namespaces?limit=2&marker=OS::Compute::Quota&sort_dir=desc&sort_key=created_at

This is affecting Horizon support: https://review.openstack.org/#/c/104063/

Tags: metadef
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/128791

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/128791
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=9a4d8580e890c3c55c2d02904f5f6983bd06bd1c
Submitter: Jenkins
Branch: master

commit 9a4d8580e890c3c55c2d02904f5f6983bd06bd1c
Author: Travis Tripp <email address hidden>
Date: Wed Oct 15 17:46:54 2014 -0600

    Support Pagination for namespace list

    The rest api metadefs/namespaces supports pagination using the parameters
    of limit, marker, sort_dir, & sort_key. However, the glance client isn't
    passing those parameters through (they come in as kwargs). This is
    preventing pagination from working properly in horizon.

    This is affecting Horizon support: https://review.openstack.org/#/c/104063/

    Change-Id: Ib349cf3a3a437eb1711f350b37d0bd0e7d01330a
    Closes-Bug: 1381816

Changed in python-glanceclient:
status: In Progress → Fix Committed
Louis Taylor (kragniz)
Changed in python-glanceclient:
milestone: none → v0.15.0
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.