Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1896479

Summary: Avoid using deprecated kickstart commands and command line arguments
Product: [Retired] Beaker Reporter: Jan Stodola <jstodola>
Component: generalAssignee: beaker-dev-list
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 27CC: bcl, bpeck, cbouchar, jkriz, jwakely, martstyk, otis5842, ptoman, vslavik, zeldar53179507
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 28.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1907566 (view as bug list) Environment:
Last Closed: 2020-12-14 17:05:27 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 Jan Stodola 2020-11-10 16:26:52 UTC
Description of problem:
When installing Fedora-Rawhide (future Fedora 34) in Beaker, the following warnings are printed by the installer:

[    9.574010] dracut-cmdline[299]: Warning: 'ks=<URL>' 
[    9.584962] dracut-cmdline[299]: Warning: ks has been deprecated and will be removed. Please use inst.ks instead. 
[    9.596929] dracut-cmdline[299]: Warning: 'ksdevice=00:00:1A:1B:0B:8C' 
[    9.604937] dracut-cmdline[299]: Warning: ksdevice has been deprecated and will be removed. Please use inst.ks.device instead. 
[    9.637034] dracut-cmdline[299]: Warning: 'ksdevice=<MAC>' is deprecated. Supplied BOOTIF takes precedence. 
...
Boot argument 'leavebootorder' is deprecated and will be removed in the future. Please use 'inst.leavebootorder' instead.


Also a warning is present in anaconda.log:

anaconda.log:08:46:50,377 WRN misc: /usr/lib/python3.9/site-packages/pykickstart/base.py:216: KickstartDeprecationWarning: Ignoring deprecated command on line 29:  The install command has been deprecated and no longer has any effect.  It may be removed from future releases, which will result in a fatal error from kickstart.  Please modify your kickstart file to remove this command.


The "install" kickstart command has been deprecated since Fedora 29 [1] and will be removed in Fedora 34, see [2],[3], which will cause aborted installations due to an unknown kickstart command.

* Please, use the proper kernel command line arguments with the "inst" prefix instead of the deprecated arguments.
* Do not include the "install" kickstart command for at least Rawhide, Fedora 34 and RHEL-9 and later families to avoid aborted installations in the future.

[1] https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#install
[2] https://github.com/pykickstart/pykickstart/pull/347
[3]https://github.com/rhinstaller/anaconda/pull/2985

Version-Release number of selected component (if applicable):
Beaker 27.4

Comment 1 Brian Lane 2020-11-10 17:09:18 UTC
Upstream beaker PR to remove install - https://github.com/beaker-project/beaker/pull/73

Comment 3 Jan Stodola 2020-12-14 17:57:21 UTC
Martin,
just the kickstart part of this bug was fixed, but not the part for the deprecated kernel boot arguments.
I've created a new bug 1907566 for the boot arguments.

Comment 4 Martin Styk 2020-12-14 18:06:00 UTC
Oh you right.
Thank you for the ticket. Can you please open it in GH? I guess I will do the work anyway.
I believe that the Beaker team is using JIRA now for their work and BZ is obsolete.

Comment 5 Jan Stodola 2020-12-14 18:36:00 UTC
Git Hub issue: https://github.com/beaker-project/beaker/issues/83

Comment 7 zeloaipi 2023-06-22 01:40:51 UTC Comment hidden (spam)