-
Bug
-
Resolution: Unresolved
-
Major
-
rhel-8.3.0, rhel-9.3.0
-
None
-
Important
-
rhel-sst-installer
-
ssg_front_door
-
18
-
2
-
False
-
-
Yes
-
None
-
None
-
None
-
Known Issue
-
-
Done
-
-
All
-
None
Description of problem:
This is a regression compared to RHEL8.2 DVD.
When installing a system using the RHEL8.3 DVD connected to a USB port and a kickstart specifies "ignoredisk --only-use=sda" (where "sda" is the hard disk), the following error is seen and unattended installation is aborted:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
anaconda.log:14:30:23,312 WRN kickstart: Command cdrom will be parsed in DBus module.
[...]
anaconda.log:14:30:32,091 ERR payload.manager: PayloadError: Found no CD-ROM
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
This seems due to having the DVD seen as "/dev/sdX" (e.g. /dev/sdb) hence being ignored/blacklisted.
The issue doesn't happen with RHEL8.2. With RHEL8.2, the anaconda.log message about "cdrom" stanza is not present, there is this instead:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
anaconda.log:14:52:04,797 DBG payload: Setting up cdrom install device
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Version-Release number of selected component (if applicable):
anaconda-33.16.3.26-1.el8
How reproducible:
ALWAYS
Steps to Reproduce:
1. Configure a VM to present the DVD as a USB CDROM
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='[...]/rhel-8.3-x86_64-dvd.iso'/>
<target dev='sdd' bus='usb'/>
<readonly/>
<boot order='1'/>
<address type='usb' bus='0' port='4'/>
</disk>
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
2. Boot on the DVD and load the kickstart in attachment (ks.cfg in logs archive)
ks.cfg excerpt:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
ignoredisk --only-use=sda
clearpart --initlabel --drives=sda
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Actual results:
Unattended installation doesn't happen
Expected results:
Unattended installation happens
- is cloned by
-
RHEL-58829 RHEL-10: [Regression] Cannot install system using DVD on USB when ignoredisk is specified in kickstart
- Planning
- split to
-
INSTALLER-4023 Remove blivet devicetree use from Payload parts
- In Progress
- external trackers