Public bug reported: 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:
https://github.com/openstack/nova/blob/f974e3c3566f379211d7fdc790d07b5680925584/nova/scheduler/filter_scheduler.py#L342 And the IndexError would happen here: https://github.com/openstack/nova/blob/f974e3c3566f379211d7fdc790d07b5680925584/nova/scheduler/filter_scheduler.py#L120 We obviously don't have a test covering this scenario. ** Affects: nova Importance: Medium Status: Triaged ** Tags: 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/1729445 Title: Potential IndexError if using the CachingScheduler and not getting alternates Status in OpenStack Compute (nova): Triaged 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: https://github.com/openstack/nova/blob/f974e3c3566f379211d7fdc790d07b5680925584/nova/scheduler/filter_scheduler.py#L342 And the IndexError would happen here: https://github.com/openstack/nova/blob/f974e3c3566f379211d7fdc790d07b5680925584/nova/scheduler/filter_scheduler.py#L120 We obviously don't have a test covering this scenario. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1729445/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

