Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 872269

Summary: rhq.autoinstall.public-endpoint-address property doesn't work correct
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: ConfigurationAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: urgent    
Version: JON 3.1.1CC: hrupp, mazz, mfoley
Target Milestone: ---   
Target Release: JON 3.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-02 09:07:58 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
rhq-server.properties none

Description Armine Hovsepyan 2012-11-01 17:01:58 UTC
Created attachment 636742 [details]
rhq-server.properties

Description of problem:
Setting rhq.autoinstall.public-endpoint-address property in rhq-server.properties and installing jon server via auto-install, the value of Endpoint address of the server is not being taken from the properties file.
After editing the value from GUI and restarting the server the "default" value gets back.

Version-Release number of selected component (if applicable):
JON 3.1.1.GA

How reproducible:
always

Steps to Reproduce:
1. Download jon zip
2. Unzip it
3. Change JON_HOME/bin/rhq-server.properties with the one attached - which would enable auto install
4. run sh JON_HOME/bin/rhq-server.sh start

As soon as server starts:
5. Log in to Server GUI
6. Enter Administration -> Servers

Actual results:
Endpoint Address of the installed "testing-rhq" server should be the value of rhq.autoinstall.public-endpoint-address

Expected results:
It is the host got from machine

Additional info:

Comment 2 John Mazzitelli 2012-11-01 17:07:22 UTC
I notice you set this to true - which tells me this could potentially undo what you set the autoinstallation endpoint address to:

# When this is enabled, the server at start up will compare its endpoint
# address to the host name/address found on the host machine. If they differ,
# the server endpoint address will be updated to the value found on the host
# machine. This is targeted for use in cloud deployments where IP addresses
# change frequently, but it can be of use in other deployment settings where
# you have to deal with IP address changes.
rhq.sync.endpoint-address=true

Set that value of "rhq.sync.endpoint-address" to "false" and try again to see if it behaves as you expect.

Comment 3 Armine Hovsepyan 2012-11-02 09:07:58 UTC
hi John, 

Thanks a lot for your comment. It is now working. My fault.

Closing the bug as invalid.