Bug 586594

Summary: Missing udev dependency for rdma
Product: Red Hat Enterprise Linux 6 Reporter: Justin Clift <justin>
Component: rdmaAssignee: Doug Ledford <dledford>
Status: CLOSED CURRENTRELEASE QA Contact: Gurhan Ozen <gozen>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: jburke, notting
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: rdma-1.0-7.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-10 21:28:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Justin Clift 2010-04-27 23:25:58 UTC
Description of problem:

Installed rdma-1.0-6.el6.noarch from yum, however when starting the /etc/init.d/ script errors are reported for missing udev components:

[jc@storage1 rdma]$ sudo /etc/init.d/rdma start
Loading OpenIB kernel modules:/etc/init.d/rdma: line 142: udevtrigger: command not found
/etc/init.d/rdma: line 143: udevsettle: command not found
                                                           [  OK  ]
[jc@storage1 rdma]$


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


How reproducible:

Every time.

Steps to Reproduce:
1. Install rdma package from RHEL6 beta repository via yum
2. Start rdma init script <-- Error occurs here
Actual results:

The Infiniband kernel modules are loaded, but the rdma script throws errors.

Expected results:

The Infiniband kernel modules to load, but no errors to be thrown by the init script.

Additional info:

Comment 1 Justin Clift 2010-04-27 23:55:38 UTC
On further investigation, this appears to be more serious than first thought:

a) udevtrigger was a part of the udev package in RHEL5, but the udev package in RHEL6 doesn't include it.  If this is due to an intentional change in udev, then the rdma init script will need updating.

b) The "ib_mthca" Infiniband hardware module (required for the Infiniband cards we use) is not loaded by the rdma script, though it is unloaded by it at shutdown.  This ib_mthca module needs to be loaded before the ib_ipoib module (also loaded by this init script) for IP over Infiniband interfaces to come up.

In RHEL 5, this appears to be done through udevtrigger, but isn't working now due to this bug.

Comment 3 RHEL Product and Program Management 2010-04-28 01:15:20 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 4 Doug Ledford 2010-04-28 18:05:00 UTC
The udevtrigger/udevsettle issue was already resolved in Fedora and the package simply needs reimporting into rhel6.  However, the udev dependency was not previously taken care of.  Both will be resolved prior to beta2.

Comment 5 Doug Ledford 2010-05-26 04:54:54 UTC
Actually, the Requires: udev was already present, although it didn't require a late enough version.  The real problem was that the scripts still did udevtrigger and udevsettle instead of udevadm trigger and udevadm settle.  Switching the init script to use the preferred method of invoking udev and requiring a later version of udev in the rpm spec file solves the problem.

Comment 6 Gurhan Ozen 2010-07-14 19:01:34 UTC
# rpm -q --requires rdma | grep udev
udev >= 145

Comment 7 releng-rhel@redhat.com 2010-11-10 21:28:19 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.