euca-describe-instances is not optimized and takes 38 seconds for 700 VMs
Bug #1157437 reported by
Joe Gordon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Joe Gordon |
Bug Description
using Devstack (Grizzly-3) and nova SHA1 98f9f735d7e6ac3
and running as admin user.
euca-describe-
This is because s3_image_
block_device_
block_device_
aggregate_
get_ec2_
are called once per hose.
So for 700 VMs that is 4900 DB calls!
In comparison 'nova list' does 2 DB calls no matter how many VMs there are.
When running the same thing as demo user I get the same thing
description: | updated |
description: | updated |
tags: | added: grizzly-rc-potential |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
importance: | High → Medium |
Changed in nova: | |
milestone: | none → grizzly-rc2 |
Changed in nova: | |
milestone: | grizzly-rc2 → 2013.1 |
To post a comment you must log in.
Many of these db calls can be removed by using nova.openstack. common. memorycache via the same pattern as in nova/api/ metadata/ handler. py