-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
rhel-8.3.0, rhel-9.3.0
-
None
-
Important
-
rhel-sst-installer
-
ssg_front_door
-
None
-
False
-
-
None
-
None
-
None
-
None
-
Known Issue
-
-
Done
-
-
All
-
None
Created attachment 1757202 [details]
Anaconda logs with kickstart in run/install
Description of problem:
When the hard drive contains a preloaded CDROM image, the system cannot be installed, due to python-blivet excluding any hard disk containing a iso9660 file system partition.
This happens even when the installation is performed without using a DVD at all.
The reason for this seems new detection code introduced with 8.3
Version-Release number of selected component (if applicable):
anaconda-33.16.3.26-1.el8
How reproducible:
ALWAYS
Steps to Reproduce:
1. Attach a disk to a VM and copy a DVD on it
- dd if=/dev/sr0 of=/dev/sdb bs=10M
2. Detach the disk and attach it to a new VM to install
The VM was configured with a DVD drive (unused), but this doesn't change anything.
3. Install the system using a kickstart (/run/install/ks.cfg in anaconda.tar.gz)
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
[...]
zerombr
clearpart --all --initlabel
autopart --type=lvm
bootloader --location=mbr
[...]
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Actual results:
Console:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Saving storage configuration...
Failed to save storage configuration
No usable disks.
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
storage.log:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
DEBUG:anaconda.storage:Marking device sr0 as protected.
DEBUG:anaconda.storage:Marking device sda as protected.
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Expected results:
/dev/sda gets repartitioned and system installs
Additional info:
This is a critical issue for customers deploying system booting on a pre-initialized hard disk hosting a pre-boot environment.