Bug 1486076
| Summary: | Plugging VFs no longer works without a readable phys_switch_id | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Brent Eagles <beagles> |
| Component: | openstack-neutron | Assignee: | Brent Eagles <beagles> |
| Status: | CLOSED ERRATA | QA Contact: | Eran Kuris <ekuris> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 12.0 (Pike) | CC: | amuller, beagles, chrisw, jjoyce, jlibosva, jschluet, nyechiel, oblaut, slinaber, srevivo, tvignaud, yrachman |
| Target Milestone: | beta | Keywords: | AutomationBlocker, Triaged |
| Target Release: | 12.0 (Pike) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-neutron-11.0.1-0.20170923193224.5b0191f.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-13 21:58:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Brent Eagles
2017-08-28 23:49:08 UTC
Copied from Sean Mooney's comments on the u/s bug: This is cause by trying to use sriov passthorugh on a host that does not support hardware offload of ovs. the work around is to list the sriovnic agent before ovs in the ml2 conf. e.g. change /etc/neutron/plugins/ml2/ml2_conf.ini form [ml2] ... mechanism_drivers = openvswitch,sriovnicswitch to [ml2] ... mechanism_drivers = sriovnicswitch,openvswitch you might want to also make sure that supported_pci_vendor_devs in the ml2_sriov section does not contain the vendor id and product id of the vf used for ovs offload. this will ensure that the sriovnic agent will only manage interfaces that do not require ovs configuration. if you had a nic that supported ovs offload and it is enable then doing a pci pass through of the device without os-vif plugging the nic woudl resulst in a broken dataplane hence the reason from removing them from the supported_pci_vendor_devs. there is still a bug in os-vif here where we should first check the file exits before trying to use it so we should still harden the code. so lets keep this open to track that. A potential fix is being worked on: https://review.openstack.org/#/c/499203/ The intent is to require users who wish to use the OVS SR-IOV offload feature to include "--binding-profile '{"capabilities": ["switchdev"]}'" when creating the port. Without this, the ovs mechanism driver will not attempt to bind and we will get the original intended behavior. I am testing this in my environment at the moment but it would be great if we can also test this patch in the original environment where it was found. Would this be possible Yariv? I applied the key part of the patch on the test system and the VM plugged fine. The guest is failing to get its IP address at the moment, but that is a different issue. We'll need to get the upstream patch through the approval/merge process so we can backport to pike. Fix merged to master, Ihar is backporting to Pike. fix verified: openstack-neutron-11.0.2-0.20171020230401.el7ost.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:3462 |