Bug 968037

Summary: RuntimeError: Can't have a question in command line mode!
Product: [Fedora] Fedora Reporter: Jeff Bastian <jbastian>
Component: anacondaAssignee: Samantha N. Bueno <sbueno>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: aaronngray.lists, anaconda-maint-list, dshea, g.kaviyarasu, jboggs, jonathan, lbrabec, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2497f96b2ef7c5c0bd99ddec3a5a84e440a5925938f0169990c4ee3b43b02f14
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1005384 (view as bug list) Environment:
Last Closed: 2014-04-07 15:02:30 UTC Type: ---
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: 1005384    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: backtrace
none
File: environ
none
File: ifcfg.log
none
File: ks.cfg
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: packaging.log
none
File: program.log
none
File: storage.log
none
File: syslog none

Description Jeff Bastian 2013-05-28 20:24:11 UTC
Description of problem:
I tried to kickstart install Fedora 19 and it crashed after complaining about not enough free disk space.
The following was filed automatically by anaconda:
anaconda 19.28-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 59, in prompt
    raise RuntimeError(errtxt)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 341, in _mainloop
    prompt = last_screen.prompt(self._screens[-1][1])
RuntimeError: Can't have a question in command line mode!

Version-Release number of selected component:
anaconda-19.28-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:    ks=http://termite.dfw.redhat.com/kickstart/f19-lvm-raid1.ks
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 341, in _mainloop
    prompt = last_screen.prompt(self._screens[-1][1])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 59, in prompt
    raise RuntimeError(errtxt)
RuntimeError: Can't have a question in command line mode!

Comment 1 Jeff Bastian 2013-05-28 20:24:15 UTC
Created attachment 754070 [details]
File: anaconda-tb

Comment 2 Jeff Bastian 2013-05-28 20:24:19 UTC
Created attachment 754071 [details]
File: anaconda.log

Comment 3 Jeff Bastian 2013-05-28 20:24:22 UTC
Created attachment 754073 [details]
File: backtrace

Comment 4 Jeff Bastian 2013-05-28 20:24:26 UTC
Created attachment 754074 [details]
File: environ

Comment 5 Jeff Bastian 2013-05-28 20:24:29 UTC
Created attachment 754075 [details]
File: ifcfg.log

Comment 6 Jeff Bastian 2013-05-28 20:24:33 UTC
Created attachment 754076 [details]
File: ks.cfg

Comment 7 Jeff Bastian 2013-05-28 20:24:36 UTC
Created attachment 754077 [details]
File: lsblk_output

Comment 8 Jeff Bastian 2013-05-28 20:24:39 UTC
Created attachment 754078 [details]
File: nmcli_dev_list

Comment 9 Jeff Bastian 2013-05-28 20:24:43 UTC
Created attachment 754079 [details]
File: packaging.log

Comment 10 Jeff Bastian 2013-05-28 20:24:47 UTC
Created attachment 754080 [details]
File: program.log

Comment 11 Jeff Bastian 2013-05-28 20:24:52 UTC
Created attachment 754081 [details]
File: storage.log

Comment 12 Jeff Bastian 2013-05-28 20:24:55 UTC
Created attachment 754082 [details]
File: syslog

Comment 13 Jeff Bastian 2013-05-28 20:30:24 UTC
I added the "--all" flag to the clearpart line and that fixed my installation.


I also had an error on the "raid" line: it should be
  raid pv.01 --level=1 --device=md0 raid.01 raid.02

Comment 14 Aaron N Gray 2013-12-19 00:06:37 UTC
Tried booting anaconda in cmdline mode

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019\x20i386 cmdline nomodeset BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.9.5-301.fc19.i686
package:        anaconda-19.30.13-1
product:        Fedora
reason:         RuntimeError: Can't have a question in command line mode!
release:        Cannot get release name.
version:        19

Comment 15 Samantha N. Bueno 2013-12-19 13:57:12 UTC
If you're seeing this traceback, your kickstart file is missing some critical information. See: 
https://fedoraproject.org/wiki/Anaconda_Boot_Options?rd=Anaconda/Options#cmdline


However, this should error gracefully instead of throwing a traceback. Taking since I've also got the related RHEL bug.