Reschedule after the late affinity check fails with "'NoneType' object is not iterable"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
melanie witt | ||
Newton |
Fix Committed
|
High
|
Matt Riedemann | ||
Ocata |
Fix Committed
|
High
|
Matt Riedemann | ||
Pike |
Fix Committed
|
High
|
Matt Riedemann |
Bug Description
Ran into this while hacking on something locally and running the server groups functional tests:
=======
Failed 1 tests - output below:
=======
nova.tests.
-------
Captured pythonlogging:
~~~~~~~
19:45:29,525 ERROR [nova.scheduler
19:45:29,526 WARNING [nova.scheduler
19:45:29,527 WARNING [nova.scheduler
Two instances are being booted simultaneously and both land on the same host, so the second one will fail the late affinity check and raise a RescheduledExce
In the past, code [2] was added 'group_members' to filter_properties to handle affinity and a more recent change removed most of it but missed 'group_members' [3]. So nothing is ever setting filter_
[1] https:/
[2] https:/
[3] https:/
Changed in nova: | |
assignee: | nobody → melanie witt (melwitt) |
Since https:/ /review. openstack. org/#/c/ 469037 was made in pike, this is a regression in the pike release.