[CentOS] CentOS 8 installer bug

Thu Aug 27 16:19:19 UTC 2020
isdtor <isdtor at gmail.com>

Has anyone managed to create an encrypted disk partition with CentOS 8 kickstart?

1 reqpart --add-boot
2 part /boot --fstype ext3 --size=1024 --ondrive=sda
3 part pv.1 --size=1 --grow --ondrive=sda --encrypted --pashphrase="bla"
4 volgroup vol0 pv.100000
5 logvol / --vgname=vg_00 --name=lv_root --size=102400 --fstype=ext4
...

No matter what I specify in line 3, the installer bombs out. The only way to successful kickstart is to not encrypt the lvm pv. The contents of the passphrase are not to blame, installer still dies after accepting a passphrase from the console.

15:57:45,280 DBG kickstart: Looking for platform-specific boot requirements.
15:57:45,281 DBG kickstart: Applying requirements:
PartSpec instance (0x7fbd40f44320) -- 
  mountpoint = /boot/efi  lv = False  thin = False  btrfs = False
...
PartSpec instance (0x7fbd4048b4e0) -- 
  mountpoint = /boot  lv = False  thin = False  btrfs = False
...
15:57:45,283 DBG bootloader: stage1 device cannot be of type disk
15:57:45,334 DBG exception: running handleException
15:57:45,334 CRT exception: Traceback (most recent call last):