Dhcp db interaction is horribly inefficient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Vish Ishaya |
Bug Description
In linux_net:
Ultimately this code needs to be refactored to just send in the relevant information to linux_net The information seems to be:
network_id
instance_hostname
instance_host
fixed_ip_address
vif_address
instance_id (could probably use hostname in place of this)
This is too large of a change for essex though so I think we need something like the following:
a) use joins to load the instance and vif in the db.network_
b) optionally pass in a host parameter to filter the query
Changed in nova: | |
assignee: | Brian Waldon (bcwaldon) → Vish Ishaya (vishvananda) |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
The included patch is what the interface should look like. Underlying query needs to be written.