← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1444056] [NEW] v1 client may truncate listings

 

Public bug reported:


If I set  api_limit_max = 10 in glance-api.conf:

and I have 71 images and list them with v2 I see all of them:


$ glance --os-image-api-version 2 image-list --page-size 80 | wc
     71     283    5325

Each response from the server correctly contains only 10 images.


If I set:

glance-registry.conf
 api_limit_max = 10

and list:

$ glance --os-image-api-version 1 image-list --page-size 80 | wc
     14     138    1358

the number of images returned is truncated.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1444056

Title:
  v1 client may truncate listings

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:

  If I set  api_limit_max = 10 in glance-api.conf:

  and I have 71 images and list them with v2 I see all of them:

  
  $ glance --os-image-api-version 2 image-list --page-size 80 | wc
       71     283    5325

  Each response from the server correctly contains only 10 images.

  
  If I set:

  glance-registry.conf
   api_limit_max = 10

  and list:

  $ glance --os-image-api-version 1 image-list --page-size 80 | wc
       14     138    1358

  the number of images returned is truncated.

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


Follow ups

References