Bug 1935842
Summary: | [RFE] Add bridge_role in 802-3-ethernet.s390-options using nmcli | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Nimish Sharma <nimsharm> |
Component: | NetworkManager | Assignee: | Thomas Haller <thaller> |
Status: | CLOSED ERRATA | QA Contact: | Filip Pokryvka <fpokryvk> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.4 | CC: | acardace, atragler, bgalvani, dhorak, fge, fpokryvk, jmaxwell, jwi, lrintel, rkhan, sababu, sukulkar, thaller, till, tpelka, vbenes |
Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | NetworkManager-1.32.3-0.d90baeecd8.el8 | Doc Type: | No Doc Update |
Doc Text: |
If this bug requires documentation, please select an appropriate Doc Type value.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-09 19:29:43 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: | 1935910 |
Description
Nimish Sharma
2021-03-05 16:52:05 UTC
Hi Nimish, Do we have hardware in Red Hat lab allowing developer to code on for this 390-options? fixed upstream: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/782 Targeted for rhel-8.5. Setting FailedQA, since changing 802-3ethernet.s390-options bridge_role=primary via nmcli does nothing. I have tried also other s390-options and none of tried worked. I used plugin=ifcfg-rh (which is default and so it should work). (In reply to Filip Pokryvka from comment #10) > Setting FailedQA, since changing 802-3ethernet.s390-options > bridge_role=primary via nmcli does nothing. I have tried also other > s390-options and none of tried worked. I used plugin=ifcfg-rh (which is > default and so it should work). fixed by https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/b425793d90a7e02420e7f2b7b6f3c1abd8e393c4 Workarounds: - ensure to also set `ethernet.s390-subchannels` - use keyfile plugin for this profile Note that NetworkManager itself doesn't actually do anything with these options. All it does, is that you can configure on the connection profile and that they are persisted to disk (either keyfile or ifcfg-rh format). What then happens, s390utils package ships a udev rule and a script ([1]). That script parses ifcfg files, and if it find the OPTIONS= key, then udev writes the sysfs values. [1] http://pkgs.devel.redhat.com/cgit/rpms/s390utils/tree/ccw_init?id=5871612e5a2a6397914e6c5564814dd146da8a62 So this is how it's supposed to work, and thus so far this bug is "fixed". Of course, this doesn't work if the profile is stored in keyfile format. Also, with the deprecation of ifcfg files, s390utils needs to find a different solution (or at least, the solution is only keeping to work, if the user creates ifcfg files also on RHEL9). (In reply to Thomas Haller from comment #14) > Of course, this doesn't work if the profile is stored in keyfile format. > Also, with the deprecation of ifcfg files, s390utils needs to find a > different solution (or at least, the solution is only keeping to work, if > the user creates ifcfg files also on RHEL9). Please file a bug for support with keyfile format as well. (In reply to Till Maas from comment #15) > (In reply to Thomas Haller from comment #14) > > > Of course, this doesn't work if the profile is stored in keyfile format. > > Also, with the deprecation of ifcfg files, s390utils needs to find a > > different solution (or at least, the solution is only keeping to work, if > > the user creates ifcfg files also on RHEL9). > > Please file a bug for support with keyfile format as well. bug 1978316 Added tests that NetworkManager stores s390-options. We are not able to test that options are applied, as we do not have capable hardware. Also, it is applied by s390utils, so setting qe_testcoverage+ to NetworkManager part. 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 |