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 A09E19C86 for ; Wed, 24 Dec 2014 00:22:43 +0000 (UTC) Received: (qmail 13901 invoked by uid 500); 24 Dec 2014 00:22:43 -0000 Delivered-To: apmail-aurora-reviews-archive@aurora.apache.org Received: (qmail 13859 invoked by uid 500); 24 Dec 2014 00:22:43 -0000 Mailing-List: contact reviews-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.incubator.apache.org Delivered-To: mailing list reviews@aurora.incubator.apache.org Received: (qmail 13847 invoked by uid 99); 24 Dec 2014 00:22:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Dec 2014 00:22:42 +0000 X-ASF-Spam-Status: No, hits=-1997.8 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,MANY_SPAN_IN_TEXT,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 24 Dec 2014 00:22:41 +0000 Received: (qmail 10178 invoked by uid 99); 24 Dec 2014 00:21:06 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Dec 2014 00:21:06 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 27AB81D32E3; Wed, 24 Dec 2014 00:21:05 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1054470589939780451==" MIME-Version: 1.0 Subject: Re: Review Request 28872: Improving quota check message in the client. From: "Kevin Sweeney" To: "Zameer Manji" , "Kevin Sweeney" Cc: "Aurora" , "Maxim Khutornenko" Date: Wed, 24 Dec 2014 00:21:05 -0000 Message-ID: <20141224002105.10620.6370@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Kevin Sweeney" X-ReviewGroup: Aurora X-ReviewRequest-URL: https://reviews.apache.org/r/28872/ X-Sender: "Kevin Sweeney" References: <20141211025532.26419.64209@reviews.apache.org> In-Reply-To: <20141211025532.26419.64209@reviews.apache.org> Reply-To: "Kevin Sweeney" X-ReviewRequest-Repository: aurora X-Virus-Checked: Checked by ClamAV on apache.org --===============1054470589939780451== 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/28872/#review65986 ----------------------------------------------------------- Ship it! Ship It! - Kevin Sweeney On Dec. 10, 2014, 6:55 p.m., Maxim Khutornenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/28872/ > ----------------------------------------------------------- > > (Updated Dec. 10, 2014, 6:55 p.m.) > > > Review request for Aurora, Kevin Sweeney and Zameer Manji. > > > Bugs: AURORA-469 > https://issues.apache.org/jira/browse/AURORA-469 > > > Repository: aurora > > > Description > ------- > > A minor fix improving the quota check message on the client. Minor enough to consider for a dying client updater. > > > Diffs > ----- > > src/main/python/apache/aurora/client/api/quota_check.py c994050d76a9b617f70dfcbf60cf10e02d4a4bb9 > src/test/python/apache/aurora/client/api/test_quota_check.py 2fc76d21ca63ae7f33b1e03ccb88f52fe82dc76c > > Diff: https://reviews.apache.org/r/28872/diff/ > > > Testing > ------- > > ./pants src/test/python/apache/aurora/client/api:quota_check > > Vagrant: > ``` > $ aurora2 job update devcluster/www-data/prod/hello aurora/examples/jobs/hello_world.aurora > INFO] > INFO] > INFO] Updating job: hello > INFO] Not enough quota to create/update job. > INFO] Total allocated quota for www-data: > CPU 2.0 > RAM 2.000000 GB > Disk 2.000000 GB > INFO] Consumed quota for www-data: > CPU 1.9 > RAM 1.125977 GB > Disk 1.125000 GB > INFO] Requested for hello: > CPU 9.1 > RAM 0.000000 GB > Disk 0.000000 GB > INFO] Additional quota required for www-data: > CPU 9.0 > RAM 0.000000 GB > Disk 0.000000 GB > Update failed due to error: > Unable to start job update: Response from scheduler: INVALID_REQUEST (message: Failed quota check.) > Error executing command: Update failed due to error: > ``` > > > Thanks, > > Maxim Khutornenko > > --===============1054470589939780451==--