Bug 2050562

Summary: kickstart installation will fail with "Warning: /dev/root does not exist" when specifying non existent network interface
Product: Red Hat Enterprise Linux 9 Reporter: David Tardon <dtardon>
Component: dracutAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED ERRATA QA Contact: Vojtech Eichler <veichler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: dracut-maint-list, dtardon, pvalena, veichler
Target Milestone: rcKeywords: Improvement, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dracut-055-30.git20220216.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 16:04:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Tardon 2022-02-04 09:32:06 UTC
This bug was initially created as a copy of Bug #1712424

I am copying this bug because: 
It still applies.


Description of problem:
kickstart installation will fail with "Warning: /dev/root does not exist" when specifying non existent network interface

Version-Release number of selected component (if applicable):
python3-kickstart-3.16.3-2.el8.noarch
redhat-release-8.0-0.44.el8.x86_64


How reproducible:
always

Steps to Reproduce:
1. use kickstart to install new vm -example (-x 'inst.ks=nfs:10.44.130.210:/storage/nfs/ks.cfg ip=10.37.193.45::10.37.195.254:255.255.252.0:hostname:eth0:off) where eth0 is interface that does not exist

Actual results:
kickstart installation will fail with "Warning: /dev/root does not exist"

Expected results:
installation would report that interface is not available, it could also report available interfaces that have link

Additional info:
tested on virtual guest with virt-install

Comment 1 Pavel Valena 2022-02-15 19:21:02 UTC
Reviewed and pre-verified in the PR: https://github.com/redhat-plumbers/dracut-rhel9/pull/25

Comment 6 errata-xmlrpc 2022-05-17 16:04:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: dracut), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:4070