Details

      Description

      TCP health checks are always failing with UnknownHostException even though the master can resolve it. I've tracked this down to https://github.com/mesosphere/marathon/blob/master/src/main/scala/mesosphere/marathon/health/HealthCheckWorkerActor.scala#L101-L105

      I've confirmed that InetSocketAddress.createUnresolved will never attempt to resolve the hostname of the slave, and thus any TCP health check will simply fail.

      Replacing line 101 with val address = new InetSocketAddress(host, port) should solve the issue.

        Attachments

          Activity

            People

            • Assignee:
              GitHub_drexin Dario Rexin (Inactive)
              Reporter:
              chendo chendo (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: