Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionBeniamino Galvani
2021-02-12 10:41:27 UTC
Currently, when a connection is activated NM always sets the kernel TC
configuration to what is described in the connection profile. In
particular if there is no 'tc' setting NM resets all the
qdiscs/filters added externally.
Since the TC support is very limited in NM and it will never implement
all the features supported by kernel, there should be a way to let NM
ignore the existing TC configuration.
We already do something similar for SR-IOV, where the absence of a
'sriov' settings means 'ignore', and a 'sriov' setting with num-vfs=0
means to clear everything on activation.
NM is used to activate the default route interface on OpenShift.
When OVS HWOL is enabled on the default interface, this bug would
result in the tc filters (added by driver) be removed, which in
turn cause incomplete flows or packets be dropped unexpectedly.
It would be good to have a "ignore" setting in NM to leave the tc
filters (added by other components) untouched.
Comment 2Marcelo Ricardo Leitner
2021-05-12 23:40:01 UTC
Comment 5Alaa Hleihel (NVIDIA Mellanox)
2021-06-10 12:48:56 UTC
Hi,
We (NVIDIA Mellanox) got many customer bugs about this issue.
Therefore, I'm requesting to z-stream the fix.
Thanks,
Alaa
Comment 6Marcelo Ricardo Leitner
2021-06-10 21:16:07 UTC
z-stream it back to 8.4, right? Is it enough?
Comment 7Alaa Hleihel (NVIDIA Mellanox)
2021-06-13 11:46:13 UTC
(In reply to Marcelo Ricardo Leitner from comment #6)
> z-stream it back to 8.4, right? Is it enough?
I think 8.2 is still widely used, right? so it will be great if we can get it there too.
Comment 8Marcelo Ricardo Leitner
2021-06-15 23:00:37 UTC
Gris, thoughts?
FWIW, I support this request to 8.2.z. This is a worth having fix back there as the issue is quite nasty to debug, unfortunately.
Approving zstream for 8.4 and 8.2 after consulting with NetworkManager developer:
When there is no setting regarding tc filter and qdiscs in NetworkManager connection config, the default action regarding connection activation has changed:
From(old): Remove all existing tc filter and qdiscs.
To(new): Ignore existing tc filter and qdiscs.
Even this default action has been changed in zstream, but NetworkManager team agree this is the correct action and also be consistent with other settings like ethtool.
Meanwhile, the code change risk is acceptable.
Comment 12Alaa Hleihel (NVIDIA Mellanox)
2021-06-16 08:30:42 UTC
Hi Alaa Hlehel,
Could you use NetworkManager-1.32.0-0.5.el8 to test in your environment?
Thank you!
Comment 14Alaa Hleihel (NVIDIA Mellanox)
2021-06-17 14:34:40 UTC
Sure, the bug reprodueced with NetworkManager-1.30.0-7.el8.x86_64
the qdisc got removed after a while (when NM tried to configure the interface).
With NetworkManager-1.32.0-0.5.el8.x86_64 , the issue no longer reproduces, the tc ingress qdiscs are still there, they were not deleted even after NM tried to configure the interfaces.
(also checked using my old test https://bugzilla.redhat.com/attachment.cgi?id=1672300 )
I ran a couple of other OVS Offload tests and the traffic was offloaded without issue.
So it look good.
Thanks!
Comment 15Beniamino Galvani
2021-06-17 16:07:00 UTC
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 (Moderate: NetworkManager security, bug fix, and enhancement update), 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/RHSA-2021:4361