Bug 2001913

Summary: Anaconda prints an incorrect advice when ksdevice= is used on the kernel command line
Product: Red Hat Enterprise Linux 8 Reporter: Jan Stodola <jstodola>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5CC: anaconda-maint-list, jkonecny, lmiksik, pzatko, rvykydal, sbarcomb
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-33.16.5.5-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2002722 (view as bug list) Environment:
Last Closed: 2021-11-09 18:42:44 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:
Bug Depends On:    
Bug Blocks: 1956679, 2002722    

Description Jan Stodola 2021-09-07 12:32:15 UTC
Description of problem:
When the ksdevice= boot argument is used on the kernel command line, the installer prints the following warning:

...
[    9.023243] dracut-cmdline[329]: Warning: 'ksdevice=bootif' 
[    9.024750] dracut-cmdline[329]: Warning: ksdevice has been deprecated. All usage of Anaconda boot arguments without 'inst.' prefix have been deprecated and will be removed in a future major release. Please use inst.ks.device instead. 
...

Although the "ksdevice" has been marked as deprecated, it still can be used. On the other hand, the recommended "inst.ks.device" argument is not implemented at all. The user gets an incorrect recommendation and if the recommendation is applied, it could lead to a regression.

Version-Release number of selected component (if applicable):
RHEL-8.4 GA

How reproducible:
Always

Steps to Reproduce:
1. Boot the installer with the ksdevice= argument - for example "ksdevice=bootif"

Actual results:
The installer recommends to use "inst.ks.device" instead, but the argument is not implemented at all.

Expected results:
The warning doesn't suggest using an unimplemented argument.

Comment 5 Jan Stodola 2021-09-07 13:22:27 UTC
The same problem should be fixed in RHEL-9, see bug 2000140.

Comment 6 Radek Vykydal 2021-09-08 07:52:28 UTC
https://github.com/rhinstaller/anaconda/pull/3593

Comment 7 Jan Stodola 2021-09-08 09:02:48 UTC
The change from comment 6 was successfully tested by QE - the warning is not shown any more.

Comment 14 Jan Stodola 2021-09-21 10:40:08 UTC
anaconda-33.16.5.5-1.el8 is present in RHEL-8.5.0-20210921.n.0, moving to VERIFIED.

Comment 16 errata-xmlrpc 2021-11-09 18:42:44 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 (anaconda bug fix and enhancement update), 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-2021:4254