cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sonali Jadhav <son...@servercentralen.se>
Subject RE: problem creating instance from template
Date Sat, 04 Apr 2015 11:45:17 GMT
[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 <sonali@servercentralen.se>
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 
> <sonali@servercentralen.se>
> 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
> >
>
Mime
View raw message