XenAPI get_all_bw_usage using name-label to ingore control domain
Bug #920588 reported by
Rick Harris
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Rick Harris |
Bug Description
This method works (for now), but the vm_record contains an attribute called 'is_control_domain' which would be better to use for this purpose.
if name.startswith
continue
should be
if vm_rec[
continue
While we're at it, we probably want to ignore template VMs as well so, it probably should be:
# see VMHelper.list_vms
if vm_rec[
continue
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
status: | New → Triaged |
Changed in nova: | |
assignee: | nobody → Rick Harris (rconradharris) |
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/3639
Review: https:/