Ironic virt driver makes too many API calls for resource tracking
Bug #1357027 reported by
Jim Rollenhagen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Undecided
|
Jim Rollenhagen |
Bug Description
Current implementation of functions related to resource tracking query Ironic for all nodes, then makes an API request to Ironic for each node. This doesn't scale at all and should be reduced to one call in most cases.
Changed in ironic: | |
assignee: | nobody → Jim Rollenhagen (jim-rollenhagen) |
status: | New → In Progress |
Changed in ironic: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/108545 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=d799a29a5a4 f013aa457045dfe b6e91f9af611ff
Committed: https:/
Submitter: Jenkins
Branch: master
commit d799a29a5a4f013 aa457045dfeb6e9 1f9af611ff
Author: Chris Behrens <email address hidden>
Date: Fri Jul 11 13:49:01 2014 -0700
Query full node details and cache
Re-use this information to reduce a massive amount of queries to ironic
api to get info about individual nodes on the periodic task that syncs
resource usage.
Partial-Bug: 1357027
Change-Id: Ie6b6898297a6f2 346745c04a37d34 dbb647ff6e7