Cannot get ComputeNodeStat by DB utility of compute_node_get_all()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Joe Cropper |
Bug Description
When there is hypervisor gets removed, the compute_
In the following codes of compute_
# Join ComputeNode & ComputeNodeStat manually.
# NOTE(msdubov): ComputeNode and ComputeNodeStat map 1-to-Many.
# Running time is (asymptotically) optimal due to the use
# of iterators (itertools.
# iter() for ComputeNode) - we handle each record only once.
compute_
compute_
for nid, nsts in itertools.
for node in compute_nodes_iter:
if node['id'] == nid:
else:
return compute_nodes
We need enhance either nova conductor API to clean up all the record related with instance.
summary: |
Cannot get ComputeNodeStat by DB utility of compute_node_get_all() - cannot get() |
Changed in nova: | |
assignee: | nobody → Joe Cropper (jwcroppe) |
status: | New → In Progress |
description: | updated |
Changed in nova: | |
assignee: | Joe Cropper (jwcroppe) → nobody |
Changed in nova: | |
importance: | Undecided → Critical |
milestone: | none → havana-rc1 |
importance: | Critical → High |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-rc1 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/46379
Review: https:/