Bug 1751912

Summary: Boot hangs when trying to unlock multiple LUKS devices with clevis
Product: Red Hat Enterprise Linux 8 Reporter: Sergio Correia <scorreia>
Component: clevisAssignee: Sergio Correia <scorreia>
Status: CLOSED DUPLICATE QA Contact: Martin Zelený <mzeleny>
Severity: high Docs Contact:
Priority: high    
Version: 8.0CC: dapospis, mzeleny, tjaros
Target Milestone: rcKeywords: Triaged
Target Release: 8.0   
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-02-13 11:02:42 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:
Embargoed:
Bug Depends On: 1752050, 1777037    
Bug Blocks:    

Description Sergio Correia 2019-09-13 04:48:55 UTC
Description of problem:

Boot hangs when trying to unlock multiple LUKS devices

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

systemd-239-13.el8.x86_64
dracut-049-10.git20190115.el8.x86_64
clevis-11-2.el8.x86_64
clevis-systemd-11-2.el8.x86_64
clevis-dracut-11-2.el8.x86_64
clevis-luks-11-2.el8.x86_64

How reproducible:

Every time.


Steps to Reproduce:
1.  Install RHEL 8.0 w/ multiple LUKS1 devices
2.  Configure the LUKS devices to be decrypted with tang server
3.  Reboot

Actual results:

Boot hangs without decrypting the non-root partitions.
The following message is observed:

"A start job is running for <device> (2min 11s / no limit)"

Expected results:

All devices should decrypt without user intervention.

Additional info:

Partition layout used:

$ lsblk
NAME                                            MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
sr0                                              11:0    1 1024M  0 rom
vda                                             252:0    0   20G  0 disk
├─vda1                                          252:1    0    1G  0 part  /boot
└─vda2                                          252:2    0   19G  0 part
  ├─rhel-root                                   253:0    0    8G  0 lvm
  │ └─luks-d94bb88d-2de3-4809-a188-01eed1ebb94b 253:4    0    8G  0 crypt /
  ├─rhel-swap                                   253:1    0    1G  0 lvm
  │ └─luks-db8c178b-f893-4144-8c13-2c5833bbda1e 253:3    0 1022M  0 crypt [SWAP]
  ├─rhel-usr                                    253:2    0    2G  0 lvm
  │ └─luks-1f3277c5-a396-47e2-9e1f-29c976b2f245 253:5    0    2G  0 crypt /usr
  ├─rhel-var                                    253:6    0    2G  0 lvm
  │ └─luks-c695d0af-b6a0-4e93-941f-53c0f36c865d 253:14   0    2G  0 crypt /var
  ├─rhel-tmp                                    253:7    0    1G  0 lvm
  │ └─luks-ea73ddab-317b-4001-b406-f4a3113485eb 253:13   0 1022M  0 crypt /tmp
  ├─rhel-var_log                                253:8    0    1G  0 lvm
  │ └─luks-e1f271fd-e1ae-434f-838b-d278715a02a4 253:17   0 1022M  0 crypt /var/log
  ├─rhel-var_log_audit                          253:9    0    1G  0 lvm
  │ └─luks-3f761f91-cea9-4dba-a8ce-87a934d6f0ad 253:16   0 1022M  0 crypt /var/log/audit
  ├─rhel-home                                   253:10   0    1G  0 lvm
  │ └─luks-595607f0-7e66-47a4-8ce7-d7637fe159ce 253:12   0 1022M  0 crypt /home
  └─rhel-opt                                    253:11   0    2G  0 lvm
    └─luks-c85ec99c-2ba2-4e7a-bc76-7982fdfea674 253:15   0    2G  0 crypt /opt

Comment 3 Sergio Correia 2020-02-13 11:02:42 UTC

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