← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1083034] Re: Images pagination doesn't really work

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1083034

Title:
  Images pagination doesn't really work

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  If there are more images or snapshots than API_RESULT_PAGE_SIZE, the
  dashboard displays every image/snapshot except the last one. In this
  case, the 'next' button is always shown and when clicked it displays
  the last image (unless the last image is an aki/ami, then it displays
  an empty list).

  The tests assume that glanceclient.images.list() returns only
  API_RESULT_PAGE_SIZE results, but it actually returns an iterator that
  will return all existing images matching the query, so we need to
  carefully consume from it. The glanceclient pagination seems to be
  more like buffering.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1083034/+subscriptions