Potential IndexError if using the CachingScheduler and not getting alternates
Bug #1729445 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Ed Leafe |
Bug Description
If we're using the CachingScheduler and we're not getting alternates, maybe because conductor is old, we'll get an IndexError because we're not returning a list of list of selected hosts, we're just returning a list of selected hosts here:
And the IndexError would happen here:
We obviously don't have a test covering this scenario.
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Ed Leafe (ed-leafe) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/517134
Review: https:/