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 1533813 - default value for lacp runner.sys_prio should be 65535 not 255 as stated in man teamd.conf
Summary: default value for lacp runner.sys_prio should be 65535 not 255 as stated in m...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libteam
Version: 7.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Francesco Giudici
QA Contact: LiLiang
URL:
Whiteboard:
Depends On: 1533810
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-12 09:55 UTC by Vladimir Benes
Modified: 2018-10-30 11:44 UTC (History)
12 users (show)

Fixed In Version: libteam-1.27-5.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1533810
Environment:
Last Closed: 2018-10-30 11:43:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3297 0 None None None 2018-10-30 11:44:12 UTC

Description Vladimir Benes 2018-01-12 09:55:47 UTC
man pages says 255 is default for lacp sys_prio but code says
teamd_runner_lacp.c:#define		LACP_CFG_DFLT_SYS_PRIO 0xffff

which is 65535
libteam-1.27-1.el7.x86_64



+++ This bug was initially created as a clone of Bug #1533810 +++

Description of problem:
default value is 65535 not 255 as stated in nmcli (and probably in teamd.conf too)

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

nmcli con add type team con-name team0 ifname nm-team autoconnect no team.runner lacp yes connection.autoconnect-slaves yes

vbenes@localhost:~$ sudo teamdctl nm-team state dump
{
    "runner": {
        "active": true,
        "fast_rate": false,
        "select_policy": "lacp_prio",
        "sys_prio": 65535

but
vbenes@localhost:~$ nmcli connection show team |grep 'team.runner-sys-prio'
team.runner-sys-prio:                   255 (default)

Comment 4 LiLiang 2018-09-05 09:05:38 UTC
verified on 3.10.0-940.el7.x86_64

[root@hp-dl388g8-22 sriov]# nmcli con add type team con-name team0 ifname nm-team autoconnect no team.runner lacp  connection.autoconnect-slaves yes
Connection 'team0' (d96cf066-d9ed-43d1-bd0b-66e3677bc2bb) successfully added.
[root@hp-dl388g8-22 sriov]# nmcli c up team0
Connection successfully activated (master waiting for slaves) (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/7)
[root@hp-dl388g8-22 sriov]# teamdctl nm-team state dump
{
    "runner": {
        "active": true,
        "fast_rate": false,
        "select_policy": "lacp_prio",
        "sys_prio": 65535
    },
    "setup": {
        "daemonized": false,
        "dbus_enabled": true,
        "debug_level": 0,
        "kernel_team_mode_name": "loadbalance",
        "pid": 46854,
        "pid_file": "/var/run/teamd/nm-team.pid",
        "runner_name": "lacp",
        "zmq_enabled": false
    },
    "team_device": {
        "ifinfo": {
            "dev_addr": "6e:1b:27:70:04:b8",
            "dev_addr_len": 6,
            "ifindex": 23,
            "ifname": "nm-team"
        }
    }
}

Comment 6 errata-xmlrpc 2018-10-30 11:43:48 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, 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-2018:3297


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