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.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/212/32719160-52d8-4e45-9682-7ab9ada4dad1.vhd","uuid":"34b2b442-81cd-456b-938d-6670bcfcaf01","id":212,"format":"VHD","accountId":2,"hvm":true,"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","hypervisorType":"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.PrimaryDataStoreTO":{"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$XenServerConnection.dispatch(XenServerConnectionPool.java:456)
at com.xensource.xenapi.SR.scan(SR.java:1051)
at
com.cloud.hypervisor.xen.resource.Xenserver625StorageProcessor.createFileSR(Xenserver625StorageProcessor.java:107)
at
com.cloud.hypervisor.xen.resource.Xenserver625StorageProcessor.createFileSr(Xenserver625StorageProcessor.java:133)
at
com.cloud.hypervisor.xen.resource.Xenserver625StorageProcessor.copyTemplateToPrimaryStorage(Xenserver625StorageProcessor.java:167)
at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:77)
at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:52)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:547)
at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:61)
at
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
at
com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:65)
at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:307)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.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.access$201(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: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 <[email protected]>
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
>

Reply via email to