volumev2 pagination tempest test fails

Bug #1646523 reported by Wjdan Alharthi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mix and Match (mixmatch)
Fix Released
Undecided
Wjdan Alharthi

Bug Description

Glance and Cinder's pagination is different. The current pagination setup in services.py works with Glance only and we need to add a case for Cinder and add a test for it.

The difference between is two is that, Glance saves the url for the next image under a new key called 'next', but Cinder saves the url for the next volume it in a new key called 'volumes_links' which is a list that contains 'href' : <next_url> and 'rel' : 'next'

Changed in mixmatch:
assignee: nobody → Wjdan Alharthi (walharth)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mixmatch (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mixmatch (master)

Reviewed: https://review.openstack.org/406357
Committed: https://git.openstack.org/cgit/openstack/mixmatch/commit/?id=12a27eac339d789401f09cacd04d2cf1b1344d89
Submitter: Jenkins
Branch: master

commit 12a27eac339d789401f09cacd04d2cf1b1344d89
Author: wjdan.alharthi <email address hidden>
Date: Fri Dec 2 19:23:41 2016 +0000

    Fix for Volumev2 Pagination

    Constrcuted volume pagination properly with 'volumes_links' in
    services.py aggregate function. Used extra parameters and changed
    the tests accordingly. Added a test for volumes pagination.

    Change-Id: I3755b11a274aa66fe3096233cb161ca41080464c
    Closes-bug: 1646523

Changed in mixmatch:
status: In Progress → 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.