Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
When RHV-H upgrade to 4.4.1 to 4.4.3 and after reconfiguration of bond still seeing messages "failed to set bonding attribute 'ad_actor_system' to '00:00:00:00:00:00'"
Version-Release number of selected component (if applicable):
4.4.3
How reproducible:
Steps to Reproduce:
1. Install RHV-H 4.4.1 upgrade to RHV-H 4.4.3 and configure bond0 as LACP
2. 'ad_actor_system=00:00:00:00:00:00' seen in messages
Actual results:
Getting following messages:
Feb 1 11:42:40 rhhipmuc04 kernel: bond0: Invalid ad_actor_system MAC address.
Feb 1 11:42:40 rhhipmuc04 kernel: bond0: option ad_actor_system: invalid value (00:00:00:00:00:00)
Feb 1 11:42:40 rhhipmuc04 NetworkManager[3149]: <error> [1612179760.6023] platform-linux: sysctl: failed to set 'bonding/ad_actor_system' to '00:00:00:00:00:00': (22) Invalid argument
Feb 1 11:42:40 rhhipmuc04 NetworkManager[3149]: <warn> [1612179760.6024] device (bond0): failed to set bonding attribute 'ad_actor_system' to '00:00:00:00:00:00'
Feb 1 11:42:40 rhhipmuc04 kernel: bond0: option fail_over_mac: unable to set because the bond device has slaves
Expected results:
There should not be warning mesaages
Additional info:
This BUG resolved with BZ 1890497 however after applying fix also seeing messages
Even with correct setting, NetworkManager still complains:
sysctl: failed to set 'bonding/ad_actor_system' to '00:00:00:00:00:00': (22) Invalid argument
Reproducer:
* sudo nmcli c add type bond connection.id bond0 ifname bond0 ipv4.method disabled ipv6.method disabled
* sudo journalctl -t NetworkManager --since -1m -p 3
Meanwhile, this is just a no harming error message. If possible, please suggest customer to ignore it before our fix.
Changing to NetworkManager component.
The error message is harmless, the value(00:00:00:00:00:00) is already the default value in kernel.
The kernel is in the state we requested, NetworkManager just showing the wrong message.
(In reply to Gris Ge from comment #12)
> * sudo nmcli c add type bond connection.id bond0 ifname bond0 ipv4.method
> disabled ipv6.method disabled
It needs:
nmcli c add type bond connection.id bond0 ifname bond0 ipv4.method disabled ipv6.method disabled bond.options 'mode=802.3ad'
But this seems more of a kernel issue:
ip link add name bond1 type bond
cat /sys/class/net/bond1/bonding/ad_actor_system
# no output
echo 802.3ad > /sys/class/net/bond1/bonding/mode
cat /sys/class/net/bond1/bonding/ad_actor_system
# output 00:00:00:00:00:00
echo 00:00:00:00:00:00 > /sys/class/net/bond1/bonding/ad_actor_system
# -bash: echo: write error: Invalid argument
echo 00:00:00:00:00:01 > /sys/class/net/bond1/bonding/ad_actor_system
cat /sys/class/net/bond1/bonding/ad_actor_system
# output 00:00:00:00:00:01
echo 00:00:00:00:00:00 > /sys/class/net/bond1/bonding/ad_actor_system
# -bash: echo: write error: Invalid argument
Meaning: with 802.3ad, the default value is 00:00:00:00:00:00, and kernel doc even says: "If the value is not given then system defaults to using the masters' mac address as actors' system address.".
But setting 00:00:00:00:00:00 via sysfs is always rejected with EINVAL.
That means,
- you cannot set the current value (setting the value that is currently set, should not be an error)
- after setting a different MAC address, you cannot reset the default value.
Fixed upstream by https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/9e7af314546d7912ee23b3850230008902aca4d3 .
Note that this *only* avoids a warning in the logfile. Otherwise, there is no change (as there was no bug in NetworkManager).
I think this is a kernel issue however. I reported bug 1931881 for that.
It's not very severe, since it only happens if you want to change ad_actor_system back to "00:00:00:00:00:00". Both via `nmcli device reapply` or by activating a profile on an existing bond interface.
Nirav,
Can you please ensure we have a KCS about this stating that with 8.3 the bond issue is resolved and the message itself is harmless, as explained above?
Since I see we started getting more cases on it.
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 and libnma 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:1574