Bug 2177667
| Summary: | [NMCI] bond_set_balance_slb_options test failure | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Vladimir Benes <vbenes> | |
| Component: | NetworkManager | Assignee: | Thomas Haller <thaller> | |
| Status: | CLOSED ERRATA | QA Contact: | Vladimir Benes <vbenes> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 9.2 | CC: | bgalvani, egarver, lrintel, psutter, qe-baseos-daemons, rkhan, sfaye, sukulkar, thaller, till, todoleza | |
| Target Milestone: | rc | Keywords: | Reopened, Triaged, ZStream | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | NetworkManager-1.43.7-1.el9 | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2220952 (view as bug list) | Environment: | ||
| Last Closed: | 2023-11-07 08:38:04 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2220952 | |||
| Deadline: | 2023-06-26 | |||
|
Description
Vladimir Benes
2023-03-13 10:37:25 UTC
Created attachment 1961500 [details]
reproducer (nft only)
workaround merged to NetworkManager: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/d3b54963622f242db1ebeda21dedd9558b484355 NetworkManager is expected to pass @bond_set_balance_slb_options with 1.43.6+ Reopening and assigning back to NetworkManager. There is an issue here, as a test failed. As the issue is with NetworkManager, the bug needs to move back so that it can be tested and properly tracked. This should be fixed by https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/d3b54963622f242db1ebeda21dedd9558b484355 ; NetworkManager-1.43.7+. Btw, where is this behavior about "dynamic" documented? It's not clear to me how it works. Also, I got those NFT rules from the existing SLB shell script which had the same issue. So there seems to be a usability/documentation problem, when even the experts get this wrong. Hi Thomas, (In reply to Thomas Haller from comment #12) > Reopening and assigning back to NetworkManager. > > There is an issue here, as a test failed. As the issue is with > NetworkManager, the bug needs to move back so that it can be tested and > properly tracked. > > This should be fixed by > https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/ > d3b54963622f242db1ebeda21dedd9558b484355 ; NetworkManager-1.43.7+. Change looks fine to me. > Btw, where is this behavior about "dynamic" documented? It's not clear to me > how it works. Also, I got those NFT rules from the existing SLB shell script > which had the same issue. So there seems to be a usability/documentation > problem, when even the experts get this wrong. Upstream docs are incomplete and inconsistent (from a short assessment). In general: If you want to change a set from packet path (i.e., via add/update statements), the set must be created with 'dynamic' flag. The bug you found is in nft's attempt at adding that flag automatically if it restores a ruleset which also contains an add/update statement. It has been fixed upstream meanwhile, but I would consider not specifying 'dynamic' flag in sets which shall be changed from a rule a bug in the first place. (In reply to Phil Sutter from comment #14) > > Upstream docs are incomplete and inconsistent (from a short assessment). In > general: [...] thanks for elaborating! dropping "zstream?" flag from comment 6. So far, no Z-stream is planned for this issue for NetworkManager (which still might happen). we cannot see any failure in 1.43.10-1.el9.x86_64 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-2023:6585 |