Bug 1517719

Summary: RHQ storage nodes fail to form the cluster due to rpc_address set to the hostname instead to the IP address as configured in the rhq-server.properties file
Product: [Other] RHQ Project Reporter: bkramer <bkramer>
Component: InstallerAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.13CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1517717    

Description bkramer 2017-11-27 10:10:19 UTC
Description of problem:
In some cases, the host name definition resolves to the local machine's loopback interface - 127.0.0.1. Because of that, an IP address was used as a server's bind address in the rhq-server.properties file. However, RHQ storage node, installed this way, fails to form the cluster due to rpc_address set to the hostname (which is resolved as 127.0.0.1) instead to the IP address as configured in the rhq-server.properties file

Version-Release number of selected component (if applicable):
RHQ 4.12

How reproducible:
Always

Steps to Reproduce:
1. 
2.
3.

Actual results:
RHQ storage node fails to form the cluster with another storage nodes;

Expected results:
RHQ storage node is installed using IP address specified in the rhq-server.properties file. 

Additional info:

As a workaround, navigate to $JON_SERVER_HOME/rhq-storage/conf/cassandra.yaml file and change the value of the rpc_address to the IP address that is defined in the rhq-server.properties file.