← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1705446] [NEW] filter scheduler raises TypeError: argument of type 'NoneType' is not iterable when placement returns no allocation candidates

 

Public bug reported:

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/

** Affects: nova
     Importance: High
         Status: Confirmed


** Tags: placement 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/1705446

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

Status in OpenStack Compute (nova):
  Confirmed

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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1705446/+subscriptions


Follow ups