Bug 2064388 - bond: fix typo in supporting the infiniband ports in active-backup mode
Summary: bond: fix typo in supporting the infiniband ports in active-backup mode
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.6
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 8.6
Assignee: Rich Megginson
QA Contact: Zhiqian Guan
Mayur Patil
Whiteboard: role:network
Depends On: 2064067
Blocks: 2064391 2065203
TreeView+ depends on / blocked
Reported: 2022-03-15 17:59 UTC by Rich Megginson
Modified: 2022-05-10 14:40 UTC (History)
9 users (show)

Fixed In Version: rhel-system-roles-1.16.1-1.el8
Doc Type: Bug Fix
Doc Text:
.Fixed a typo to support `active-backup` for the correct bonding mode Previously, there was a typo,`active_backup`, in supporting the InfiniBand port while specifying `active-backup` bonding mode. Due to this typo, the connection failed to support the correct bonding mode for the InfiniBand bonding port. This update fixes the typo by changing bonding mode to `active-backup`. The connection now successfully supports the InfiniBand bonding port.
Clone Of: 2064067
: 2064391 2065203 (view as bug list)
Last Closed: 2022-05-10 14:13:22 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-115665 0 None None None 2022-03-15 18:05:11 UTC
Red Hat Product Errata RHBA-2022:1896 0 None None None 2022-05-10 14:13:35 UTC

Description Rich Megginson 2022-03-15 17:59:38 UTC
+++ This bug was initially created as a clone of Bug #2064067 +++

Description of problem:

A typo in the code that checks if the bonding mode is `active-backup` when infiniband ports are specified. The original code is:
                    if connection["type"] == "infiniband":
                        if c["type"] == "bond" and c["bond"]["mode"] != "active_backup":

Notice that the mode should be `active-backup` instead of `active_backup`.

Comment 11 Zhiqian Guan 2022-03-21 11:24:33 UTC
reproduced on an Infiniband cards system with the affected version: 
verified on an Infiniband cards system with the fixed version: 

Please see the attachments for detailed logging.

Set this to VERIFIED

Comment 16 errata-xmlrpc 2022-05-10 14:13:22 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 (rhel-system-roles 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.


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