Bug 1026241

Summary: Installer changes property name for domain-controller remote host port in host-slave.xml file
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: Francisco Canas <fcanas>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: fcanas, jdoyle, jkudrnac, mtjandra, thauser
Target Milestone: CR3   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:55:51 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:

Description Petr Kremensky 2013-11-04 09:21:38 UTC
Description of problem:
 Property name for domain-controller's remote host port in host-slave.xml file is changed by installation process.

Version-Release number of selected component (if applicable):
 EAP 6.2.0.ER7

How reproducible:
 Always

Steps to Reproduce:
 1. Install EAP, use default values, no need to do some special configuration just use default values.
 2. Open host-slave.xml file.

Actual results:
<domain-controller>
    <remote host="${jboss.domain.master.address}" port="${jboss.management.native.port:9999}" security-realm="ManagementRealm"/>
</domain-controller>

Expected results:
<domain-controller>
    <remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}" security-realm="ManagementRealm"/>
</domain-controller>

Comment 1 Francisco Canas 2013-11-04 20:28:53 UTC
Corrected the remote port property for domain-controller.

See:
http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=f0670d8e7e39203369a9488f00c2c2a6fadd0a9f

Comment 2 Petr Kremensky 2013-11-14 10:56:13 UTC
Verified on EAP 6.2.0.CR1 installer. Remote port now use correct property in host-slave.xml.

Comment 3 Petr Kremensky 2013-11-19 08:58:29 UTC
This is broken again with EAP 6.2.0.CR2. Same issue as in description.

Comment 4 Petr Kremensky 2013-11-19 10:07:16 UTC
Please see also bug 1030512, comment 2 as it seem to be related.

Comment 5 Miles Tjandrawidjaja 2013-11-19 18:35:44 UTC
Property is now retained.
Remote host port will keep the "jboss.domain.master.port".
http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=8c1bb2e4452496400a423bc22e4eac60b0835302

Comment 6 Petr Kremensky 2013-11-20 06:31:15 UTC
Keep in mind that also port number for remote host should stay 9999 no matter what port number will user choose to use for jboss.management.native.port.

Comment 7 Miles Tjandrawidjaja 2013-11-20 14:23:45 UTC
Updated as needed.

http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2

Comment 8 Petr Kremensky 2013-11-22 07:23:01 UTC
Verified on EAP 6.2.0.CR3 installer.