Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 50CD2200B50 for ; Sat, 13 Aug 2016 18:00:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4F210160AA6; Sat, 13 Aug 2016 16:00:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BF1FA160A73 for ; Sat, 13 Aug 2016 18:00:22 +0200 (CEST) Received: (qmail 52946 invoked by uid 500); 13 Aug 2016 16:00:22 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 52931 invoked by uid 99); 13 Aug 2016 16:00:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Aug 2016 16:00:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CE3BB2C0003 for ; Sat, 13 Aug 2016 16:00:21 +0000 (UTC) Date: Sat, 13 Aug 2016 16:00:21 +0000 (UTC) From: "haosdent (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-5961) HTTP and TCP health checks should support docker executor and bridged mode. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 13 Aug 2016 16:00:23 -0000 [ https://issues.apache.org/jira/browse/MESOS-5961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419979#comment-15419979 ] haosdent commented on MESOS-5961: --------------------------------- Thanks [~gkleiman] 's help, according to my tests, after we call {{ns::setns}} in {{HealthCheckerProcess}}, it could inject into the container network namespace not matter use {{HealthChecker}} via library way or binary way. cc [~alexr] I am adjusting my patches to support this. > HTTP and TCP health checks should support docker executor and bridged mode. > --------------------------------------------------------------------------- > > Key: MESOS-5961 > URL: https://issues.apache.org/jira/browse/MESOS-5961 > Project: Mesos > Issue Type: Improvement > Reporter: Alexander Rukletsov > Assignee: haosdent > Labels: health-check, mesosphere > > If an executor and a task, e.g. the docker executor and docker container in bridged mode, exist in different network namespaces, HTTP and TCP health checks using {{localhost}} may not work properly. One solution would be to enter the container's network in the health check binary. -- This message was sent by Atlassian JIRA (v6.3.4#6332)