Bug 1019160

Summary: Add operation result into post-install logs
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: fcanas
Target Milestone: ER6   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:55:44 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Kremensky 2013-10-15 08:47:26 UTC
Description of problem:
 It would be nice to have results of all CLI operations performed during post-install configuration in post-install logs. This way user can immediately identify the reason why post-install configuration failed without manually reproducing all CLI operations that installer have made.

Version-Release number of selected component (if applicable):
 EAP 6.2.0. ER5

How reproducible:
 Always

Steps to Reproduce:
 1. Use BZ1019156 steps to fail the installation
 2. observe post-install logs inside $JBOSS_HOME/postinstall-logs


Actual results:
 No CLI operation results inside.

Expected results:
 Result of each command is stored inside logs.

Comment 1 Francisco Canas 2013-10-15 15:45:38 UTC
Some big changes to the logging mechanisms:
- All CLI operations are now set to verbose and their results logged 
- The postinstall-logs folder is removed. Instead, there is one file at $INSTALL_PATH/InstallationLog.txt that contains all installation result logs (including the CLI operations)

See this commit, and other related commits for details:
http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=d6dadd5f45435e301351f83fc09c1d1cacd3fbdd

Comment 2 Petr Kremensky 2013-10-18 09:42:43 UTC
All possible information (also CLI commnad outputs) can be now found inside $INSTALL_PATH/InstallationLog.txt file. Good job!

Verified on EAP 6.2.0.ER6 installer.