Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D76617719 for ; Mon, 6 Apr 2015 02:00:12 +0000 (UTC) Received: (qmail 76099 invoked by uid 500); 6 Apr 2015 02:00:10 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 76041 invoked by uid 500); 6 Apr 2015 02:00:10 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 76028 invoked by uid 99); 6 Apr 2015 02:00:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2015 02:00:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of opsrunbook@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-wg0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2015 01:59:45 +0000 Received: by wgra20 with SMTP id a20so16493152wgr.3 for ; Sun, 05 Apr 2015 18:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UgGLarQy8sO7+KZ/9N6TE+yO4uQwbG76l7cVGGCOro0=; b=cr2PjFR9wewCB1M3unXu+5StxwP1d6/5EZx+BETO+f6QYla7/3Fm6EGXZDBbMJ7Cpw NxDBe+9vcBXTEa+YX+AU4V8ip1XVUYU4ptITaQiy2sicmTThykSRjzbCrfkMhU82b0ao EnYSNN8F9R77XsJRvhhb3HrqK4BB2xeApaDdiy1lmX/W6CPEBCsjD+vG493PNQgS4lPV GT1II4EApMUSw8FnwNK4BPHkTWF4tRLon29pJ6BEc3fPF1y7vUCZNTWd5YKUwt58Yh7x QZrR6k3EhVNH4xoh+F9DYCw+o/PLbIoUIbqegT4FQY2GQxvcdZJg9pqK9ISvSndsFpnJ zmJQ== MIME-Version: 1.0 X-Received: by 10.194.243.9 with SMTP id wu9mr27064981wjc.107.1428285584129; Sun, 05 Apr 2015 18:59:44 -0700 (PDT) Received: by 10.27.33.212 with HTTP; Sun, 5 Apr 2015 18:59:44 -0700 (PDT) In-Reply-To: References: Date: Sun, 5 Apr 2015 21:59:44 -0400 Message-ID: Subject: Re: problem creating instance from template From: Prashant s To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=e89a8f64300ae144ab051304a67a X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f64300ae144ab051304a67a Content-Type: text/plain; charset=UTF-8 couple of questions for you Sonali 1. Are you able to build any new vms using any OTHER template that you already have. try to create a test vm 2. cloudstack pit stop checks from web interface : from your ACS interface check if there are any errors ? a ) can check if any of your hosts , b) primary or secondary storage c) systems vms d) router vms are in errored out state ? e) is your template in READY state , download completed .. ? 3. login to system vm and run the ssvm check /usr/local/cloudstack/systemvm/ssvm-check.sh , also while on the ssvm , check the *SSVM Logs* - /var/log/cloudstack/cloud.log 4. when you registered your template did you chose the right OS version etc ... 5.* does your server have the Intel Virtualization Technology (vt-x) or amd-v in BIOS turned on , for windows you really need this on :-0* i can only think of these issues & checks .... On Sat, Apr 4, 2015 at 7:45 AM, Sonali Jadhav wrote: > [root@XS04 ~]# xe vdi-list uuid=32719160-52d8-4e45-9682-7ab9ada4dad1 > uuid ( RO) : 32719160-52d8-4e45-9682-7ab9ada4dad1 > name-label ( RW): > name-description ( RW): > sr-uuid ( RO): 39311fd4-822d-4ccc-8c5c-bbb7fda4def5 > virtual-size ( RO): 107374182400 > sharable ( RO): false > read-only ( RO): false > > Thanks, > /Sonali > > -----Original Message----- > From: giljae o [mailto:ogiljae@gmail.com] > Sent: Saturday, April 4, 2015 3:11 PM > To: users@cloudstack.apache.org > Subject: Re: problem creating instance from template > > Then, > > Can you do the command in XenServer where you are trying to deploy VMs > > xe vdi-list uuid=32719160-52d8-4e45-9682-7ab9ada4dad1 > > James, > > On Sat, Apr 4, 2015 at 6:08 PM, Sonali Jadhav > wrote: > > > No, nothing that I am aware of. I have not even created manually. > > > > /Sonali > > > > -----Original Message----- > > From: giljae o [mailto:ogiljae@gmail.com] > > Sent: Saturday, April 4, 2015 2:18 PM > > To: users@cloudstack.apache.org > > Subject: Re: problem creating instance from template > > > > Hi > > > > For deploying VM CS needs to download a template from 2nd Storage, In > > the cluster where the template is copied to there the VDI uuid was > conflicted. > > Is there any VDI on the pool CS does not know about? > > > > > > > > [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.a > > pache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2 > > /212/32719160-52d8-4e45-9682-7ab9ada4dad1.vhd","uuid":"34b2b442-81cd-4 > > 56b-938d-6670bcfcaf01","id":212,"format":"VHD","accountId":2,"hvm":tru > > e,"displayText":"Windows > > Server 2012 R2 > > Std","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs:// > > 192.168.48.10/tank/secstore > > ","_role":"Image"}},"name":"32719160-52d8-4e45-9682-7ab9ada4dad1","hyp > > ervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to > > .TemplateObjectTO":{"uuid":"34b2b442-81cd-456b-938d-6670bcfcaf01","id" > > :212,"format":"VHD","accountId":2,"hvm":true,"displayText":"Windows > > Server 2012 R2 > > > > Std","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSt > > oreTO":{"uuid":"876d490c-a1d4-3bfe-88b7-1bdb2479541b","id":1,"poolType > > ":"NetworkFilesystem","host":"192.168.6.194","path":"/tank/primstore", > > "port":2049,"url":"NetworkFilesystem:// > > 192.168.6.194/tank/primstore/?ROLE=Primary&STOREUUID=876d490c- > > > > > > 2015-04-03 17:10:16,786 DEBUG [c.c.h.x.r.XenServerStorageProcessor] > > (DirectAgent-99:ctx-e6b464d2) Failed to destroy pbd > > SR_BACKEND_FAILURE_40The SR scan failed [opterr=['INTERNAL_ERROR', > > 'Db_exn.Uniqueness_constraint_violation("VDI", "uuid", > > "32719160-52d8-4e45-9682-7ab9ada4dad1")']] > > at com.xensource.xenapi.Types.checkResponse(Types.java:2006) > > at com.xensource.xenapi.Connection.dispatch(Connection.java:350) > > at > > > > com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerCon > > nection.dispatch(XenServerConnectionPool.java:456) > > at com.xensource.xenapi.SR.scan(SR.java:1051) > > at > > > > com.cloud.hypervisor.xen.resource.Xenserver625StorageProcessor.createF > > ileSR(Xenserver625StorageProcessor.java:107) > > at > > > > com.cloud.hypervisor.xen.resource.Xenserver625StorageProcessor.createF > > ileSr(Xenserver625StorageProcessor.java:133) > > at > > > > com.cloud.hypervisor.xen.resource.Xenserver625StorageProcessor.copyTem > > plateToPrimaryStorage(Xenserver625StorageProcessor.java:167) > > at > > > > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute( > > StorageSubsystemCommandHandlerBase.java:77) > > at > > > > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleSt > > orageCommands(StorageSubsystemCommandHandlerBase.java:52) > > at > > > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Ci > > trixResourceBase.java:547) > > at > > > > com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(X > > enServer56Resource.java:61) > > at > > > > com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest( > > XenServer610Resource.java:102) > > at > > > > com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.executeReque > > st(XenServer620SP1Resource.java:65) > > at > > > > com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAge > > ntAttache.java:307) > > at > > > > org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Man > > agedContextRunnable.java:49) > > at > > > > org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.cal > > l(DefaultManagedContext.java:56) > > at > > > > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callW > > ithContext(DefaultManagedContext.java:103) > > at > > > > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWi > > thContext(DefaultManagedContext.java:53) > > at > > > > org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Manag > > edContextRunnable.java:46) at > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471 > > ) at java.util.concurrent.FutureTask.run(FutureTask.java:262) > > at > > > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a > > ccess$201(ScheduledThreadPoolExecutor.java:178) > > at > > > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r > > un(ScheduledThreadPoolExecutor.java:292) > > at > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j > > ava:1145) > > at > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > > java:615) at java.lang.Thread.run(Thread.java:744) > > > > > > On Sat, Apr 4, 2015 at 5:21 PM, Sonali Jadhav > > > > wrote: > > > > > Hi, > > > > > > I have created windows 2012 r2 template. And I am trying to create > > > instance from it. But its failing, I am not able to understand cause. > > > > > > Here is my log file, > > > https://www.dropbox.com/s/4p4pskiy954e697/mgmtTemplateError.log?dl=0 > > > > > > I tried lot of time, somewhere it also said that insufficient > > > capacity on host. Which I would say not true at all. I got 4 > > > xenservers in one > > cluster. > > > > > > Anyone can help me understand issue? > > > > > > /Sonali > > > > > > --e89a8f64300ae144ab051304a67a--