Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-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 28ACB914D for ; Fri, 1 Jun 2012 15:21:20 +0000 (UTC) Received: (qmail 37930 invoked by uid 500); 1 Jun 2012 15:21:20 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 37907 invoked by uid 500); 1 Jun 2012 15:21:20 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 37899 invoked by uid 99); 1 Jun 2012 15:21:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2012 15:21:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Nitin.Mehta@citrix.com designates 203.166.19.134 as permitted sender) Received: from [203.166.19.134] (HELO SMTP.CITRIX.COM.AU) (203.166.19.134) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2012 15:21:12 +0000 X-IronPort-AV: E=Sophos;i="4.75,698,1330905600"; d="scan'208";a="11588109" Received: from banpmailmx01.citrite.net ([10.103.128.73]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/RC4-MD5; 01 Jun 2012 15:20:48 +0000 Received: from BANPMAILBOX01.citrite.net ([10.103.128.72]) by BANPMAILMX01.citrite.net ([10.103.128.73]) with mapi; Fri, 1 Jun 2012 20:50:47 +0530 From: Nitin Mehta To: "cloudstack-dev@incubator.apache.org" Date: Fri, 1 Jun 2012 20:50:44 +0530 Subject: RE: vmtemplate.status values? Thread-Topic: vmtemplate.status values? Thread-Index: Ac0+tm8spJlxeLyiQ0u2AVjqRynyiwBTduyQ Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Adrian, Please find below explanation of the vmtemplate status. It would be great i= f we could add this explanation against the enums as comments as well. UNKNOWN - status of download is not known. Example - When the job for downl= oading doesn't exist during progress check. ABANDONED - the download has been cancelled/aborted. DOWNLOAD_ERROR - the download has reached an error state. Example - there i= s not route to ssvm agent. NOT_DOWNLOADED - the download hasn't started.=20 DOWNLOAD_IN_PROGRESS - the download is in progress DOWNLOADED - the resource has been downloaded on secondary storage.=20 // These states are specifically used for extraction of resources out of CS= (ironically shown as download template in the UI, API - extractTemplate ). = Some of the generic states (like abandoned, unknown) above are used for the= extraction tasks as well. UPLOADED - the resource has been uploaded NOT_UPLOADED - the resource upload work hasn't started yet UPLOAD_ERROR - the resource upload has reached error. UPLOAD_IN_PROGRESS - the resource upload is in progress. Thanks, -Nitin -----Original Message----- From: David Nalley [mailto:david@gnsa.us]=20 Sent: Thursday, May 31, 2012 4:18 AM To: cloudstack-dev@incubator.apache.org Subject: Fwd: vmtemplate.status values? Think this was intended for -dev ---------- Forwarded message ---------- From: Adrian Cole Date: Wed, May 30, 2012 at 3:59 PM Subject: vmtemplate.status values? To: cloudstack-users@incubator.apache.org In jclouds, we are trying to make a status checker for templates created. = =A0Part of this is understanding the range of status values. Looking at the code, there seems to be a few places where vmtemplate status= is reported. ex. ./api/src/com/cloud/api/response/TemplateResponse.java defines status a= s an opaque string where ./api/src/com/cloud/storage/VMTemplateStorageResou= rceAssoc.java defines a Status enum It would be really handy for us to have an enum with descriptions for the p= ossible template status values. =A0Can you validate what these are? -A