neutron-sriov-agent failing to start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-ovn-chassis |
Fix Released
|
High
|
Unassigned |
Bug Description
SR-IOV charm configures only OVN SR-IOV mechanism driver which requires capability=
This driver requires switchdev mode for port types direct (SR-IOV VF PT) and direct-physical (PF PT):
/usr/lib/
EXTERNAL_PORT_TYPES = (portbindings.
/usr/lib/
if (vnic_type in ovn_const.
return
However x710 driver in 4.15 and 5.4.0-52 kernel with X710 driver 2.1.14-k and 2.8.20-k (HWE) does not support this mode. Switchdev mode requires:
pf_path = "/sys/class/net/%s" % pf_ifname
pf_sw_id_file = os.path.
However this operation is not supported in the above mentioned configs:
cat: /sys/class/
cat: /sys/class/
The legacy SR-IOV mode is the only supported supported in sriovnicswitch:
/usr/lib/
if (vnic_type == portbindings.
return
Unfortunately the charm does not start start Neutron SR-IOV Agent, using only OVN mechanism driver hence not allowing to use SR-IOV.
description: | updated |
summary: |
- SR-IOV native OVN driver does not work on Intel X710 + neutron-sriov-agent failing to start |
Changed in charm-ovn-chassis: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Frode Nordahl (fnordahl) |
Changed in charm-ovn-chassis: | |
status: | Fix Committed → Fix Released |
assignee: | Frode Nordahl (fnordahl) → nobody |
Switchdev mode is used for hardware offload.
Regular SR-IOV is also supported by the charm by enabling a configuration option and adding an optional relation.
Please refer to the documentation [0] for more information.
0: https:/ /docs.openstack .org/project- deploy- guide/charm- deployment- guide/latest/ app-ovn. html#sr- iov-for- networking- support