Bug 1298308

Summary: No logfile for launch-fusor-undercloud-installer
Product: Red Hat Quickstart Cloud Installer Reporter: Thom Carlin <tcarlin>
Component: fusor-installerAssignee: Jason Montleon <jmontleo>
Status: CLOSED CURRENTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0CC: apagac, arubin, jmontleo
Target Milestone: TP2Keywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-03 19:20:07 UTC Type: Bug
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: 1291836    

Description Thom Carlin 2016-01-13 17:52:58 UTC
Description of problem:

Expecting logfile for launch-fusor-undercloud-installer, none found

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

TP2

How reproducible:

100%

Steps to Reproduce:
1. Install RHCIOOO ISO
2. Log in to start launch-fusor-undercloud-installer
3. Enter values and wait for installer to finish
4. Examine /var/log

Actual results:

No logfile found

Expected results:

Logfile found

Additional info:

To fix:
Change /usr/sbin/fusor-undercloud-installer line 3
from: fusor-undercloud-install 2>&1 /var/log/fusor-undercloud-install.log
to:   fusor-undercloud-install 2>&1 > /var/log/fusor-undercloud-install.log
                                    ^ Add greater than sign

Comment 1 Thom Carlin 2016-01-13 17:59:01 UTC
Above fix is premature.  Please wait for real fix.

Comment 2 Thom Carlin 2016-01-13 19:02:48 UTC
Alternatively, we could install tmux and use the copy buffer per https://unix.stackexchange.com/questions/26548/write-all-tmux-scrollback-to-a-file

Comment 4 Antonin Pagac 2016-01-25 13:27:46 UTC
The log file is now present, but it seems it captures also the backspace key, so when user is removing the default entry, in the log it looks like:

<snip>
Enter the DNS nameserver to use for the Overcloud: 127.0.0.1^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K192.168.252.10
<snip>

Jason, please confirm this is the expected behavior.

Comment 5 Jason Montleon 2016-02-08 17:31:30 UTC
tee will indeed capture all of this input. Don't know if it is desirable, but it is expected.

Comment 6 Antonin Pagac 2016-02-09 08:27:35 UTC
Marking as verified.

RHCIOOO-7-RHEL-7-20160127.0-RHCIOOO-x86_64-dvd1.iso