Return-Path: X-Original-To: apmail-aurora-dev-archive@minotaur.apache.org Delivered-To: apmail-aurora-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CFDBE117A7 for ; Thu, 21 Aug 2014 20:13:53 +0000 (UTC) Received: (qmail 66159 invoked by uid 500); 21 Aug 2014 20:13:53 -0000 Delivered-To: apmail-aurora-dev-archive@aurora.apache.org Received: (qmail 66108 invoked by uid 500); 21 Aug 2014 20:13:53 -0000 Mailing-List: contact dev-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list dev@aurora.incubator.apache.org Received: (qmail 66097 invoked by uid 99); 21 Aug 2014 20:13:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2014 20:13:53 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,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; Thu, 21 Aug 2014 20:13:31 +0000 Received: (qmail 65887 invoked by uid 99); 21 Aug 2014 20:13:29 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2014 20:13:29 +0000 Received: from localhost (HELO mail-wi0-f176.google.com) (127.0.0.1) (smtp-auth username maxim, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2014 20:13:29 +0000 Received: by mail-wi0-f176.google.com with SMTP id bs8so9264403wib.9 for ; Thu, 21 Aug 2014 13:13:27 -0700 (PDT) X-Gm-Message-State: ALoCoQlDDtbIT0VPjTx1acxGwglO6O1ah+Hue6mudqAmI0X4PBNNN8X4DLHDnR+Xz4WeWX7n1/vB MIME-Version: 1.0 X-Received: by 10.194.249.164 with SMTP id yv4mr846915wjc.34.1408652007582; Thu, 21 Aug 2014 13:13:27 -0700 (PDT) Received: by 10.216.122.3 with HTTP; Thu, 21 Aug 2014 13:13:27 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 Aug 2014 13:13:27 -0700 Message-ID: Subject: Re: aurora maintenance mode From: Maxim Khutornenko To: dev@aurora.incubator.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi Bhuvan, Looks like you are missing a cluster name argument in your command. Something like "aurora_admin start_maintenance_hosts --hosts= " should do it. Thanks, Maxim On Thu, Aug 21, 2014 at 1:01 PM, Bhuvan Arumugam wrote: > I'm trying to use aurora_admin command to bring few hosts in > maintenance mode. I dont want to schedule jobs in these hosts, as they > may be down or due to be rebooted soon. > > The aurora_admin interface dont seem to behave as advertised. Sounds > like a bug with how options are parsed? > > [root@scheduler ~]# aurora_admin start_maintenance_hosts --hosts="slave1,slave2" > FATAL] usage: start_maintenance_hosts {--filename=filename | --hosts=hosts} > > see the help subcommand for more details. > > [root@scheduler ~]# cat /tmp/maintenance.hosts > slave1 > [root@scheduler ~]# aurora_admin start_maintenance_hosts > --filename=/tmp/maintenance.hosts > FATAL] usage: start_maintenance_hosts {--filename=filename | --hosts=hosts} > > see the help subcommand for more details. > > > -- > Regards, > Bhuvan Arumugam > www.livecipher.com