MetricsWeigher can return a NoneType exception
Bug #1499271 reported by
Sylvain Bauza
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Critical
|
Sylvain Bauza |
Bug Description
If host_state.metrics is set to None, then calling the MetricsWeigher returns:
File "/opt/stack/
metrics_dict = {m.name: m for m in host_state.metrics}
TypeError: 'NoneType' object is not iterable
Changed in nova: | |
milestone: | none → liberty-rc2 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-rc2 → 12.0.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/227199
Review: https:/