Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A0A12101DB for ; Thu, 25 Apr 2013 17:46:34 +0000 (UTC) Received: (qmail 18810 invoked by uid 500); 25 Apr 2013 17:46:34 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 18774 invoked by uid 500); 25 Apr 2013 17:46:33 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 18763 invoked by uid 99); 25 Apr 2013 17:46:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Apr 2013 17:46:33 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [208.91.199.218] (HELO us2.outbound.mailhostbox.com) (208.91.199.218) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Apr 2013 17:46:29 +0000 Received: from localhost (unknown [49.205.175.78]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tsp@v0g0n.org) by us2.outbound.mailhostbox.com (Postfix) with ESMTPSA id 989D8698E9A for ; Thu, 25 Apr 2013 17:45:47 +0000 (GMT) Date: Thu, 25 Apr 2013 23:15:41 +0530 From: Prasanna Santhanam To: dev@cloudstack.apache.org Subject: Re: [ACS41] Blocker and critical issues stopping me from spinning out a new RC for 4.1 Message-ID: <20130425174541.GA2049@cloud-2.local> Mail-Followup-To: dev@cloudstack.apache.org References: <20130425170508.GB1011@cloud-2.local> MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-CTCH-RefID: str=0001.0A020202.51796BCC.0146,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CTCH-SenderID: tsp@apache.org X-CTCH-SenderID-TotalMessages: 1 X-CTCH-SenderID-TotalSpam: 0 X-CTCH-SenderID-TotalSuspected: 0 X-CTCH-SenderID-TotalBulk: 0 X-CTCH-SenderID-TotalConfirmed: 0 X-CTCH-SenderID-TotalRecipients: 0 X-CTCH-SenderID-TotalVirus: 0 X-CTCH-SenderID-BlueWhiteFlag: 0 X-Scanned-By: MIMEDefang 2.72 on 172.16.214.9 X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Apr 25, 2013 at 10:32:15AM -0700, Min Chen wrote: > Totally agree. > > Chip and others, Prasanna and I exchanged ideas about CLOUDSTACK--2126, > and we both agree that we should only return async job Id and job status > in queryAsyncJob and listAsyncJob commands, not in any other APIs so that > we can have consistent response return in various scenarios. If we fix > this way, the behavior for listXXX api is changed. In 4.0, CloudStack has > used ApiServer.buildAsyncListResponse() routine to fill in async job Id > and status for all listXXX Apis. With the proposed fix, we will not show > async job information in listXXX response as well. Not sure if anybody see > any side effect on this slight change from 4.0? Anybody know the reason > why we had that special code in 4.0 to return async job for listXXX api? > Since the proposed change will affect all newly created db view in 4.1, we > suggest that this can be fixed in 4.2 since current behavior is not > breaking functionalities, just return more information. Any thoughts? I went backwards in history and this seems to have existed from eons ago when Will was still writing code. :) If he remembers the reason - great! ~/workspace/cloudstack/incubator-cloudstack(branch:4.0*) » find . -name ApiServer.java ./server/src/com/cloud/api/ApiServer.java ~/workspace/cloudstack/incubator-cloudstack(branch:4.0*) » git blame 303e2a74^ ./server/src/com/cloud/api/ApiServer.java ~/workspace/cloudstack/incubator-cloudstack(branch:4.0*) » git blame 633d024b^ ./server/src/com/cloud/api/ApiServer.java ~/workspace/cloudstack/incubator-cloudstack(branch:4.0*) » git blame c7e120a7^ ./server/src/com/cloud/api/ApiServer.java ~/workspace/cloudstack/incubator-cloudstack(branch:4.0*) » git blame 52e6e4d0^ ./server/src/com/cloud/api/ApiServer.java ~/workspace/cloudstack/incubator-cloudstack(branch:4.0*) » git blame c67d26ce^ ./server/src/com/cloud/api/ApiServer.java commit c67d26cec4edb16d54b319e80f73034bda5f4c87 Author: will Date: Tue Nov 30 19:11:55 2010 -0800 bug 6969: First step of now displaying pending async jobs for listXXXCommands. There is a lot more cleanup and fixing to do but all commands acting against VirtualMachines now work. -- Prasanna., ------------------------ Powered by BigRock.com