yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10514
[Bug 1279832] Re: nova image-list can run slowly.
The default page size is set in glanceclient so I'm moving this issue
over to that project.
** Project changed: nova => python-glanceclient
--
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 Python client library for Glance:
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/python-glanceclient/+bug/1279832/+subscriptions
References