filter scheduler raises TypeError: argument of type 'NoneType' is not iterable when placement returns no allocation candidates

Bug #1705446 reported by Balazs Gibizer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
High
Balazs Gibizer

Bug Description

Building on top of the 'claim resources in placement API during schedule()' patch series [1] I tried to consume every resources available. When the placement API return no allocation candidates as there is no resources left the scheduler/manager blows up with a stack trace [2].

It seems that problem is introduces in [3]. The effect is not severe as the exception fails the scheduling which is the expected behavior when there is no resources left.

[1] https://review.openstack.org/#/c/483566
[2] http://paste.openstack.org/show/616000/
[3] https://review.openstack.org/#/c/483565/

Chris Dent (cdent)
Changed in nova:
status: New → Confirmed
importance: Undecided → High
tags: added: placement scheduler
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/485585

Changed in nova:
assignee: nobody → Balazs Gibizer (balazs-gibizer)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Balazs Gibizer (<email address hidden>) on branch: master
Review: https://review.openstack.org/485585
Reason: Let's fix it in https://review.openstack.org/#/c/483566/

Revision history for this message
Matt Riedemann (mriedem) wrote :

I'm going to mark this as invalid given it's a bug against an in-review change, so we'll get it fixed in:

https://review.openstack.org/#/c/483566/

Changed in nova:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.