Bug 1638258 - ks_meta=manual adds "ignoredisk --interactive" to the kickstart even if this is deprecated
Summary: ks_meta=manual adds "ignoredisk --interactive" to the kickstart even if this ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 25
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 26.2
Assignee: Martin Styk
QA Contact: tools-bugs
URL:
Whiteboard:
: 1620579 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-11 08:29 UTC by Peter Kotvan
Modified: 2018-12-12 09:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-20 08:25:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Beaker Project Gerrit 6333 0 None MERGED --interactive for ks command ignoredisk removed from RHEL8+/Fedora 29+ 2020-06-28 08:38:40 UTC

Description Peter Kotvan 2018-10-11 08:29:02 UTC
Description of problem:
I tried to perform a manual vnc installation of RHEL-8 in beaker. So I added "manual" keyword to kickstart metadata and vnc to kernel options.

The installation was interrupted with following message:

[  304.396266] anaconda[2171]: An error occurred during reading the kickstart file:                                                          
[  304.396376] anaconda[2171]: One of --drives or --only-use must be specified for ignoredisk command.
[  304.396417] anaconda[2171]: The installer will now terminate.

On RHEL-7 it's completely ignored (or rather not implemented) and does nothing. On RHEL-8 pykickstart enforces the presence of one of two allowed options "--drives ..." or "--only-use ...".

There's a bug 1637872 filed on RHEL-8 where we've suggested to ignore it and log the deprecation message. This would probably solve the problem until RHEL-9.

Can you remove "ignoredisk --interactive" from kickstart if ks_meta=manual is used on RHEL-7 and RHEL-8?

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

How reproducible:
always

Steps to Reproduce:
1. Start RHEL-7 or RHEL-8 installation with ks_meta="manual".
2. Check the generated kickstart for "ignoredisk --interactive".

Actual results:
ks_meta=manual adds "ignoredisk --interactive" to the kickstart even if this is deprecated

Expected results:
"ignoredisk --interactive" is deprecated and shouldn't be used with RHEL-7 or RHEL-8.

Additional info:

Comment 5 Martin Styk 2018-11-20 08:25:14 UTC
"--interactive" option was removed from kickstart generation for RHEL 8/Fedora 29+ as this option is deprecated.

Comment 6 Martin Styk 2018-11-20 09:07:14 UTC
*** Bug 1620579 has been marked as a duplicate of this bug. ***


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