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 602948 - SRP LUNs not found at boot time
Summary: SRP LUNs not found at boot time
Keywords:
Status: CLOSED DUPLICATE of bug 591169
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rdma
Version: 6.0
Hardware: All
OS: Linux
low
high
Target Milestone: rc
: ---
Assignee: Doug Ledford
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-11 05:48 UTC by Justin Clift
Modified: 2010-08-02 14:20 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-02 14:20:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch against the rdma init script (1.81 KB, patch)
2010-06-11 09:06 UTC, Justin Clift
no flags Details | Diff

Description Justin Clift 2010-06-11 05:48:40 UTC
Description of problem:

In RHEL 6 beta 1, SRP LUNs that should be found and attached to the server at boot time aren't.

Instead, the user has to manually run a script or create their own boot script to achieve this.


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

rdma-1.0-6.el6.noarch.rpm


How reproducible:

Every time.


Steps to Reproduce:
1. Configure remote SRP targets for access by host server.
2. Verify connectivity from host server using "ibsrpdm -c" and/or "srp_daemon -eo".
3. Add LUN wwid's to host device mapper multipath configuration file /etc/multipath.conf file
4. Enable SRP module in /etc/rdma/rdma.conf on host.
5. Use chkconfig on host to enable rdma service at boot.
6. Reboot.  The LUNs are not found.  (This is the problem)
  
Actual results:

No SRP LUNs available on the host.  Subsequent scripts and programs depending upon them then fail.


Expected results:

SRP LUNs to be attached to the host and made available, as per other storage types.  (ie iSCSI, FC, etc)


Additional info:

Do you reckon this could be resolved before RHEL 6 final ships?

SRP configuration information is presently being written for inclusion in the RHEL 6 Virtualization Guide.  Thinking it would be better to have this "just work" rather than instruct end users to create their own init script to manage this.

?

Comment 2 RHEL Program Management 2010-06-11 06:03:22 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
inclusion.

Comment 3 Justin Clift 2010-06-11 09:06:19 UTC
Created attachment 423177 [details]
Patch against the rdma init script

Attached is a patch against the latest rdma init.d script I could find (in Fedora 14 rawhide).

The first addition to start() is pretty much lifted from the OFED 1.5.2-rc1 version, introducing a new "SRP_DAEMON_ENABLE=yes" variable in your /etc/rdma/rdma.conf.

The OFED code for flushing the multipath device maps in stop() was completely non-functional however, so that's been re-worked.  It now correctly retrieves device map names and flushes them, allowing the ib_srp module to be nicely removed.

This is tested and working on the local SRP connected lab systems here.

Comment 4 RHEL Program Management 2010-07-15 14:51:54 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release. It has
been denied for the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 5 Doug Ledford 2010-08-02 14:20:21 UTC

*** This bug has been marked as a duplicate of bug 591169 ***


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