Bug 1942574

Summary: RHEL 8 kickstart text mode installation halts when just --encrypted is mentioned without --passphrase
Product: Red Hat Enterprise Linux 8 Reporter: Alena <alrodrig>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 8.3CC: jcastran, jstodola, pdwyer
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-03 12:20:20 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:

Description Alena 2021-03-24 14:48:50 UTC
Description of problem:

When RHEL 8 is kickstarted in text mode using the following partitioning, it fails with unfinished Disk configuration (Error checking storage configuration) error and would not prompt for luks password as RHEL 7 does graphical installation

~~~~~~~~~~~~~~~~~~~~~~~~
# Use graphical install
graphical
[...]
# Disk partitioning information
part /boot --fstype="ext4" --size=500
part /boot/eft --fstype="efi" --size=500
part swap --fstype="swap" --size=4096
part pv.01 --fstype="lvmpv" --size=1 --grow --encrypted
volgroup vg pv.01
[...]
~~~~~~~~~~~~~~~~~~~~~~~~~

When '--passphrase' is added the installation will complete.

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

RHEL 8.3

How reproducible:

Always when '--passphrase' is not used

Steps to Reproduce:

1. Use the partitioning mentioned above and start the installation in graphical.

2. See error

Actual results:

Anaconda installer does not prompt user to enter passphrase.

See the below error in anaconda logs

08:10:14,080 DEBUG anaconda: Run sanity check verify_luks_devices_have_key.
08:10:14,080 DEBUG anaconda: Found sanity error: LUKS device vda3 has no encryption key
08:10:14,080 DEBUG anaconda: Storage check finished with failure(s).
08:10:14,081 ERR anaconda: LUKS device vda3 has no encryption key
08:10:14,081 INFO anaconda: Thread Done: AnaCheckStorageThread (xxxxxxxxxxxx)
08:10:14,202 INFO anaconda: spoke is ready: StorageSpoke
[...]
08:10:21,441 DEBUG anaconda: updated device_disks to [u'vda']
08:10:21,442 DEBUG anaconda: updated device_container_name to vg
08:10:21,442 DEBUG anaconda: updated device_container_raid_level to None
08:10:21,443 DEBUG anaconda: updated device_container_encrypted to True
08:10:21,443 DEBUG anaconda: updated device_container_size to 145.8 GiB
08:10:21,460 DEBUG anaconda: device_type_changed: 0 <gi.overrides.Gtk.TreeModelRow object at 0x7f456c0a07c50>


Expected results:

Anaconda installer prompts user for passphrase when it is not specified in the kickstart with '--encrypt'


Additional info:

Similar to bug Bug 1185466 which was filed in RHEL 7.

Comment 1 Jan Stodola 2022-10-03 12:20:20 UTC
This problem will be fixed in RHEL-8.7 via bug 2029101. I'm closing this one as a duplicate.

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