Bug 1368610

Summary: LUKS over iSCSI causes delay at boot and mount failure
Product: Red Hat Enterprise Linux 7 Reporter: Graham Leggett <minfrin>
Component: iscsi-initiator-utilsAssignee: Chris Leech <cleech>
Status: CLOSED WONTFIX QA Contact: Filip Suba <fsuba>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.4CC: angystardust, fsuba
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:44:49 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:

Description Graham Leggett 2016-08-20 00:23:25 UTC
Description of problem:

If an attempt is made to connection to an iscsi drive, then add LVM, then add LUKS, then add an XFS filesystem, this works. When an attempt is made to reboot the machine, long delays appear at boot as services are started up in the wrong order. The mount does not occur, and has to be performed manually.

It appears that iscsi is not properly supported in RHEL7.


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

iscsi-initiator-utils-iscsiuio-6.2.0.873-33.el7_2.2.x86_64
iscsi-initiator-utils-6.2.0.873-33.el7_2.2.x86_64


How reproducible:

- Configure an iscsi drive. Add this drive to an LVM volume group and create a logical volume.
- Encrypt the logical volume with LUKS, format encrypted partition with xfs.
- Configure /etc/crypttab as follows to unlock drive automatically at boot:

home_vmail UUID="b79e45cf-89aa-40f2-9fb1-f62f0c795e88" /etc/keyfile

- Configure /etc/fstab to mount decryped drive automatically at boot:

UUID=c2e2a3c3-8c98-4ce7-ab1b-283ddf836907	/home/vmail		xfs	_netdev		0 0


Steps to Reproduce:
1.
2.
3.

Actual results:

- Machine boots up. LUKS attempts to unlock the drive, which somehow triggers iscsi to start up before networking has started.
- Machine bootup hangs until a 90 second timeout.
- Machine eventually boots up with LUKS successful, but the mount does not happen, and has to be run manually with "mount -a".

Expected results:

- iscsi start happens after networking start
- LUKS unlock happens after iscsi start for iscsi devices
- final mount successful.


Additional info:

Comment 3 RHEL Program Management 2020-12-15 07:44:49 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.