Hello,

I am newbie in cloudstack and trying to set up my first ever cloudstack 
environment. I got management server and xenserver up and running. The system 
Vms are running as well. When I tried to create a new instance, I got the below 
error. Virtual Router is created and running. My cloudstack version is 4.1 and 
xenserver version is 6.0.2.

I saw the similar issue earlier with system VM related to vhd-util. What I did 
is to download the vhd-util from 
http://download.cloud.com.s3/amazonaws.com/tools/vhd-util to xenserver 
directory /usr/bin/vhd-util, and made a soft link with "ln –s /usr/bin/vhd-util 
/opt/xenresource/bin/vhd-util". After that, system Vms are running fine.

Please advise how I could fix this issue.

Thanks,
Cindy


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2013-06-21 11:40:51,188 DEBUG [cloud.storage.StorageManagerImpl] 
(Job-Executor-24:job-34) Checking if we need to prepare 1 volumes for 
VM[User|cxen-1]
2013-06-21 11:40:51,190 DEBUG [cloud.storage.StorageManagerImpl] 
(Job-Executor-24:job-34) Creating volume: Vol[1363|vm=1362|ROOT]
2013-06-21 11:40:51,190 DEBUG [cloud.storage.StorageManagerImpl] 
(Job-Executor-24:job-34) Trying to create in Pool[200|NetworkFilesystem]
2013-06-21 11:40:51,200 DEBUG [cloud.template.TemplateManagerImpl] 
(Job-Executor-24:job-34) Downloading 5 via 6
2013-06-21 11:40:51,203 DEBUG [agent.transport.Request] 
(Job-Executor-24:job-34) Seq 6-489246015: Sending  { Cmd , MgmtId: 
345048987166, via: 6, Ver: v1, Flags: 100111, 
[{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/a66381f6-d960-3e81-b35e-ffcc843197c1","poolUuid":"a66381f6-d960-3e81-b35e-ffcc843197c1","poolId":200,"primaryPool":{"id":200,"uuid":"a66381f6-d960-3e81-b35e-ffcc843197c1","host":"10.60.176.17","path":"/export/primary","port":2049,"type":"NetworkFilesystem"},"secondaryStorageUrl":"nfs://10.60.176.17/export/secondary","primaryStorageUrl":"nfs://10.60.176.17/export/primary","url":"nfs://10.60.176.17/export/secondary/template/tmpl/1/5//1eeb5640-6a91-3d8e-85c1-270343176ac7.vhd","format":"VHD","accountId":1,"name":"centos56-x86_64-xen","wait":10800}}]
 }
2013-06-21 11:40:51,203 DEBUG [agent.transport.Request] 
(Job-Executor-24:job-34) Seq 6-489246015: Executing:  { Cmd , MgmtId: 
345048987166, via: 6, Ver: v1, Flags: 100111, 
[{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/a66381f6-d960-3e81-b35e-ffcc843197c1","poolUuid":"a66381f6-d960-3e81-b35e-ffcc843197c1","poolId":200,"primaryPool":{"id":200,"uuid":"a66381f6-d960-3e81-b35e-ffcc843197c1","host":"10.60.176.17","path":"/export/primary","port":2049,"type":"NetworkFilesystem"},"secondaryStorageUrl":"nfs://10.60.176.17/export/secondary","primaryStorageUrl":"nfs://10.60.176.17/export/primary","url":"nfs://10.60.176.17/export/secondary/template/tmpl/1/5//1eeb5640-6a91-3d8e-85c1-270343176ac7.vhd","format":"VHD","accountId":1,"name":"centos56-x86_64-xen","wait":10800}}]
 }
2013-06-21 11:40:51,203 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-212:null) Seq 6-489246015: Executing request
2013-06-21 11:40:53,369 WARN  [xen.resource.CitrixResourceBase] 
(DirectAgent-212:null) destoryVDIbyNameLabel failed due to there are 0 VDIs 
with name cloud-4078c8ba-7c1a-4c13-8dd6-a99840bcc720
2013-06-21 11:40:53,370 WARN  [xen.resource.CitrixResourceBase] 
(DirectAgent-212:null) can not create vdi in sr 
f998ddaa-a518-df0e-750b-13c8af4d8ed2
2013-06-21 11:40:53,370 WARN  [xen.resource.CitrixResourceBase] 
(DirectAgent-212:null) Catch Exception 
com.cloud.utils.exception.CloudRuntimeException on 
host:e47a02cd-8826-4a09-aede-5fd57a8584ac for template: 
nfs://10.60.176.17/export/secondary/template/tmpl/1/5//1eeb5640-6a91-3d8e-85c1-270343176ac7.vhd
 due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in 
sr f998ddaa-a518-df0e-750b-13c8af4d8ed2
com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 
f998ddaa-a518-df0e-750b-13c8af4d8ed2
        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2707)
        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2729)
        at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:501)
        at 
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
        at 
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
        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:1146)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)
