Return-Path: X-Original-To: apmail-aurora-reviews-archive@minotaur.apache.org Delivered-To: apmail-aurora-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 9565318552 for ; Fri, 29 Jan 2016 20:38:06 +0000 (UTC) Received: (qmail 17400 invoked by uid 500); 29 Jan 2016 20:37:32 -0000 Delivered-To: apmail-aurora-reviews-archive@aurora.apache.org Received: (qmail 17338 invoked by uid 500); 29 Jan 2016 20:37:32 -0000 Mailing-List: contact reviews-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.apache.org Delivered-To: mailing list reviews@aurora.apache.org Received: (qmail 17317 invoked by uid 99); 29 Jan 2016 20:37:32 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2016 20:37:32 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id A51B1289B94; Fri, 29 Jan 2016 20:37:31 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1097203624445072127==" MIME-Version: 1.0 Subject: Re: Review Request 42975: Change the way arguments are passed to scheduler in debian From: Dmitriy Shirchenko To: Bill Farner , Dmitriy Shirchenko , John Sirois Cc: Aurora , Kunal Thakar Date: Fri, 29 Jan 2016 20:37:31 -0000 Message-ID: <20160129203731.12172.68513@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Dmitriy Shirchenko X-ReviewGroup: Aurora X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/42975/ In-Reply-To: <20160129201726.25059.8491@reviews.apache.org> X-Sender: Dmitriy Shirchenko X-ReviewBoard-ShipIt: 1 References: <20160129201726.25059.8491@reviews.apache.org> X-ReviewBoard-Diff-For: rbt X-ReviewBoard-Diff-For: build-support/virtualenv X-ReviewBoard-ShipIt-Only: 1 Reply-To: Dmitriy Shirchenko X-ReviewRequest-Repository: aurora-packaging --===============1097203624445072127== 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/42975/#review117007 ----------------------------------------------------------- Ship it! Ship It! - Dmitriy Shirchenko On Jan. 29, 2016, 8:17 p.m., Kunal Thakar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/42975/ > ----------------------------------------------------------- > > (Updated Jan. 29, 2016, 8:17 p.m.) > > > Review request for Aurora, John Sirois, Dmitriy Shirchenko, and Bill Farner. > > > Repository: aurora-packaging > > > Description > ------- > > The scheduler is unable to start when one of the parameters contains spaces. The -thermos-executor-flags param is a string and it doesn't get passed along as a string if we don't surround the variable with quotes (http://unix.stackexchange.com/questions/131766/why-does-my-shell-script-choke-on-whitespace-or-other-special-characters) > > Also, added the rbt files to allow posting CRs from this repo > > > Diffs > ----- > > .gitignore 81746232328d6bc4d448a0ce4654174d86972263 > build-support/virtualenv PRE-CREATION > rbt PRE-CREATION > specs/debian/aurora-scheduler.init b280c75860bfdd878c409f282a675b1d52b08729 > > Diff: https://reviews.apache.org/r/42975/diff/ > > > Testing > ------- > > Built the artifacts and tested the new debian package by following the instructions in test/deb/debian-jessie. > > To simulate the failure in the previous version, modify /etc/default/aurora-scheduler on the test vagrant box: > > THERMOS_EXECUTOR_FLAGS="--enable-announcer --announcer-ensemble localhost:2181" > > After replacing that line, restart the scheduler. > sudo systemctl restart aurora-scheduler (it should fail without this change) > > > Thanks, > > Kunal Thakar > > --===============1097203624445072127==--