[SRU] hw-tc-offload not reliable with VXLAN with OpenStack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
Train |
Fix Committed
|
High
|
Unassigned | ||
Ussuri |
Fix Released
|
High
|
Unassigned | ||
openvswitch (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Eoan |
Won't Fix
|
High
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Hardware offload VXLAN tunnel flows may not be correctly offloaded and are hence not functional in OpenStack deployments
[Test Case]
Deploy OpenStack configured with suitable network cards for hardware offload of VM interfaces
Boot instances with hardware offloaded interfaces (capability=
Instances may or may not get DHCP configured depending on how OpenStack chooses to tag the flows associated with the VXLAN tunnel networking for the cloud.
[Regression Potential]
Low; proposed patch has been tested with OpenStack Stein and has been peer reviewed and landed into all OVS stable branches back to v2.8 and will be included in the next 2.12.x release (which would target Eoan)
[Original Bug Report]
OpenStack Train
OVS 2.12
Linux 5.3 from hwe edge
Connect-X 5 running latest firmware from Mellanox.
Overlay networking configured with VXLAN for project networking.
Some instances successfully DHCP, some don't.
For those that don't:
compute:
11:51:24.926581 IP bond1.2925.
IP 0.0.0.0.bootpc > 255.255.
gateway:
11:50:44.010864 IP bond1.2925.
IP 0.0.0.0.bootpc > 255.255.
11:50:44.011196 IP bond1.2925.
IP 172.16.0.2.bootps > 172.16.
The response is send from the gateway unit to the compute unit, but is never seen in the tcpdump.
If hardware encap is disabled on the two underlying ports/the card, traffic flow is seen and all instances correctly DHCP configure on boot.
sudo ethtool -K enp3s0f0 hw-tc-offload off
sudo ethtool -K enp3s0f1 hw-tc-offload off
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.3.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
Date: Fri Nov 22 12:29:20 2019
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-
UpgradeStatus: No upgrade log present (probably fresh install)
---
ProblemType: Bug
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Nov 19 16:45 seq
crw-rw---- 1 root audio 116, 33 Nov 19 16:45 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
Bus 002 Device 002: ID 8087:8002 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 413c:a001 Dell Computer Corp. Hub
Bus 001 Device 002: ID 8087:800a Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. PowerEdge R630
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB: 0 mgag200drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.173.12
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: bionic uec-images
Uname: Linux 5.3.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 11/08/2016
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.3.4
dmi.board.name: 02C2CP
dmi.board.vendor: Dell Inc.
dmi.board.version: A03
dmi.chassis.type: 23
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: PowerEdge R630
dmi.product.sku: SKU=NotProvided
dmi.sys.vendor: Dell Inc.
tags: | added: hwoffload |
affects: | linux (Ubuntu) → openvswitch (Ubuntu) |
Changed in openvswitch (Ubuntu Focal): | |
status: | Confirmed → Fix Released |
Changed in openvswitch (Ubuntu Eoan): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in openvswitch (Ubuntu Focal): | |
importance: | Undecided → High |
description: | updated |
summary: |
- hw-tc-offload not reliable with VXLAN + [SRU] hw-tc-offload not reliable with VXLAN with OpenStack |
description: | updated |
description: | updated |
apport information