commit 9642cd339f1f520569dfea49495fec79ad7a8195
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: I3d535e01ac31db7804347c3938c0d88a28ba67f5
Closes-Bug: #1648887
(cherry picked from commit 15564eb355657fcf2594d5060cb36f25e28bc0c9)
Reviewed: https:/ /review. openstack. org/409821 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=9642cd339f1 f520569dfea4949 5fec79ad7a8195
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 9642cd339f1f520 569dfea49495fec 79ad7a8195
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 f2594d5060cb36f 25e28bc0c9)
Closes-Bug: #1648887
(cherry picked from commit 15564eb355657fc