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 829E918EDC for ; Wed, 16 Dec 2015 08:25:42 +0000 (UTC) Received: (qmail 4801 invoked by uid 500); 16 Dec 2015 08:25:42 -0000 Delivered-To: apmail-mesos-reviews-archive@mesos.apache.org Received: (qmail 4776 invoked by uid 500); 16 Dec 2015 08:25:42 -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 4761 invoked by uid 99); 16 Dec 2015 08:25:42 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2015 08:25:42 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 84A421C0112; Wed, 16 Dec 2015 08:25:41 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7004043011931308864==" MIME-Version: 1.0 Subject: Re: Review Request 41438: Added documentation on using network proxy for mesos fetcher From: "Shuai Lin" To: "Bernd Mathiske" Cc: "Shuai Lin" , "mesos" Date: Wed, 16 Dec 2015 08:25:41 -0000 Message-ID: <20151216082541.19749.49030@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Shuai Lin" X-ReviewGroup: mesos X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/41438/ X-Sender: "Shuai Lin" References: <20151216081839.19749.53511@reviews.apache.org> In-Reply-To: <20151216081839.19749.53511@reviews.apache.org> Reply-To: "Shuai Lin" X-ReviewRequest-Repository: mesos --===============7004043011931308864== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41438/ ----------------------------------------------------------- (Updated Dec. 16, 2015, 8:25 a.m.) Review request for mesos and Bernd Mathiske. Bugs: MESOS-4130 https://issues.apache.org/jira/browse/MESOS-4130 Repository: mesos Description ------- Added documentation on using network proxy for mesos fetcher Diffs ----- docs/fetcher.md ec7372293491ed9ee4e20dda3c2def72a77a3f84 Diff: https://reviews.apache.org/r/41438/diff/ Testing (updated) ------- - Set `https_proxy=http://localhost:3128` (a local squid server) in `/etc/default/mesos-slave`, restart mesos-slave, launch a new marathon task with a `https://` uri, and through the following sysdig command I can see there is data exchanging between mesos-fetcher process and port 3128. ``` sudo sysdig -A -c echo_fds proc.name=mesos-fetcher and fd.port=3128 ``` - Stop the local squid server, try to restart the marathon task, the task would fail repeatly, from slave logs there are error messages that fetcher failed to fetch the uri. ``` Dec 16 15:16:35 lin-E400 mesos-slave[24247]: E1216 15:16:35.678032 24283 slave.cpp:3342] Container '45c14132-c56a-4cff-a6b5-f57ba2670643' for executor 'testapp_web.f0ef72d2-a3c4-11e5-af60-56847afe9799' of framework 'b52179fd-8968-4 bf8-baf0-dddc8a38c903-0000' failed to start: Failed to fetch all URIs for container '45c14132-c56a-4cff-a6b5-f57ba2670643' with exit status: 2 ``` Thanks, Shuai Lin --===============7004043011931308864==--