Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 888841 - anaconda-ks.cfg created by anaconda contains unknown commands
Summary: anaconda-ks.cfg created by anaconda contains unknown commands
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pykickstart
Version: 18
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 883461 908592 (view as bug list)
Depends On: 929119
Blocks: fedora19rtt
TreeView+ depends on / blocked
 
Reported: 2012-12-19 15:55 UTC by Jan Stodola
Modified: 2014-01-30 08:33 UTC (History)
10 users (show)

Fixed In Version: pykickstart-1.99.23-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-29 19:01:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda-ks.cfg (934 bytes, text/plain)
2012-12-19 15:57 UTC, Jan Stodola
no flags Details
anaconda.log (15.73 KB, text/plain)
2012-12-19 15:57 UTC, Jan Stodola
no flags Details
anaconda.packaging.log (523.90 KB, text/plain)
2012-12-19 15:57 UTC, Jan Stodola
no flags Details
anaconda.program.log (61.74 KB, text/plain)
2012-12-19 15:58 UTC, Jan Stodola
no flags Details
anaconda.storage.log (175.35 KB, text/plain)
2012-12-19 15:58 UTC, Jan Stodola
no flags Details
syslog (66.62 KB, text/plain)
2012-12-19 15:58 UTC, Jan Stodola
no flags Details
Screen shot for OBSERVATION 1, parse error in ks file (198.02 KB, image/png)
2013-08-22 19:07 UTC, IBM Bug Proxy
no flags Details
Screen shot for OBSERVATION 2, no IP address found (110.97 KB, image/png)
2013-08-22 19:07 UTC, IBM Bug Proxy
no flags Details
The kickstart file (942 bytes, text/plain)
2013-08-22 19:07 UTC, IBM Bug Proxy
no flags Details

Description Jan Stodola 2012-12-19 15:55:06 UTC
Description of problem:
/root/anaconda-ks.cfg created by anaconda contains an unknown command:

# cat /root/anaconda-ks.cfg
...
bootloader --location=mbr --boot-drive=sda
 --type=lvm
...

See steps to reproduce.

Version-Release number of selected component (if applicable):
Fedora 18-TC3
anaconda-18.37.3

How reproducible:
always

Steps to Reproduce:
1. start graphical installation 
2. go to "Installation Destination", select all drives and click "Continue"
3. check "I don't need help, let me customize disk partitioning", click "Reclaim space"
4. remove all existing partitions
5. click "Click here to create then automatically."
6. finish partitioning
7. finish the installation and reboot
8. check /root/anaconda-ks.cfg
  
Actual results:
unknown command in kickstart:

# ksvalidator anaconda-ks.cfg 
The following problem occurred on line 24 of the kickstart file:

Unknown command: --type=lvm


Expected results:
Valid /root/anaconda-ks.cfg

Comment 1 Jan Stodola 2012-12-19 15:57:27 UTC
Created attachment 666197 [details]
anaconda-ks.cfg

Comment 2 Jan Stodola 2012-12-19 15:57:33 UTC
Created attachment 666198 [details]
anaconda.log

Comment 3 Jan Stodola 2012-12-19 15:57:37 UTC
Created attachment 666199 [details]
anaconda.packaging.log

Comment 4 Jan Stodola 2012-12-19 15:58:07 UTC
Created attachment 666200 [details]
anaconda.program.log

Comment 5 Jan Stodola 2012-12-19 15:58:11 UTC
Created attachment 666201 [details]
anaconda.storage.log

Comment 6 Jan Stodola 2012-12-19 15:58:14 UTC
Created attachment 666202 [details]
syslog

Comment 7 Chris Lumens 2012-12-19 15:58:55 UTC
I think this is a pykickstart bug, but I've not been able to reproduce it outside of anaconda.

Comment 8 Chris Lumens 2013-01-03 15:16:26 UTC
Oh, I see the pykickstart side.  There may potentially also be an anaconda part to this, given your step #5.

Comment 9 Chris Lumens 2013-02-07 14:41:22 UTC
*** Bug 908592 has been marked as a duplicate of this bug. ***

Comment 10 Jan Stodola 2013-03-29 09:55:27 UTC
Bug 929119 prevents from verification of this bug, setting bug dependency accordingly.

Comment 11 Jan Stodola 2013-07-02 09:06:12 UTC
[root@localhost ~]# rpm -q pykickstart
pykickstart-1.99.32-1.fc19.noarch
[root@localhost ~]# ksvalidator anaconda-ks.cfg
[root@localhost ~]# echo $?
0
[root@localhost ~]# grep autopart anaconda-ks.cfg 
autopart --type=lvm
[root@localhost ~]#

Moving to VERIFIED.

Comment 12 Chris Lumens 2013-08-22 18:56:23 UTC
*** Bug 883461 has been marked as a duplicate of this bug. ***

Comment 13 IBM Bug Proxy 2013-08-22 19:07:04 UTC
Created attachment 789318 [details]
Screen shot for OBSERVATION 1, parse error in ks file

Comment 14 IBM Bug Proxy 2013-08-22 19:07:17 UTC
Created attachment 789319 [details]
Screen shot for OBSERVATION 2, no IP address found

Comment 15 IBM Bug Proxy 2013-08-22 19:07:32 UTC
Created attachment 789320 [details]
The kickstart file

Comment 16 Steve Tyler 2013-08-22 20:08:03 UTC
(In reply to IBM Bug Proxy from comment #14)
> Created attachment 789319 [details]
> Screen shot for OBSERVATION 2, no IP address found

The last two messages in the screenshot are:
anaconda[868]: Starting installer, one moment...
anaconda[868]: 08:09:02 No IP addresses found, cannot continue installation.

Comment 17 Fedora End Of Life 2013-12-21 15:52:46 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 18 IBM Bug Proxy 2014-01-30 08:33:24 UTC
------- Comment From onmahaja.com 2014-01-30 08:27 EDT-------
CLOSED WONTFIX from IBM side.


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