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 1171745 - Anaconda cycles in x3270 terminal
Summary: Anaconda cycles in x3270 terminal
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 21
Hardware: s390x
OS: Linux
high
high
Target Milestone: ---
Assignee: Samantha N. Bueno
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2014-12-08 14:15 UTC by Jan Stodola
Modified: 2014-12-10 12:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-10 12:50:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Stodola 2014-12-08 14:15:49 UTC
Description of problem:
Anaconda cycles in x3270 terminal early after starting the installation, trying to ask the user to select vnc or text mode. Unfortunately, no input from the user is accepted, so it is not possible to continue with the installation:

[   77.364890] anaconda[1884]: Starting installer, one moment... 
[   77.365161] anaconda[1884]: anaconda 21.48.16-1 for Fedora 20141125 (pre-rele
ase) started. 
[   77.365283] anaconda[1884]: * installation log files are stored in /tmp durin
g the installation 
[   77.365406] anaconda[1884]: * shell is available in second TMUX pane (ctrl+b,
 then press 2) 
[   77.365523] anaconda[1884]: * if the graphical installation interface fails t
o start, try again with the 
[   77.365640] anaconda[1884]: inst.text bootoption to start text installation 
[   77.365759] anaconda[1884]: * when reporting a bug add logs from /tmp as sepa
rate text/plain attachments 
[   77.365875] anaconda[1884]: 13:34:04 DISPLAY variable not set. Starting text 
mode. 
[   79.371238] anaconda[1884]: =================================================
=============================== 
[   79.371549] anaconda[1884]: =================================================
=============================== 
[   79.371674] anaconda[1884]: VNC 
[   79.371797] anaconda[1884]: Text mode provides a limited set of installation 
options. It does not offer cust 
[   79.371921] anaconda[1884]: om partitioning for full control over the disk la
yout. Would you like to use VNC 
[   79.372046] anaconda[1884]: mode instead? 
[   79.372182] anaconda[1884]: 1) Start VNC 
[   79.372309] anaconda[1884]: 2) Use text mode 
[   79.372434] anaconda[1884]: Please make your choice from above ['q' to quit |
 'c' to continue | 
[   79.372566] anaconda[1884]: 'r' to refresh]:   Please make your choice from a
bove ['q' to quit | 'c' to continue | 
[   79.372694] anaconda[1884]: 'r' to refresh]:   Please make your choice from a
bove ['q' to quit | 'c' to continue | 
[   79.373054] anaconda[1884]: 'r' to refresh]:   Please make your choice from a
bove ['q' to quit | 'c' to continue | 
[   79.374569] anaconda[1884]: 'r' to refresh]:   Please make your choice from a
bove ['q' to quit | 'c' to continue | 
[   79.376428] anaconda[1884]: 'r' to refresh]: ================================
================================================                                            
[   79.376601] anaconda[1884]: =================================================
=============================== 
[   79.376724] anaconda[1884]: VNC 
[   79.376844] anaconda[1884]: Text mode provides a limited set of installation 
options. It does not offer cust 
[   79.376965] anaconda[1884]: om partitioning for full control over the disk la
yout. Would you like to use VNC 
[   79.377100] anaconda[1884]: mode instead? 
[   79.377221] anaconda[1884]: 1) Start VNC 
[   79.377341] anaconda[1884]: 2) Use text mode 
[   79.377461] anaconda[1884]: Please make your choice from above ['q' to quit |
 'c' to continue | 
[   79.377585] anaconda[1884]: 'r' to refresh]:   Please make your choice from a
bove ['q' to quit | 'c' to continue | 
[   79.377768] anaconda[1884]: 'r' to refresh]:   Please make your choice from a
bove ['q' to quit | 'c' to continue | 
[   79.378363] anaconda[1884]: 'r' to refresh]:   Please make your choice from a
bove ['q' to quit | 'c' to continue | 
[   79.379520] anaconda[1884]: 'r' to refresh]:   Please make your choice from a
bove ['q' to quit | 'c' to continue | 
[   79.381080] anaconda[1884]: 'r' to refresh]: ================================
================================================ 
[   79.381244] anaconda[1884]: =================================================
===============================
...


Anaconda should start sshd and prompt the user to login via ssh to continue with the installation.


Version-Release number of selected component (if applicable):
anaconda-21.48.16-1

How reproducible:
always

Steps to Reproduce:
1. start manual installation on s390x, do not specify any UI mode on the kernel cmdline

Actual results:
anaconda cycles in x3270 terminal, unable to continue with the installation

Expected results:
sshd starts, the installation continues via ssh

Additional info:
workaround is to specify vnc UI method on the kernel cmdline:
"inst.vnc"

Comment 1 Jan Stodola 2014-12-08 14:18:22 UTC
Tested on compose http://s390.koji.fedoraproject.org/test/20141125/s390x/os/

Following patch (based on rhel7-brach) fixes this issue:

diff --git a/anaconda b/anaconda
index 4ec1a12..360d5ad 100755
--- a/anaconda
+++ b/anaconda
@@ -950,7 +950,7 @@ if __name__ == "__main__":
     # see if we're on s390x and if we've got an ssh connection
     uname = os.uname()
     if uname[4] == 's390x':
-        if 'TMUX' not in os.environ and not flags.ksprompt and not flags.imageInstall:
+        if 'TMUX' not in os.environ and 'ks' not in flags.cmdline and not flags.imageInstall:
             prompt_for_ssh()
             sys.exit(0)

Comment 2 Samantha N. Bueno 2014-12-08 15:29:51 UTC
Yes, commit 8a823546531177f73a3d6e8dffa7912e32d8afa2. I forgot to cherry-pick it over, so (a) thanks for identifying the exact patch and (b) I'll push it now.

Comment 3 Fedora Update System 2014-12-08 16:37:22 UTC
anaconda-21.48.22-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/anaconda-21.48.22-1.fc21

Comment 4 Jan Stodola 2014-12-10 12:50:36 UTC
It's fixed in anaconda-21.48.22-1.fc21.

Thanks, closing the bug.


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