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 1267131 - Multipath is not correctly identifying iscsi devices, and misconfiguring them.
Summary: Multipath is not correctly identifying iscsi devices, and misconfiguring them.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: device-mapper-multipath
Version: 7.1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Ben Marzinski
QA Contact: Lin Li
URL:
Whiteboard:
Depends On: 1254292
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-29 05:12 UTC by Jan Kurik
Modified: 2021-09-03 12:05 UTC (History)
15 users (show)

Fixed In Version: device-mapper-multipath-0.4.9-77.el7_1.2
Doc Type: Bug Fix
Doc Text:
Cause: To determine if a device was an iscsi device, multipath was checking the "tgtname" sysfs file. The file name has changed to be "targetname". This meant that multipath was not correctly identifying iscsi devices as such, and would not use the iscsi specific configuration functions. Consequence: Multipath would not correctly set fast_io_fail_tmo for iscsi device. Fix: Multipath now checks for both "tgtname" and "targetname" Result: Multipath correctly identifies iscsi devices as such, and configures them correctly.
Clone Of: 1254292
Environment:
Last Closed: 2015-11-03 16:14:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1966 0 normal SHIPPED_LIVE device-mapper-multipath bug fix update 2015-11-03 21:12:49 UTC

Description Jan Kurik 2015-09-29 05:12:20 UTC
This bug has been copied from bug #1254292 and has been proposed
to be backported to 7.1 z-stream (EUS).

Comment 5 Lin Li 2015-10-08 09:02:45 UTC
verified on RHEL-7.1;  device-mapper-multipath-0.4.9-77.el7_1.2
steps:
1.#yum -y install device-mapper-multipath-0.4.9-77.el7_1.2.x86_64.rpm device-mapper-multipath-libs-0.4.9-77.el7_1.2.x86_64.rpm kpartx-0.4.9-77.el7_1.2.x86_64.rpm
2.# rpm -qa | grep multipath
device-mapper-multipath-0.4.9-77.el7_1.2.x86_64
device-mapper-multipath-libs-0.4.9-77.el7_1.2.x86_64
3.#mpathconf --enable
4.#service multipathd restart
5.#configure multipath 
6.# mpathconf 
  multipath is enabled
  find_multipaths is disabled
  user_friendly_names is disabled
  dm_multipath module is loaded
  multipathd is running
7.# cat /etc/multipath.conf 
defaults {
    polling_interval            5
    no_path_retry               fail
    user_friendly_names         no
    flush_on_last_del           yes
    fast_io_fail_tmo            5
    dev_loss_tmo                30
    max_fds                     4096
}
devices {
    device {
        all_devs                yes
        no_path_retry           fail
    }
}
8.#cat /sys/class/iscsi_session/session1/recovery_tmo 
  5

Comment 6 Lin Li 2015-10-08 09:04:09 UTC
verified on hp-dl385g7-05.rhts.eng.nay.redhat.com.
change to vevified.

Comment 8 errata-xmlrpc 2015-11-03 16:14:17 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, 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://rhn.redhat.com/errata/RHBA-2015-1966.html


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