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 1923999 - When adding host to RHV-M with LACP bond, '"ad_actor_system=00:00:00:00:00:00' is seen in messages [rhel-8.3.0.z]] again
Summary: When adding host to RHV-M with LACP bond, '"ad_actor_system=00:00:00:00:00:00...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.3
Hardware: Unspecified
OS: Linux
urgent
urgent
Target Milestone: rc
: 8.0
Assignee: Thomas Haller
QA Contact: Vladimir Benes
URL:
Whiteboard:
Depends On:
Blocks: 1929262 1940435
TreeView+ depends on / blocked
 
Reported: 2021-02-02 12:12 UTC by nsurati
Modified: 2024-06-14 00:07 UTC (History)
21 users (show)

Fixed In Version: NetworkManager-1.30.0-2.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1931881 1940435 (view as bug list)
Environment:
Last Closed: 2021-05-18 13:32:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
System logs with NM trace enabled (2.88 MB, text/plain)
2021-02-23 08:16 UTC, Gris Ge
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5826851 0 None None None 2021-02-24 03:56:46 UTC

Description nsurati 2021-02-02 12:12:58 UTC
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

Comment 12 Gris Ge 2021-02-23 07:45:15 UTC
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.

Comment 13 Gris Ge 2021-02-23 07:52:51 UTC
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.

Comment 14 Gris Ge 2021-02-23 08:16:56 UTC
Created attachment 1758781 [details]
System logs with NM trace enabled

Comment 15 Thomas Haller 2021-02-23 13:01:39 UTC
(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.

Comment 16 Thomas Haller 2021-02-23 13:41:28 UTC
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.

Comment 20 Marina Kalinin 2021-02-23 17:57:20 UTC
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.

Comment 23 Vladimir Benes 2021-02-24 08:32:56 UTC
slight modification to catch the error added to NMCI:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/commit/eaecfae8b8963e91ac83b7a5000e6cd4b2b82957

Comment 28 errata-xmlrpc 2021-05-18 13:32:37 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 (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


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