yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39081
[Bug 1499271] [NEW] MetricsWeigher can return a NoneType exception
Public bug reported:
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
** Affects: nova
Importance: Critical
Assignee: Sylvain Bauza (sylvain-bauza)
Status: In Progress
** Tags: liberty-rc-potential low-hanging-fruit scheduler
--
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):
In Progress
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
Follow ups