Bug 1128003

Summary: If we add JON 3.2.0 to JON 3.3 HA cluster installation never ends
Product: [JBoss] JBoss Operations Network Reporter: Jeeva Kandasamy <jkandasa>
Component: InstallerAssignee: Michael Burman <miburman>
Status: CLOSED CURRENTRELEASE QA Contact: Jeeva Kandasamy <jkandasa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: miburman, tsegismo
Target Milestone: ER02   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 13:59:15 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:
Attachments:
Description Flags
installation-console-log
none
attached installation log none

Description Jeeva Kandasamy 2014-08-08 05:53:26 UTC
Created attachment 925079 [details]
installation-console-log

Description of problem:
Negative HA Test:
If we add JON 3.2.0 to JON 3.3 HA cluster installation never ends. It throws Cassandra version mismatch exception but running in infinite loop and says "Still waiting for server to initialize".

Version-Release number of selected component (if applicable):
JBoss Operations Network
Version : 3.3.0.DR01
Build Number : 6468454:dda0a47
GWT Version : 2.5.0
SmartGWT Version : 3.0p

and JON 3.2.0 GA

How reproducible:
always

Steps to Reproduce:
1. Create HA JON setup with JON 3.3 DR01
2. Add JON 3.2.0 GA in to JON 3.3 DR01 HA cluster


Actual results:
Running in infinite loop.

Expected results:
Should stop immediately and report the error properly.

Additional info: installation log is attached

Comment 1 Michael Burman 2014-08-19 13:27:58 UTC
Fixed in master (this bug is more universal than the description, but any error during rhq.ear installation was causing infinite loop, as the error was not catched):

commit f03575f1888abfee0552c24f1d6179c91331f19f
Author: Michael Burman <miburman>
Date:   Tue Aug 19 16:25:58 2014 +0300

    [BZ 1128003] Abort installation if there is an error during the rhq.ear installation

Comment 2 Thomas Segismont 2014-08-28 09:19:49 UTC
Merged into release/jon3.3.x

commit 3ee07af5f2cbc5e0302b3e2cf04aa66270b7ae63
Author: Michael Burman <miburman>
Date:   Tue Aug 19 16:25:58 2014 +0300

    (cherry picked from commit f03575f1888abfee0552c24f1d6179c91331f19f)
    Signed-off-by: Thomas Segismont <tsegismo>

Comment 3 Simeon Pinder 2014-09-03 20:31:22 UTC
Moving to ON_QA as available for test with the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=381194

Comment 5 Jeeva Kandasamy 2014-09-17 14:11:42 UTC
Created attachment 938487 [details]
attached installation log

Version 1: 
JBoss Operations Network
Version : 3.3.0.ER03
Build Number : 4aefe39:44e33a4
GWT Version : 2.5.0
SmartGWT Version : 3.0p


Version 2: 
JBoss Operations Network	
Version : 3.3.0.ER02
Build Number : 4fbb183:7da54e2
GWT Version : 2.5.0
SmartGWT Version : 3.0p

on error it's terminating the process.
log file is attached.