commit 035708c37d587e4c5ede7fe80270bdbff98016ac
Author: Matt Riedemann <email address hidden>
Date: Wed Oct 3 12:54:53 2018 -0400
Handle IndexError in _populate_neutron_binding_profile
This fixes the code that was blindly pop'ing an entry
from an empty list of PCI devices claimed by the instance.
It's not exactly clear how we can get into this situation,
presumably there was a failure in the actual PCI device
claim logic in the ResourceTracker - maybe related to the
configured PCI passthrough whitelist. Regardless, we should
handle the empty PCI device list in this method and raise
an appropriate exception to fail the build on this host.
Reviewed: https:/ /review. openstack. org/607650 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=035708c37d5 87e4c5ede7fe802 70bdbff98016ac
Committed: https:/
Submitter: Zuul
Branch: master
commit 035708c37d587e4 c5ede7fe80270bd bff98016ac
Author: Matt Riedemann <email address hidden>
Date: Wed Oct 3 12:54:53 2018 -0400
Handle IndexError in _populate_ neutron_ binding_ profile
This fixes the code that was blindly pop'ing an entry
from an empty list of PCI devices claimed by the instance.
It's not exactly clear how we can get into this situation,
presumably there was a failure in the actual PCI device
claim logic in the ResourceTracker - maybe related to the
configured PCI passthrough whitelist. Regardless, we should
handle the empty PCI device list in this method and raise
an appropriate exception to fail the build on this host.
Change-Id: I401bb74cf6e17c 2b72cc62bf8ec03 ec58238c44a
Closes-Bug: #1795064