Reviewed: https://review.openstack.org/269191 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=abcb26c121c7643201079121ca98266079edb8b8 Submitter: Jenkins Branch: master
commit abcb26c121c7643201079121ca98266079edb8b8 Author: Nikola Dipanov <ndipa...@redhat.com> Date: Tue Jan 19 13:49:47 2016 +0000 Make sure that we always have a parent_addr set Since enabling PF tracking in the following commit: 50355c4595e08f293f610da32247e405b20c1c5b we expect all of the PciDevice objects to have a parent_addr field set since we use it for matching in case the (miss-)feature of allowing to specify a PF address to enable all VFs was used in the whitelist. This caused a lazy-load on the object which always fails, so this patch makes sure that 'parent_addr' field is set to None on the object even if it was not passed in by the driver. Closes-bug: #1535367 Change-Id: I0ed8dd0702287859f7809a1a1a87dafe168d6e9b ** Changed in: nova Status: In Progress => Fix Released -- 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/1535367 Title: Failure on SR-IOV . Missing 'parent_addr Status in OpenStack Compute (nova): Fix Released Bug description: Mellanox CI fails on SR-IOV hardware 1. Running nova from master commit ffa07781ab47baf096854cd6c22a3e433eab3f0d 2. Full logs http://144.76.193.39/ci-artifacts/269109/1/Nova-ML2-Sriov/ 3. Reproduce: ./stack.sh neutron port-create --binding:vnic_type=direct private nova boot --flavor m1.small --image mellanox_eth --nic port-id=<port_id> vm1 4. port binding fails nova fails to find appropriate host To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1535367/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp