← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1279832] [NEW] nova image-list can run slowly.

 

Public bug reported:

$nova image-list can often run very slowly (or any image listing done from nova) due to the fact that
when it calls into glanceclient it typically doesn't specify a page_size and so glanceclient uses its default of 20.
For larger lists of images (eg. if there were lots of snapshots, or if there were a lot of public images) this
results in a succession of queries from nova to the glance api server (and on to the database via registry)
for a small amount of images at a time, when a single request could often return many more or all images.
For 1000 images the hit is 50X, and so forth.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  nova image-list can run slowly.

Status in OpenStack Compute (Nova):
  New

Bug description:
  $nova image-list can often run very slowly (or any image listing done from nova) due to the fact that
  when it calls into glanceclient it typically doesn't specify a page_size and so glanceclient uses its default of 20.
  For larger lists of images (eg. if there were lots of snapshots, or if there were a lot of public images) this
  results in a succession of queries from nova to the glance api server (and on to the database via registry)
  for a small amount of images at a time, when a single request could often return many more or all images.
  For 1000 images the hit is 50X, and so forth.

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


Follow ups

References