This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1914955 - [Regression] Cannot install system using DVD on USB when ignoredisk is specified in kickstart
Summary: [Regression] Cannot install system using DVD on USB when ignoredisk is specif...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.3
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: 8.0
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
Sagar Dubewar
URL:
Whiteboard:
: 1920574 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-11 15:05 UTC by Renaud Métrich
Modified: 2024-03-25 17:48 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
.The USB CD-ROM drive is not available as an installation source in Anaconda Installation fails when the USB CD-ROM drive is the source for it and the Kickstart `ignoredisk --only-use=` command is specified. In this case, Anaconda cannot find and use this source disk. To work around this problem, use the `harddrive --partition=sdX --dir=/` command to install from USB CD-ROM drive. As a result, the installation does not fail.
Clone Of:
Environment:
Last Closed: 2023-09-18 15:02:31 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Logs of rh82 installation (success) and rh83 installation (failure) + kickstart (1.88 MB, application/x-tar)
2021-01-11 15:05 UTC, Renaud Métrich
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-4707 0 None Migrated None 2023-09-18 15:02:26 UTC
Red Hat Knowledge Base (Solution) 5783271 0 None None None 2021-02-08 08:07:24 UTC

Description Renaud Métrich 2021-01-11 15:05:44 UTC
Created attachment 1746296 [details]
Logs of rh82 installation (success) and rh83 installation (failure) + kickstart

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

Comment 2 Jan Stodola 2021-01-19 12:52:28 UTC
As a workaround you can comment out the "cdrom" kickstart command and use the "harddrive" command instead:

harddrive --partition=sdX --dir=/

(change sdX to the name of the USB device, for example sdb).

Can you please confirm this workaround works for you?

Comment 3 Renaud Métrich 2021-01-19 13:27:55 UTC
Perfect, that works!

Comment 8 Jan Stodola 2021-01-26 19:18:36 UTC
*** Bug 1920574 has been marked as a duplicate of this bug. ***

Comment 21 haisun 2022-09-05 16:25:40 UTC
i think it's good to delete with cdrom, and we also need to see why is it error with this environment.

Comment 23 RHEL Program Management 2023-09-18 15:00:42 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 24 RHEL Program Management 2023-09-18 15:02:31 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


Note You need to log in before you can comment on or make changes to this bug.