commit 15564eb355657fcf2594d5060cb36f25e28bc0c9
Author: Dan Smith <email address hidden>
Date: Fri Dec 9 13:23:44 2016 -0800
Fix crashing during guest config with pci_devices=None
The Instance.pci_devices field is nullable, but the get_instance_pci_devs()
function does not account for that. If it is passed an instance (from an
older deployment) with no pci_devices, it will crash trying to iterate
None as a list.
Reviewed: https:/ /review. openstack. org/409338 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=15564eb3556 57fcf2594d5060c b36f25e28bc0c9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 15564eb355657fc f2594d5060cb36f 25e28bc0c9
Author: Dan Smith <email address hidden>
Date: Fri Dec 9 13:23:44 2016 -0800
Fix crashing during guest config with pci_devices=None
The Instance. pci_devices field is nullable, but the get_instance_ pci_devs( )
function does not account for that. If it is passed an instance (from an
older deployment) with no pci_devices, it will crash trying to iterate
None as a list.
Change-Id: I3d535e01ac31db 7804347c3938c0d 88a28ba67f5
Closes-Bug: #1648887