nova image-list can run slowly.
Bug #1279832 reported by
Tom Hancock
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Confirmed
|
Wishlist
|
Unassigned |
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.
Changed in nova: | |
importance: | Undecided → Wishlist |
Changed in python-glanceclient: | |
assignee: | nobody → vishwanath jayaraman (vishwanathj) |
Changed in python-glanceclient: | |
assignee: | vishwanath jayaraman (vishwanathj) → nobody |
Changed in python-glanceclient: | |
assignee: | nobody → Yossi Ovadia (jabadia) |
Changed in python-glanceclient: | |
assignee: | Yossi Ovadia (jabadia) → Shashwat Srivastava (shashwat-srivastava) |
Changed in python-glanceclient: | |
assignee: | Shashwat Srivastava (shashwat-srivastava) → nobody |
status: | In Progress → Confirmed |
To post a comment you must log in.
In my opinion I think the default of 20 in the python-glanceclient should be bumped from 20 to something more reasonable instead .