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 684AD200CD3 for ; Fri, 14 Jul 2017 00:40:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 66B3916D077; Thu, 13 Jul 2017 22:40:04 +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 AE40116D072 for ; Fri, 14 Jul 2017 00:40:03 +0200 (CEST) Received: (qmail 97055 invoked by uid 500); 13 Jul 2017 22:40:02 -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 97046 invoked by uid 99); 13 Jul 2017 22:40:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2017 22:40:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 6EE041A011C for ; Thu, 13 Jul 2017 22:40:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id EN8M_edsh_RP for ; Thu, 13 Jul 2017 22:40:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E60825FD18 for ; Thu, 13 Jul 2017 22:40:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5FFF9E0BB3 for ; Thu, 13 Jul 2017 22:40:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 193C624745 for ; Thu, 13 Jul 2017 22:40:00 +0000 (UTC) Date: Thu, 13 Jul 2017 22:40:00 +0000 (UTC) From: "Benjamin Mahler (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-7628) Changing from --ip to --advertise_ip makes the mesos-slaves not take any new jobs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 13 Jul 2017 22:40:04 -0000 [ https://issues.apache.org/jira/browse/MESOS-7628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086543#comment-16086543 ] Benjamin Mahler commented on MESOS-7628: ---------------------------------------- {{--ip}} and {{--advertise_ip}} are independent (both can be set at the same time), what do you mean by "replacing it with {{--advertise_ip}}" Can you show how you set both of these flags before and after? > Changing from --ip to --advertise_ip makes the mesos-slaves not take any new jobs > --------------------------------------------------------------------------------- > > Key: MESOS-7628 > URL: https://issues.apache.org/jira/browse/MESOS-7628 > Project: Mesos > Issue Type: Bug > Affects Versions: 0.28.1 > Environment: CentOS Linux release 7.2.1511 (Core) > Reporter: Carles Figuerola > > We had been running an extensive environment with all the mesos agents using the --ip flag so the masters could find them, as this makes it bind to only that IP and calls to http://localhost:5051 wouldn't work, we found that replacing it for --advertise_ip would make the agents findable by the masters but the process would bind to 0.0.0.0 instead. Upon doing this in a live environment, the masters won't schedule any tasks to the agents: > master log: > {code} > Jun 06 14:30:16 mesosmst002.us-west-2.lab.example.com mesos-master[869]: E0606 14:30:16.905573 918 process.cpp:1958] Failed to shutdown socket with fd 45: Transport endpoint is not connected > Jun 06 14:32:24 mesosmst002.us-west-2.lab.example.com mesos-master[869]: E0606 14:32:24.137552 918 process.cpp:1958] Failed to shutdown socket with fd 29: Transport endpoint is not connected > Jun 06 14:32:41 mesosmst002.us-west-2.lab.example.com mesos-master[869]: E0606 14:32:41.033612 918 process.cpp:1958] Failed to shutdown socket with fd 45: Transport endpoint is not connected > {code} > agent logs: > {code} > Jun 06 14:32:37 ip-10-24-XX-XX.us-west-2.lab.example.com mesos-slave[26507]: E0606 14:32:37.103865 26516 process.cpp:1958] Failed to shutdown socket with fd 24: Transport endpoint is not connected > Jun 06 14:32:37 ip-10-24-XX-XX.us-west-2.lab.example.com mesos-slave[26507]: E0606 14:32:37.103961 26516 process.cpp:1958] Failed to shutdown socket with fd 23: Transport endpoint is not connected > Jun 06 14:32:37 ip-10-24-XX-XX.us-west-2.lab.example.com mesos-slave[26507]: E0606 14:32:37.104019 26516 process.cpp:1958] Failed to shutdown socket with fd 21: Transport endpoint is not connected > Jun 06 14:32:37 ip-10-24-XX-XX.us-west-2.lab.example.com mesos-slave[26507]: E0606 14:32:37.104082 26516 process.cpp:1958] Failed to shutdown socket with fd 15: Transport endpoint is not connected > Jun 06 14:34:47 ip-10-24-XX-XX.us-west-2.lab.example.com mesos-slave[26507]: E0606 14:34:47.151888 26516 process.cpp:1958] Failed to shutdown socket with fd 24: Transport endpoint is not connected > Jun 06 14:34:47 ip-10-24-XX-XX.us-west-2.lab.example.com mesos-slave[26507]: E0606 14:34:47.152065 26516 process.cpp:1958] Failed to shutdown socket with fd 23: Transport endpoint is not connected > Jun 06 14:34:47 ip-10-24-XX-XX.us-west-2.lab.example.com mesos-slave[26507]: E0606 14:34:47.152196 26516 process.cpp:1958] Failed to shutdown socket with fd 21: Transport endpoint is not connected > Jun 06 14:34:47 ip-10-24-XX-XX.us-west-2.lab.example.com mesos-slave[26507]: E0606 14:34:47.152262 26516 process.cpp:1958] Failed to shutdown socket with fd 15: Transport endpoint is not connected > {code} > When testing this in another region on a new cluster with this flag enabled, the tasks get scheduled and the system works as expected. > Any help is appreciated, thanks -- This message was sent by Atlassian JIRA (v6.4.14#64029)