hi, check whether you have seeded the vdh util for sysytem vms in secondary storage. http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#prepare-the-system-vm-template
thanks. On Wed, Apr 2, 2014 at 3:54 PM, Tejas Gadaria <refond.g...@gmail.com> wrote: > Hi, > > I am trying to create system vms, in CS 4.3 with Xenserver 6.2 > I am trying to create advance zone. I have 2nics. > 1 for management network & second is trunk. > > I am getting below error > > 2014-04-02 15:18:28,827 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] > (consoleproxy-1:ctx-774da64a) template 1 is already in store:1, type:Image > 2014-04-02 15:18:28,831 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] > (consoleproxy-1:ctx-774da64a) template 1 is already in store:1, > type:Primary > 2014-04-02 15:18:28,832 DEBUG [o.a.c.s.v.VolumeServiceImpl] > (consoleproxy-1:ctx-774da64a) Found template routing-1 in storage pool 1 > with VMTemplateStoragePool id: 4 > 2014-04-02 15:18:28,840 DEBUG [o.a.c.s.v.VolumeServiceImpl] > (consoleproxy-1:ctx-774da64a) Acquire lock on VMTemplateStoragePool 4 with > timeout 3600 seconds > 2014-04-02 15:18:30,903 WARN [c.c.h.x.r.XenServerStorageProcessor] > (DirectAgent-111:ctx-f68bde71) destoryVDIbyNameLabel failed due to there > are 0 VDIs with name cloud-cff5e443-72df-4aae-a4fd-1278fc0cbeb4 > 2014-04-02 15:18:30,903 WARN [c.c.h.x.r.XenServerStorageProcessor] > (DirectAgent-111:ctx-f68bde71) can not create vdi in sr > d2bf95cc-8761-c31d-37a5-173304cc621e > 2014-04-02 15:18:30,904 WARN [c.c.h.x.r.XenServerStorageProcessor] > (DirectAgent-111:ctx-f68bde71) Catch Exception > com.cloud.utils.exception.CloudRuntimeException for template + due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > d2bf95cc-8761-c31d-37a5-173304cc621e > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > d2bf95cc-8761-c31d-37a5-173304cc621e > at > > com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848) > at > > com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918) > at > > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75) > at > > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50) > at > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609) > at > > com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59) > at > > com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106) > at > > com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216) > 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$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165) > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2014-04-02 15:18:30,904 DEBUG [c.c.a.m.DirectAgentAttache] > (DirectAgent-111:ctx-f68bde71) Seq 1-524878146: Response Received: > 2014-04-02 15:18:30,904 DEBUG [c.c.a.m.DirectAgentAttache] > (DirectAgent-111:ctx-f68bde71) Seq 1-524878146: Response Received: > 2014-04-02 15:18:30,905 DEBUG [c.c.a.t.Request] > (DirectAgent-111:ctx-f68bde71) Seq 1-524878146: Processing: { Ans: , > MgmtId: 345049296663, via: 1, Ver: v1, Flags: 10, > > [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"Catch > Exception com.cloud.utils.exception.CloudRuntimeException for template + > due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi > in sr d2bf95cc-8761-c31d-37a5-173304cc621e","wait":0}}] } > 2014-04-02 15:18:30,905 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-4d6c3938) > Seq 1-524878146: Received: { Ans: , MgmtId: 345049296663, via: 1, Ver: v1, > Flags: 10, { CopyCmdAnswer } } > 2014-04-02 15:18:30,915 INFO [o.a.c.s.v.VolumeServiceImpl] > (secstorage-1:ctx-4d6c3938) releasing lock for VMTemplateStoragePool 4 > 2014-04-02 15:18:30,915 WARN [c.c.u.d.Merovingian2] > (secstorage-1:ctx-4d6c3938) Was unable to find lock for the key > template_spool_ref4 and thread id 404723302 > 2014-04-02 15:18:30,915 DEBUG [o.a.c.e.o.VolumeOrchestrator] > (secstorage-1:ctx-4d6c3938) Unable to create Vol[5|vm=5|ROOT]:Catch > Exception com.cloud.utils.exception.CloudRuntimeException for template + > due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi > in sr d2bf95cc-8761-c31d-37a5-173304cc621e > 2014-04-02 15:18:30,915 INFO [c.c.v.VirtualMachineManagerImpl] > (secstorage-1:ctx-4d6c3938) Unable to contact resource. > com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] > is unreachable: Unable to create Vol[5|vm=5|ROOT]:Catch Exception > com.cloud.utils.exception.CloudRuntimeException for template + due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > d2bf95cc-8761-c31d-37a5-173304cc621e > at > > org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202) > at > > org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254) > at > > com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962) > at > > com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761) > at > > com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745) > at > > com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:261) > at > > com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:694) > at > > com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1278) > at > > com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:123) > at > > com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50) > at > com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111) > at > com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35) > at > com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88) > at > > com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79) > 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$Sync.innerRunAndReset(FutureTask.java:351) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2014-04-02 15:18:30,920 DEBUG [c.c.v.VirtualMachineManagerImpl] > (secstorage-1:ctx-4d6c3938) Cleaning up resources for the vm > VM[SecondaryStorageVm|s-5-VM] in Starting state > > > > Regards, > Tejas > -- regards, punith s cloudbyte.com