Bug 2086166 - systemd-networkd status bond0 shows incorrect values
Summary: systemd-networkd status bond0 shows incorrect values
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 36
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-14 11:01 UTC by Dan Alderman
Modified: 2022-11-20 01:34 UTC (History)
13 users (show)

Fixed In Version: systemd-250.6-1.fc36 systemd-249.13-6.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-27 01:10:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dan Alderman 2022-05-14 11:01:00 UTC
Description of problem:

systemd-networkd status bond0 shows incorrect values for Miimon and Up/Down Delay when compared to cat /proc/net/bonding/bond0

networkctl status bond0 shows

                        Miimon: 2.500s
                       Updelay: 30s
                     Downdelay: 30s

/proc/net/bonding/bond0 shows

MII Polling Interval (ms): 250
Up Delay (ms): 3000
Down Delay (ms): 3000

which are the correct values that are configured in /etc/systemd/network/10-bond0.netdev

[Bond]
Mode=802.3ad
TransmitHashPolicy=layer2+3
MIIMonitorSec=250ms
LACPTransmitRate=fast
UpDelaySec=3s
DownDelaySec=3s
MinLinks=1

Version-Release number of selected component (if applicable):

Fedora 36
5.17.6-300.fc36.x86_64

How reproducible:

Create an 802.3ad bond
Compare the output of networkctl status bond0 and cat /proc/net/bonding/bond0

Actual results:

networkctl status bond0 shows

                        Miimon: 2.500s
                       Updelay: 30s
                     Downdelay: 30s


Expected results:

networkctl status bond0

                        Miimon: 250ms
                       Updelay: 3s
                     Downdelay: 3s

Additional info:

Intel ixgbe plugged to a DrayTek Vigor P2100
07:00.0 Ethernet controller: Intel Corporation Ethernet Connection X553/X557-AT 10GBASE-T (rev 11)

Comment 1 Zbigniew Jędrzejewski-Szmek 2022-05-16 09:54:11 UTC
Yu, could you take a look? It seems we're of by a factor of 10 in display.

Comment 2 Yu Watanabe 2022-05-17 13:40:09 UTC
Upstream PR: https://github.com/systemd/systemd/pull/23412

Comment 3 Fedora Update System 2022-05-25 20:11:06 UTC
FEDORA-2022-3ca356cd2e has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3ca356cd2e

Comment 4 Fedora Update System 2022-05-26 02:32:56 UTC
FEDORA-2022-3ca356cd2e has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-3ca356cd2e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-3ca356cd2e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Dan Alderman 2022-05-26 09:16:43 UTC
Awesome.  You rock.

Comment 6 Dan Alderman 2022-05-26 09:22:06 UTC
Now all working as expected.

                          Mode: 802.3ad
                        Miimon: 250ms
                       Updelay: 1s
                     Downdelay: 1s

Thank you.

Comment 7 Fedora Update System 2022-05-27 01:10:10 UTC
FEDORA-2022-3ca356cd2e has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-11-04 18:22:43 UTC
FEDORA-2022-8ac4104a02 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8ac4104a02

Comment 9 Fedora Update System 2022-11-05 17:54:19 UTC
FEDORA-2022-8ac4104a02 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-8ac4104a02`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8ac4104a02

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2022-11-20 01:34:33 UTC
FEDORA-2022-8ac4104a02 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


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