Bug 1892502

Summary: [RHEL-8.4][RDMA] update opensm service file
Product: Red Hat Enterprise Linux 8 Reporter: Honggang LI <honli>
Component: opensmAssignee: Honggang LI <honli>
Status: CLOSED ERRATA QA Contact: zguo <zguo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: hwkernel-mgr, rdma-dev-team, zguo
Target Milestone: rc   
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: opensm-3.3.23-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 14:44:44 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: 1850462    
Bug Blocks:    

Description Honggang LI 2020-10-29 00:12:20 UTC
Description of problem:

https://bugzilla.redhat.com/show_bug.cgi?id=1850462
https://github.com/linux-rdma/rdma-core/pull/835

https://github.com/linux-rdma/rdma-core/pull/835/commits/aaf389f4481bfbe093d575d2d5daf767c1ba6ec0

After migrate to standard udev scripts, the rdma.service is no longer needed and had been removed. The opensm service can not depends on rdma.service.

==== old conf ====
~]$ cat /usr/lib/systemd/system/opensm.service
[Unit]
Description=Starts the OpenSM InfiniBand fabric Subnet Manager
Documentation=man:opensm
DefaultDependencies=false
Before=network.target remote-fs-pre.target
Requires=rdma.service  <====
After=rdma.service     <====

[Service]
Type=forking
ExecStart=/usr/libexec/opensm-launch

[Install]
WantedBy=network.target
==== end of old conf ====

It can be fixed by delete "Requires=rdma.service" and replace
"After=rdma.service" with "After=rdma-load-modules@.service" .

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 errata-xmlrpc 2021-05-18 14:44:44 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 (RDMA stack 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/RHBA-2021:1594