Allow the other nic to allocate VMs post PCI-PT VM creation.
Let's say a compute node has got 2 network adapters
(em1 and em2) with its correspondent VFs configured.
If you start a VM with a direct-physical binding
it will take one of these NICs.
At that moment, SRIOV agent starts to show
ERROR messages including the "device dictionary"
completely empty.
In consequence, you cannot allocate VMs with VFs
even though there is still another NIC available.
Reviewed: https:/ /review. openstack. org/442088 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=ea95bf8af89 d384783b6a57ec4 bd6ddb4ad52716
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit ea95bf8af89d384 783b6a57ec4bd6d db4ad52716
Author: Manjunath Patil <email address hidden>
Date: Tue Sep 27 20:12:39 2016 +0530
Allow the other nic to allocate VMs post PCI-PT VM creation.
Let's say a compute node has got 2 network adapters
(em1 and em2) with its correspondent VFs configured.
If you start a VM with a direct-physical binding
it will take one of these NICs.
At that moment, SRIOV agent starts to show
ERROR messages including the "device dictionary"
completely empty.
In consequence, you cannot allocate VMs with VFs
even though there is still another NIC available.
Conflicts:
neutron/ tests/unit/ plugins/ ml2/drivers/ mech_sriov/ agent/test_ eswitch_ manager. py
Change-Id: I8bf0dd41f900b6 9e32fcd416690c0 89dde7989b9 778fb1442cd8f9d a59903ffdc)
Closes-Bug: #1616442
(cherry picked from commit 1bcdc299ba8ffbf