2013-06-21 11:40:53,370 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-212:null) Seq 6-489246015: Response Received:
2013-06-21 11:40:53,370 DEBUG [agent.transport.Request] (DirectAgent-212:null) 
Seq 6-489246015: Processing:  { Ans: , MgmtId: 345048987166, via: 6, Ver: v1, 
Flags: 110, 
[{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":false,"details":"Catch
 Exception com.cloud.utils.exception.CloudRuntimeException on 
host:e47a02cd-8826-4a09-aede-5fd57a8584ac for template: 
nfs://10.60.176.17/export/secondary/template/tmpl/1/5//1eeb5640-6a91-3d8e-85c1-270343176ac7.vhd
 due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in 
sr f998ddaa-a518-df0e-750b-13c8af4d8ed2","wait":0}}] }
2013-06-21 11:40:53,370 DEBUG [agent.manager.AgentAttache] 
(DirectAgent-212:null) Seq 6-489246015: No more commands found





2013-06-21 11:40:55,530 DEBUG [agent.manager.AgentManagerImpl] 
(Job-Executor-24:job-34) Details from executing class 
com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Catch Exception 
com.cloud.utils.exception.CloudRuntimeException on 
host:e47a02cd-8826-4a09-aede-5fd57a8584ac for template: 
nfs://10.60.176.17/export/secondary/template/tmpl/1/5//1eeb5640-6a91-3d8e-85c1-270343176ac7.vhd
 due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in 
sr f998ddaa-a518-df0e-750b-13c8af4d8ed2
2013-06-21 11:40:55,530 DEBUG [cloud.template.TemplateManagerImpl] 
(Job-Executor-24:job-34) Template 5 download to pool 200 failed due to Catch 
Exception com.cloud.utils.exception.CloudRuntimeException on 
host:e47a02cd-8826-4a09-aede-5fd57a8584ac for template: 
nfs://10.60.176.17/export/secondary/template/tmpl/1/5//1eeb5640-6a91-3d8e-85c1-270343176ac7.vhd
 due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in 
sr f998ddaa-a518-df0e-750b-13c8af4d8ed2
2013-06-21 11:40:55,531 DEBUG [cloud.template.TemplateManagerImpl] 
(Job-Executor-24:job-34) Template 5 is not found on and can not be downloaded 
to pool 200
2013-06-21 11:40:55,531 DEBUG [cloud.storage.StorageManagerImpl] 
(Job-Executor-24:job-34) Cannot use this pool Pool[200|NetworkFilesystem] 
because we can't propagate template Tmpl[5-VHD-centos56-x86_64-xen
2013-06-21 11:40:55,536 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-24:job-34) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:200] is 
unreachable: Unable to create Vol[1363|vm=1362|ROOT]
        at 
com.cloud.storage.StorageManagerImpl.prepare(StorageManagerImpl.java:3488)
        at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:748)
        at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
        at 
org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:212)
        at 
org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
        at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3865)
        at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3458)
        at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3444)
        at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at 
org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:379)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
        at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
        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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)
2013-06-21 11:40:55,538 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-24:job-34) Cleaning up resources for the vm VM[User|cxen-1] in 
Starting state

Reply via email to