mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benno Evers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-6237) Agent Sandbox inaccessible when using IPv6 address in patch from https://github.com/lava/mesos/tree/bennoe/ipv6
Date Wed, 12 Oct 2016 17:47:20 GMT

    [ https://issues.apache.org/jira/browse/MESOS-6237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15569389#comment-15569389
] 

Benno Evers commented on MESOS-6237:
------------------------------------

Hm, one place that definitely needs to be fixed is in master/http/http.cpp:

    Try<string> hostname = info.has_hostname()
      ? info.hostname()
      : net::getHostname(net::IP(ntohl(info.ip())));

However, this shouldn't affect the agent display if I understand the code correctly.

Can I ask how you are getting a raw IP displayed in the mesos UI anyways? I found it hard
to start an agent for testing purposes without mesos figuring out the hostname automatically,



> Agent Sandbox inaccessible when using IPv6 address in patch from https://github.com/lava/mesos/tree/bennoe/ipv6
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-6237
>                 URL: https://issues.apache.org/jira/browse/MESOS-6237
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Lukas Loesche
>            Assignee: Benno Evers
>
> Affects https://github.com/lava/mesos/tree/bennoe/ipv6 at commit 2199a24c0b7a782a0381aad8cceacbc95ec3d5c9
> When using IPs instead of hostnames the Agent Sandbox is inaccessible in the Web UI.
The problem seems to be that there's no brackets around the IP so it tries to access e.g.
http://2001:41d0:1000:ab9:::5051 instead of http://[2001:41d0:1000:ab9::]:5051



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message