Bug 1018860

Summary: Installer hangs if SSL enabled
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Pavol Srna <psrna>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Drozd <pdrozd>
Severity: urgent Docs Contact:
Priority: high    
Version: 6.0.0 GACC: atangrin, jcoleman, jsedlace, psrna, soa-p-jira
Target Milestone: ER7   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
installer-jstack
none
runtime-jstack
none
screenshot
none
win-screenshot
none
logs-rhel
none
logs-win none

Description Pavol Srna 2013-10-14 14:31:48 UTC
Description of problem:

Installer hangs if SSL is enabled. 
Please find screenshot and jstack attached.

Comment 1 Pavol Srna 2013-10-14 14:32:29 UTC
Created attachment 812039 [details]
installer-jstack

Comment 2 Pavol Srna 2013-10-14 14:32:53 UTC
Created attachment 812040 [details]
runtime-jstack

Comment 3 Pavol Srna 2013-10-14 14:33:21 UTC
Created attachment 812041 [details]
screenshot

Comment 4 Pavol Srna 2013-10-14 14:34:29 UTC
Tried with ER4-respin 3 installer from 11-Oct-2013 08:23

Comment 6 Pavol Srna 2013-10-15 13:45:59 UTC
Installer doesn't hang on windows (in opposite to RHEL), but there is a "Failed to connect to Management Interface after 5 attempts" message (see screenshot attached) and the installers says "Installation successfully completed" at the end.

Comment 7 Pavol Srna 2013-10-15 13:46:27 UTC
Created attachment 812539 [details]
win-screenshot

Comment 8 Pavol Srna 2013-10-15 14:36:17 UTC
Created attachment 812560 [details]
logs-rhel

Comment 9 Pavol Srna 2013-10-15 14:36:48 UTC
Created attachment 812561 [details]
logs-win

Comment 10 Thomas Hauser 2013-10-15 14:56:14 UTC
This issue is due to the CommandContext API writing a prompt to the user.

Comment 11 Thomas Hauser 2013-10-18 19:08:08 UTC
This issue is due to the CommandContext blocking on user input:

https://community.jboss.org/thread/212065

It has been worked around by enabling SSL security later in the installation process, so the installer doesn't try to connect with the SSL security running (the CommandContext would then block on user input at that point). This should probably be addressed in the CommandContext itself (provide some way to programmatically provide a Temporary SSL acceptance response, or to optionally not block on user input, something along those lines. 

This issue is resolved in post-beta builds, whatever ER or designation that may be.

Comment 12 Anne-Louise Tangring 2013-10-22 13:42:50 UTC
Not a beta blocker.

Comment 13 Pavol Srna 2013-12-13 13:25:45 UTC
Verified in ER7.