[jboss-jira] [JBoss JIRA] (WFLY-6902) Undertow mod_cluster: Multiinterface box: Manager-Address always contains hostname
Stuart Douglas (JIRA)
issues at jboss.org
Tue Aug 2 04:42:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-6902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas moved UNDERTOW-704 to WFLY-6902:
-----------------------------------------------
Project: WildFly (was: Undertow)
Key: WFLY-6902 (was: UNDERTOW-704)
Affects Version/s: 10.1.0.CR1
(was: 1.3.21.Final)
> Undertow mod_cluster: Multiinterface box: Manager-Address always contains hostname
> ----------------------------------------------------------------------------------
>
> Key: WFLY-6902
> URL: https://issues.jboss.org/browse/WFLY-6902
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 10.1.0.CR1
> Reporter: Michal Karm Babacek
> Assignee: Stuart Douglas
>
> h3. On a multi-interface Windows box
> Even though the EAP balancer instance is bound to an IP address, 10.40.128.61 in this case:
> {code}
> <interfaces>
> <interface name="management">
> <inet-address value="10.40.128.61"/>
> </interface>
> <interface name="public">
> <inet-address value="10.40.128.61"/>
> </interface>
> </interfaces>
> {code}, it advertises a hostname as its Manager-Address. The receiving worker node then might have troubles calling the balancer if it translates the hostname to a different IP address (interface on the same box...):
> Balancer:
> {code}
> 2016-04-28 18:00:00,232 DEBUG [io.undertow] (default I/O-2) UT005040: Gonna send payload:
> HTTP/1.0 200 OK
> Date: Thu, 28 Apr 2016 18:00:00 -0700
> Sequence: 11
> Digest: d356f44c4372f38eeb064e214b61b3e0
> Server: 73a81e63-9938-42ce-bd17-92e2aeef3991
> X-Manager-Address: atomic-0.yada.bla.bla.redhat.com:8847
> X-Manager-Url: /
> X-Manager-Protocol: https
> X-Manager-Host: atomic-0.yada.bla.bla.redhat.com
> {code}
> Worker:
> {code}
> MODCLUSTER000043: Failed to send INFO command to atomic-0.yada.bla.bla.redhat.com/169.254.47.37:8847: Connection refused: connect
> {code}
> i.e. instead of using 10.40.128.61 the balancer is bound to, worker tries to call anotehr interface and fails.
> Suggestion: If user explicitly uses IP address instead of a hostname, it should be either honoured or at least explicitly configurable for the Manager-Address attribute. IMHO.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list