Bug 2086869

Summary: Rework the infiniband support
Product: Red Hat Enterprise Linux 8 Reporter: Wen Liang <wenliang>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Zhiqian Guan <zhguan>
Severity: unspecified Docs Contact: Jaroslav Klech <jklech>
Priority: unspecified    
Version: 8.7CC: djez, jklech, nhosoi, rmeggins, spetrosi, till, zhguan
Target Milestone: rcKeywords: Triaged
Target Release: 8.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:network
Fixed In Version: rhel-system-roles-1.18.0-1.el8 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.
Story Points: ---
Clone Of:
: 2086965 (view as bug list) Environment:
Last Closed: 2022-11-08 09:41:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2086965    

Description Wen Liang 2022-05-16 17:29:34 UTC
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.

Comment 1 Rich Megginson 2022-05-16 18:02:22 UTC
We will also need to add `--skip-tags tests::infiniband` to our downstream CI tests.

Comment 8 Zhiqian Guan 2022-06-02 11:05:00 UTC
Ran test playbook on an RHEL8.7 control host, target RHEL7.9, 8.6, 8.7, 9.0, 9.1 as managed nodes, result looks fine, please see detailed logging in the attachment

Same test playbook issue as I mentioned at https://bugzilla.redhat.com/show_bug.cgi?id=2086965#c6, I'll also open another bug to track the test playbook issue, set this to VERIFIED as feature itself is good.

Comment 12 Wen Liang 2022-08-22 12:32:10 UTC
Doctext lgtm.

Comment 14 errata-xmlrpc 2022-11-08 09:41:25 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:7568