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 1806549 - Cannot save bond option `miimon=100` in to connection profile.
Summary: Cannot save bond option `miimon=100` in to connection profile.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 8.2
Assignee: Antonio Cardace
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: nmstate-nm
TreeView+ depends on / blocked
 
Reported: 2020-02-24 14:00 UTC by Gris Ge
Modified: 2020-11-04 01:49 UTC (History)
9 users (show)

Fixed In Version: NetworkManager-1.25.1-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 01:49:00 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:49:28 UTC
freedesktop.org Gitlab NetworkManager/NetworkManager/merge_requests/424 0 None None None 2020-03-10 16:28:13 UTC

Description Gris Ge 2020-02-24 14:00:25 UTC
Description of problem:

Cannot save `miimon=100` into connection profile.

Version-Release number of selected component (if applicable):
NetworkManager-1.23.2-25103.720e76f4b9.el8.x86_64

How reproducible:
100%

Steps to Reproduce:

sudo nmcli c del bond0
sudo nmcli c add type bond ifname bond0 \
    connection.id bond0 \
    ipv4.method disabled \
    ipv6.method disabled

echo "
set bond.options miimon=100
print
save
quit
" | sudo nmcli c edit bond0

echo
sudo nmcli c show bond0|grep bond

Actual results:

miimon is not listed in bond options.

Expected results:

miimon is listed in bond options.


Additional info:

If I set miimon=101, it works.
And this works well when setting `arp_interval=0` which is also the default value.

Comment 1 Gris Ge 2020-02-24 14:14:52 UTC
A correction.

The `arp_interval=0` does not works.

Comment 2 Gris Ge 2020-02-24 14:16:29 UTC
And also,

Also cannot set 'arp_interval 0' with 'miimon 100'.

Comment 3 Antonio Cardace 2020-02-24 14:18:53 UTC
MR https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/424 should fix this issue as well, can you test with it?

Comment 4 Antonio Cardace 2020-03-06 11:03:58 UTC
Fixed upstream with commit:50da785be1.

Comment 5 Gris Ge 2020-03-11 03:39:16 UTC
Hi Antonio,

I tried the `NetworkManager-1.23.2-25162.e33b200880.el8.x86_64` which still fails on above reproducer.

Regarding the wired/ethernet setting.

If I create wired/ethernet settting when setting miimon, it works well:

```bash
echo "
set 802-3-ethernet.mtu 1600
set bond.options miimon=100
print
save
quit
" | sudo nmcli c edit bond0

sudo nmcli c show bond0|grep bond
```

Another strange stuff, when I create bond profile with ethernet setting, the `miimon=100` still got ignored.

Comment 6 Antonio Cardace 2020-03-13 16:53:58 UTC
You're right it wasn't actually fixed, it should be now with MR https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/438.

Please test using 'nmcli c mod bond0 +bond.options miimon=100' instead of 'nmcli c edit', the latter seems to not work for some reason.

I also tested this using a small program with libnm and it works so I guess 'nmcli c edit' has another bug.

Comment 7 Antonio Cardace 2020-03-18 08:54:33 UTC
Errata corrige: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/438 fixes the bug, 'nmcli c edit' has no bug at all.

Comment 8 Thomas Haller 2020-04-07 15:43:00 UTC
missed rhel-8.2

Comment 14 errata-xmlrpc 2020-11-04 01:49: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 (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.