Bug 2077045 - Kickstart on partition reports error: "unknown network kickstart URL: hd:disk/by-uuid/..."
Summary: Kickstart on partition reports error: "unknown network kickstart URL: hd:disk...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: anaconda
Version: 9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Jiri Konecny
QA Contact: Release Test Team
URL:
Whiteboard:
: 2178281 (view as bug list)
Depends On:
Blocks: 1942219
TreeView+ depends on / blocked
 
Reported: 2022-04-20 14:34 UTC by Jan Stodola
Modified: 2023-07-19 08:42 UTC (History)
5 users (show)

Fixed In Version: anaconda-34.25.3.7-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2211857 (view as bug list)
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-119428 0 None None None 2022-04-20 15:03:01 UTC
Red Hat Issue Tracker RTT-5339 0 None None None 2023-06-02 14:42:31 UTC
Red Hat Issue Tracker RTT-5340 0 None None None 2023-06-02 14:42:37 UTC

Description Jan Stodola 2022-04-20 14:34:07 UTC
Description of problem:
The installer prints an error when running a kickstart installation with the kickstart file on disk. Despite the error message, the kickstart file is successfully used for the installation, so it's not a blocking issue:

############## Installer errors encountered during boot ##############
unknown network kickstart URL: hd:disk/by-uuid/4bea3f40-e8f7-4990-be75-06f0cfd3ebf2:/192.168.122.236-1650464282


Version-Release number of selected component (if applicable):
RHEL-9.0
anaconda-34.25.0.29-1.el9_0

How reproducible:
Always

Steps to Reproduce:
1. Prepare a kickstart file on a disk partition.
2. Use the kickstart file during the installation (inst.ks=hd:disk/by-uuid/<UUID>:/<FILENAME>).

Actual results:
An error on the console. The kickstart file is successfully used.

Expected results:
No errors related to kickstart.

Additional info:
The error is displayed also in case of "inst.ks=cdrom:/ks.cfg" on the kernel cmdline (see bug 2178281):
"unknown network kickstart URL: cdrom:/ks.cfg"

Comment 3 Jiri Konecny 2022-05-06 08:52:39 UTC
Based on my quick look on the code it seems that we are always running fetch-kickstart-net and also fetch-kickstart-disk. The issue is that we are not able to find (correctly) the kickstart in the fetch-kickstart-net and warn user.

This seems to be just a cosmetic bug where we should look on the command line parameter and if there is prefix `hd:` then we should ignore the fetch-kickstart-net script.

Comment 5 Jiri Kortus 2022-12-01 15:15:44 UTC
Not sure if I hit the same bug, but the symptoms look similar, with the difference that in my case boot ends up in dracut emergency shell. This happens in our test where an ISO made by osbuild-composer is booted via UEFI HTTP boot. I'll attach rdsosreport, so that you can have a look if there's the same underlying cause or this is something different.

Comment 7 Jan Stodola 2022-12-05 12:50:11 UTC
Jirko, I found the following arguments on the kernel command line from comment 6, which look somehow incorrect:
... inst.updates=http://srv/anabot.img anabot=http://srv/default-partitioning.xml ...

Also "inst.ks=hd:LABEL=RHEL-9-2-0-BaseOS-x86_64:/osbuild.ks" is present twice on the kernel cmdline.

Comment 9 Jan Stodola 2023-05-04 07:04:06 UTC
*** Bug 2178281 has been marked as a duplicate of this bug. ***

Comment 10 Jan Stodola 2023-06-02 10:20:09 UTC
RHEL-8 clone: bug 2211857

Comment 12 Jiri Konecny 2023-06-02 11:32:58 UTC
This is happening also for inst.ks=cdrom.

Comment 13 Jiri Konecny 2023-06-02 12:20:53 UTC
PR: https://github.com/rhinstaller/anaconda/pull/4807


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