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.
.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.
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`.
Ran below test playbook on an RHEL8.7 control node, target RHEL7.9, 8.6, 8.7, 9.0, 9.1 as managed nodes, result looks fine as per attached detail logging, set this to VERIFIED
- name: Config Infiniband
hosts: dell-per740-79.rhts.eng.pek2.redhat.com
become: true
tasks:
- include_role:
name: linux-system-roles.network
vars:
network_connections:
- name: "bond0"
state: up
type: bond
interface_name: "bond0"
ip:
address:
- "192.0.2.1/24"
- "2001:db8:1::1/64"
bond:
mode: active-backup
# add an infiniband to the bond
- name: "bond0-port1"
state: up
type: infiniband
interface_name: "ib0"
controller: "bond0"
# add a second infiniband to the bond
- name: "bond0-port2"
state: up
type: infiniband
interface_name: "ib1"
controller: "bond0"
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.
https://access.redhat.com/errata/RHEA-2022:7568
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`.