Bug 1896479 - Avoid using deprecated kickstart commands and command line arguments
Summary: Avoid using deprecated kickstart commands and command line arguments
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-10 16:26 UTC by Jan Stodola
Modified: 2023-06-22 01:40 UTC (History)
10 users (show)

Fixed In Version: 28.1
Clone Of:
: 1907566 (view as bug list)
Environment:
Last Closed: 2020-12-14 17:05:27 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BKR-4999 0 None None None 2023-01-14 04:57:53 UTC

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)

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