Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F16C6D19F for ; Thu, 23 Aug 2012 16:02:09 +0000 (UTC) Received: (qmail 52082 invoked by uid 500); 23 Aug 2012 16:02:09 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 52034 invoked by uid 500); 23 Aug 2012 16:02:09 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 52023 invoked by uid 99); 23 Aug 2012 16:02:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 16:02:09 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Thu, 23 Aug 2012 16:02:03 +0000 X-IronPort-AV: E=Sophos;i="4.80,300,1344211200"; d="scan'208";a="12464996" Received: from banpmailmx02.citrite.net ([10.103.128.74]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/RC4-MD5; 23 Aug 2012 16:00:59 +0000 Received: from BANPMAILBOX01.citrite.net ([10.103.128.72]) by BANPMAILMX02.citrite.net ([10.103.128.74]) with mapi; Thu, 23 Aug 2012 21:30:58 +0530 From: Nitin Mehta To: "cloudstack-users@incubator.apache.org" Date: Thu, 23 Aug 2012 21:30:57 +0530 Subject: RE: Can't create template from snapshot Thread-Topic: Can't create template from snapshot Thread-Index: Ac2BRP80g0wuyGNdQWaAcE/MgbrhpwAAoNfw Message-ID: References: <50364D9D.3020104@nfinausa.com> In-Reply-To: <50364D9D.3020104@nfinausa.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Nik - Can you please log in to the hypervisor and see in the logs under /va= r/log/SMlog if there is any failure logged there for this operation ? Searc= h for create_privatetemplate_from_snapshot there. 34a0115b-466a-492a-b4f4-d4a0db5dc55b which you are wondering about is nothi= ng but a random UUID for mounting the snapshots directory from sec. storage= (on which this snapshot is physically present). This UUID directory gets d= eleted as part of the cleanup once the operations is done and the snapshot = directory is unmounted. What you need to verify is whether the snapshot is present on sec. storage = under the directory snaphots/account_id/volume_id_of_snapshot/ on sec. sto= rage or if you can find any evidence of snapshot deleting in the MS logs bc= z that seems to be the issue here. Thanks, -Nitin -----Original Message----- From: Nik Martin [mailto:nik.martin@nfinausa.com]=20 Sent: Thursday, August 23, 2012 9:05 PM To: cloudstack-users@incubator.apache.org Subject: Can't create template from snapshot I recently added a new zone to my CS Acton cloud, using Xenserver 6.02 HVs.= My secondary storage is NFS on Centos 6. I can upload ISOs, CS downloaed = the system template fine, and I can create VMs, and make snapshots from Vol= umes. When I pick a snapshit and try to create a template, I get: 2012-08-23 10:09:39,992 WARN [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-29:job-44) Cleanup failed due to Creating template from snaps= hot 6ec231ac-9468-454c-ab60-5c46c4463799 failed due to com.cloud.utils.exception.CloudRuntimeException:=20 create_privatetemplate_from_snapshot failed due to failed to query /var/run= /cloud_mount/34a0115b-466a-492a-b4f4-d4a0db5dc55b/6ec231ac-9468-454c-ab60-5= c46c4463799.vhd If I log into the HV the VM is running on, and look at /var/run/cloud_mount= /, there are hundreds of directories, but 34a0115b-466a-492a-b4f4-d4a0db5dc= 55b is not one of them. Is someting out of sync? -- Regards, Nik