Bug 1034057
| Summary: | Servers in host-slave.xml are not affected by assisted port offset change. | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Petr Kremensky <pkremens> |
| Component: | Installer | Assignee: | Francisco Canas <fcanas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Kremensky <pkremens> |
| Severity: | medium | Docs Contact: | Russell Dickenson <rdickens> |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | fcanas, thauser |
| Target Milestone: | ER2 | ||
| Target Release: | EAP 6.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-28 15:41:40 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: | |||
I have modified to host-slave.xml.patch to include port-offset changes. So for example, with a custom offset of 455, the resulting host-slave.xml file contained this:
<servers>
<server name="server-one" group="main-server-group">
<socket-bindings port-offset="455"/>
</server>
<server name="server-two" group="other-server-group">
<!-- server-two avoids port conflicts by incrementing the ports in
the default socket-group declared in the server-group -->
<socket-bindings port-offset="605"/>
</server>
</servers>
See commit for details:
http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=00b9631a812c492b576757481b6eedbc1d00df12
Verified on EAP 6.3.0.ER2 |
Description of problem: Offsets for server-one and server-two in host-slave.xml are not configured by assisted port offset change. Version-Release number of selected component (if applicable): EAP 6.2.0.CR3 How reproducible: Always Steps to Reproduce: 1. Start gui installation. Go to Socket Bindings screen using default configuration. 2. Select "Configure an offset for all default port bindings.", and select arbitrary offset type. 3. Finish the installation. Open the $JBOSS_HOME/domain/configuration/host-slave.xml file Actual results: <servers> <server name="server-one" group="main-server-group"/> <server name="server-two" group="other-server-group"> <socket-bindings port-offset="150"/> </server> </servers> Expected results: <servers> <server name="server-one" group="main-server-group"> <socket-bindings port-offset="$offset"/> </server> <server name="server-two" group="other-server-group"> <socket-bindings port-offset="(150 + $offset)"/> </server> </servers>