Bug 820648

Summary: [as7] code that discovers the domain controller address does not handle the --master-port host controller command line option
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: PluginsAssignee: Charles Crouch <ccrouch>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: urgent    
Version: 4.4CC: ccrouch, hbrock, hrupp
Target Milestone: ---   
Target Release: RHQ 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 4.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 822172 (view as bug list) Environment:
Last Closed: 2013-09-01 06:02:32 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 707223, 822172    

Description Ian Springer 2012-05-10 11:08:11 EDT
From host.xml:

       <!-- Alternative remote domain controller configuration with a host and port -->
       <!-- <remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}" security-realm="Manage
mentRealm"/> -->

From usage of domain.sh:

    --master-address=<address>          Set system property 
                                        jboss.domain.master.address to the 
                                        given value. In a default slave Host 
                                        Controller config, this is used to 
                                        configure the address of the master 
                                        Host Controller.

    --master-port=<port>                Set system property 
                                        jboss.domain.master.port to the given 
                                        value. In a default slave Host 
                                        Controller config, this is used to 
                                        configure the port used for native 
                                        management communication by the master 
                                        Host Controller.

In HostConfiguration.getHostPort(), while parsing the domain controller command line, we check for the --master-address option, but not for the --master-port option.
Comment 1 Ian Springer 2012-05-12 21:49:14 EDT
Fixed in master:

Comment 4 Heiko W. Rupp 2013-09-01 06:02:32 EDT
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.