yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39658
[Bug 1499271] Re: MetricsWeigher can return a NoneType exception
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1499271
Title:
MetricsWeigher can return a NoneType exception
Status in OpenStack Compute (nova):
Fix Released
Bug description:
If host_state.metrics is set to None, then calling the MetricsWeigher
returns:
File "/opt/stack/new/nova/nova/scheduler/weights/metrics.py", line 89, in _weigh_object
metrics_dict = {m.name: m for m in host_state.metrics}
TypeError: 'NoneType' object is not iterable
http://logs.openstack.org/05/226805/2/check/gate-ironic-inspector-
dsvm/5cd5071/logs/screen-n-cond.txt.gz?level=WARNING
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1499271/+subscriptions
References