Bug 1309732

Summary: System will not detect redundant path which was down during a reboot
Product: Red Hat Enterprise Linux 7 Reporter: Josef Möllers <josef.moellers>
Component: iscsi-initiator-utilsAssignee: Chris Leech <cleech>
Status: CLOSED DUPLICATE QA Contact: Martin Hoyer <mhoyer>
Severity: high Docs Contact:
Priority: high    
Version: 7.1CC: chorn, mhoyer, rmarigny
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: SA233590760
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-01 00:35:00 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:
Bug Depends On:    
Bug Blocks: 1203710, 1245518    
Attachments:
Description Flags
Sosreport shortly after installation.
none
Sosreport after booting with only a single path
none
Sosreport after re-enabling formerly disconnected path none

Description Josef Möllers 2016-02-18 15:00:42 UTC
Created attachment 1128254 [details]
Sosreport shortly after installation.

Description of problem:
When a system one of the paths of a multipath'ed iSCSI (software!) target is disconnected (e.g. by pulling the network cable) and the system is then rebooted, the system will not recognize the formerly disconnected path when it re-appears.

Version-Release number of selected component (if applicable):
libiscsi-1.9.0-6.el7.x86_64
iscsi-initiator-utils-iscsiuio-6.2.0.873-32.el7.x86_64
iscsi-initiator-utils-6.2.0.873-32.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Configure a system to have duplicate paths to an iSCSI target
2.Install on this iSCSI target, combining the two paths using dm_multipath
3.When the system is up,check the iSCSI and dm_multipath connection, be sure that dm-multipath is working fine, then disconnect one path
4.Reboot, the system should boot properly via the remaining path
5.Reconnect the disconnected path

Actual results:
The system does not even see the re-appearing network connection!

Expected results:
The re-appearing network connection is recognized, an IP address is assigned, the path is added to the multipath'ed device.

Additional info:
Intel Kawela Ports are configured with fixed IP addresses and fixed iSCSI Target Parameters, no DHCP.
I will attach three sosreports:
1) shortly after installation (redundant paths)
2) after reboot with single path
3) after re-enabling formerly missing path

Comment 1 Josef Möllers 2016-02-18 15:04:28 UTC
Created attachment 1128256 [details]
Sosreport after booting with only a single path

Comment 3 Josef Möllers 2016-02-18 15:07:34 UTC
Created attachment 1128257 [details]
Sosreport after re-enabling formerly disconnected path

Comment 4 Josef Möllers 2016-02-18 15:08:26 UTC
Added whiteboard and CC chorn.

Comment 5 Josef Möllers 2016-02-18 15:15:39 UTC
1) What strikes me is that the two interfaces are named "ibft" rather than enp<something>.
2) There is only a single target in /sys/firmware/ibft.
3) There is no information whatsoever present about the fact that the second interface has ever been used to connect to the iSCSI target.

Comment 6 Christian Horn 2016-02-19 09:36:06 UTC
I remember we had issues with iscsi/multipathing before.  
Wondering if that has worked at some point so far on rhel7, and if rhel6 deals with the scenario ok.  This issue should already be reproducable with a KVM guest, booting a small ipxe cd-imgage in the guest with 2 NICs, using an iscsi target from the linux host.

Comment 7 Josef Möllers 2016-02-19 09:45:20 UTC
QA will install RHEL6.7 on the system and try to reproduce. As it is Friday ... stay tuned ;-)

Have a nice weekend!

Comment 8 Josef Möllers 2016-02-24 09:43:19 UTC
QA has given me this:

While RHEL6 detects the second path (ethernet[01] and target[01] in /sys/firmware/ibft), dm-multipath does not combine both paths into a single, redundant, drive, neither during installation nor after a boot with both paths active!

So, in essence: no, it did not work on RHEL6, but we would expect it to work.

Comment 9 Josef Möllers 2016-05-25 07:13:53 UTC
As I will be moving on to pastures new in a few weeks time, I will not be able to provide any assistance.

So long,

Josef

Comment 10 Christian Horn 2016-11-07 01:29:06 UTC
Is the issue still observed on RHEL7.3GA?

Comment 11 Christian Horn 2017-08-04 09:14:52 UTC
Is the issue still observed on RHEL7.5GA?

Comment 13 Christian Horn 2018-11-01 00:35:00 UTC
Likely solved in RHEL7.6GA as part of bz1330865.

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