Bug 1141175

Summary: Failed to install JON if jboss.bind.address.management=0.0.0.0
Product: [JBoss] JBoss Operations Network Reporter: Jeeva Kandasamy <jkandasa>
Component: InstallerAssignee: John Mazzitelli <mazz>
Status: CLOSED CURRENTRELEASE QA Contact: Jeeva Kandasamy <jkandasa>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: mazz
Target Milestone: ER04   
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 14:00:37 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-fail
none
install-success none

Description Jeeva Kandasamy 2014-09-12 11:44:14 UTC
Created attachment 936931 [details]
installation-fail

Description of problem:
Installation failed if the jboss management interface set to 0.0.0.0 (jboss.bind.address.management=0.0.0.0).

ERROR [org.rhq.enterprise.server.installer.Installer] The installer will now exit due to previous errors: java.lang.Exception: Cannot obtain client connection to the RHQ app server!!

I can install successfully when I use hostname or public IP of the host as management bind interface(jboss.bind.address.management).

Version-Release number of selected component (if applicable):
JBoss Operations Network
Version : 3.3.0.ER02
Build Number : 4fbb183:7da54e2
GWT Version : 2.5.0
SmartGWT Version : 3.0p

How reproducible:
always

Steps to Reproduce:
1. Set jboss.bind.address.management=0.0.0.0 in rhq-server.properties
2. run ./rhqctl install

Additional info: server error log is attached.

Comment 1 John Mazzitelli 2014-09-15 21:02:52 UTC
Actually, it is not recommended that customers change that from the local loopback adderss because under normal circumstances, you don't want remote clients able to connect to the JON Server over the management interface.

But, just in case someone has a legitimate reason for doing this, I fixed it so the installer will still work if the management bind address binds to all adapters ("0.0.0.0")

committed to master:

commit 801f6cb172d9b313383fbf58d2cce55123ab6c66
Author: John Mazzitelli <mazz>
Date:   Mon Sep 15 17:00:45 2014 -0400

    BZ 1141175 - make sure installer works even if the management bind address is set to 0.0.0.0

Comment 2 John Mazzitelli 2014-09-15 22:38:17 UTC
3.3 branch commit:

commit aaa3f789bb81fa3322a529e1f771dea5a75936ec
Author: John Mazzitelli <mazz>
Date:   Mon Sep 15 17:00:45 2014 -0400

    BZ 1141175 - make sure installer works even if the management bind address is set to 0.0.0.0
    (cherry picked from commit 801f6cb172d9b313383fbf58d2cce55123ab6c66)

Comment 3 Simeon Pinder 2014-10-01 21:33:42 UTC
Moving to ON_QA as available for test with build:
https://brewweb.devel.redhat.com/buildinfo?buildID=388959

Comment 4 Jeeva Kandasamy 2014-10-06 11:53:57 UTC
Created attachment 944217 [details]
install-success

Version:
JBoss Operations Network
Version : 3.3.0.ER04
Build Number : 99d2107:d7c537e
GWT Version : 2.5.0
SmartGWT Version : 3.0p

Works as expected. Installation is attached.