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 2086965 - Rework the infiniband support
Summary: Rework the infiniband support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.1
Assignee: Rich Megginson
QA Contact: Zhiqian Guan
Jaroslav Klech
URL:
Whiteboard: role:network
Depends On: 2086869
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-16 23:18 UTC by Wen Liang
Modified: 2022-11-15 11:24 UTC (History)
8 users (show)

Fixed In Version: rhel-system-roles-1.18.0-1.el9
Doc Type: Enhancement
Doc Text:
.Users can create connections with IPoIB capability using the `network` RHEL System Role The `infiniband` connection type of the `network` RHEL System Role now supports the Internet Protocol over Infiniband (IPoIB) capability. To enable this feature, define a value to the `p_key` option of `infiniband`. Note that if you specify `p_key`, the `interface_name` option of the `network_connections` variable must be left unset. The previous implementation of the `network` RHEL System Role did not properly validate the `p_key` value and the `interface_name` option for the `infiniband` connection type. Therefore, the IPoIB functionality never worked before. For more information, see a README file in the `/usr/share/doc/rhel-system-roles/network/` directory.
Clone Of: 2086869
Environment:
Last Closed: 2022-11-15 10:23:47 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles network pull 493 0 None open infiniband: Add the integration tests 2022-05-17 00:56:35 UTC
Red Hat Issue Tracker RHELPLAN-122292 0 None None None 2022-05-16 23:21:36 UTC
Red Hat Product Errata RHEA-2022:8117 0 None None None 2022-11-15 10:24:14 UTC

Description Wen Liang 2022-05-16 23:18:56 UTC
+++ This bug was initially created as a clone of Bug #2086869 +++

Description of problem:

This is more like the RFE than an bugfix. The following are the sub-tasks:

1. Add the infiniband setting description, the integration test.
2. Improve the infiniband setting validation.
3. Change the default value of `p_key` setting.

--- Additional comment from Rich Megginson on 2022-05-16 18:02:22 UTC ---

We will also need to add `--skip-tags tests::infiniband` to our downstream CI tests.

Comment 6 Zhiqian Guan 2022-06-02 11:00:27 UTC
Ran tests_infiniband_nm.yml on an RHEL9.1 control host, target RHEL7.9, 8.6, 8.7, 9.0, 9.1 as managed host, detailed logging can be found in the attachment

The feature itself is good. But there's an issue about the test playbook. When running the test playbook against an RHEL7.9 node, the mode/pkey of Infiniband cannot be found in the output of "ip" command, so that the testplaybook will fail in this case, but the configuration is fine. We only need to check the mode and pkey of interface by using "cat /sys/class/net/ib0.000a/pkey" and "cat /sys/class/net/ib0.000a/mode". 

I've attached the modified test playbook for your reference. 

Mark this as VERIFIED as the feature is good. I'll open another bug to track the test playbook issue.

Comment 11 errata-xmlrpc 2022-11-15 10:23:47 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.

https://access.redhat.com/errata/RHEA-2022:8117


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