Return-Path: X-Original-To: apmail-mesos-reviews-archive@minotaur.apache.org Delivered-To: apmail-mesos-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6563E18CA5 for ; Mon, 13 Jul 2015 21:34:24 +0000 (UTC) Received: (qmail 44859 invoked by uid 500); 13 Jul 2015 21:34:24 -0000 Delivered-To: apmail-mesos-reviews-archive@mesos.apache.org Received: (qmail 44835 invoked by uid 500); 13 Jul 2015 21:34:24 -0000 Mailing-List: contact reviews-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@mesos.apache.org Delivered-To: mailing list reviews@mesos.apache.org Received: (qmail 44821 invoked by uid 99); 13 Jul 2015 21:34:24 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2015 21:34:24 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 1FDB8ABD28; Mon, 13 Jul 2015 21:34:23 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1421645771357543064==" MIME-Version: 1.0 Subject: Re: Review Request 36425: Enabling IP Discovery script From: "Marco Massenzio" To: "Benjamin Hindman" , "Cody Maloney" Cc: "Marco Massenzio" , "mesos" Date: Mon, 13 Jul 2015 21:34:23 -0000 Message-ID: <20150713213423.17362.4848@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Marco Massenzio" X-ReviewGroup: mesos X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/36425/ X-Sender: "Marco Massenzio" References: <20150713211202.17362.94205@reviews.apache.org> In-Reply-To: <20150713211202.17362.94205@reviews.apache.org> Reply-To: "Marco Massenzio" X-ReviewRequest-Repository: mesos --===============1421645771357543064== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On July 13, 2015, 9:12 p.m., Cody Maloney wrote: > > Generally looks reasonable to me. I haven't integration tested yet inside DCOS, will work on that before too long. > reasonable not exactly a ringing endorsement :) but I guess I'll take it... care to give me a Ship it? > On July 13, 2015, 9:12 p.m., Cody Maloney wrote: > > docs/configuration.md, line 101 > > > > > > nit: I don't like string here You're right. Changed to (both in the .md doc and the flag help string): ``` "Optional IP discovery binary: if set, it is expected to emit\n" "the IP address which Master will try to bind to.\n" "Overrides the setting in --ip." ``` - Marco ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36425/#review91518 ----------------------------------------------------------- On July 13, 2015, 7:25 p.m., Marco Massenzio wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/36425/ > ----------------------------------------------------------- > > (Updated July 13, 2015, 7:25 p.m.) > > > Review request for mesos, Benjamin Hindman and Cody Maloney. > > > Bugs: MESOS-2902 > https://issues.apache.org/jira/browse/MESOS-2902 > > > Repository: mesos > > > Description > ------- > > Jira: MESOS-2902 > > It is sometimes useful to enable an external script to > configure the IP address the Mesos Master will bind to > on the server, where it's not desirable to set the > --ip flag and/or a "wrapper" script is not a viable option. > > This patch adds a --ip_discovery_script to point to a local > script that will emit as its only output the IP address that > the Master will bind to: only spaces and newlines are allowed; > further, as we cannot use the `libprocess` sub-processing > facilities, we cannot timeout the script, should this block > for long times (or even forever). > > This will override the --ip flag, which, even if set, will be > ignored. > > > Diffs > ----- > > docs/configuration.md feee5594c88112f77ce382cb3dd8628653f92d01 > src/master/main.cpp fd4de4d0d9c3e9617408022d10b5e161bdc911e1 > > Diff: https://reviews.apache.org/r/36425/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Marco Massenzio > > --===============1421645771357543064==--