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.
Bug 1815875 - NetworkManager fails to delete qdisc (also resulting in scalability issues)
Summary: NetworkManager fails to delete qdisc (also resulting in scalability issues)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.0
Assignee: Beniamino Galvani
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1807630
TreeView+ depends on / blocked
 
Reported: 2020-03-22 10:52 UTC by Thomas Haller
Modified: 2020-11-04 01:50 UTC (History)
12 users (show)

Fixed In Version: NetworkManager-1.25.2-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 01:49:27 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4499 0 None None None 2020-11-04 01:50:03 UTC

Description Thomas Haller 2020-03-22 10:52:12 UTC
seems NM may send requests to delete qdisc, which kernel replies with 

> Mar 22 10:32:02.293988 dev-h-vrt-013 NetworkManager[11102]: <debug> [1584865922.2939] platform: (ens1f0) qdisc: delete fq_codel dev 865 family 0 handle 0 parent 1 info 1 limit 10240 flows 1024 target 4999 interval 99999 quantum 1514 memory_limit 33554432 ecn
> Mar 22 10:32:02.294009 dev-h-vrt-013 NetworkManager[11102]: <debug> [1584865922.2940] platform-linux: netlink: recvmsg: error message from kernel: No such file or directory (2) "Failed to find qdisc with specified classid" for request 604864
> Mar 22 10:32:02.294018 dev-h-vrt-013 NetworkManager[11102]: <debug> [1584865922.2940] platform-linux: do-delete-qdisc[865: 1]: failure 2 (No such file or directory - Failed to find qdisc with specified classid), meaning the object was already removed

NM then thinks that the element is already gone and that its cache is out of date. It will thus request a full dump of the QDiscs to fix the (assumed) cache consistency.

that means, if you try to delete N qdiscs, not only will it fail, it will also result in N full dumps of all qdiscs. That is a scalability issue as well.


See log here: https://bugzilla.redhat.com/show_bug.cgi?id=1815060#c12

Comment 10 errata-xmlrpc 2020-11-04 01:49:27 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 (NetworkManager 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/RHBA-2020:4499


Note You need to log in before you can comment on or make changes to this bug.