I'm trying to set up a private cloud with VMWare workstation and I'm planning to use it in a production environment. I've installed CloudStack and NFS in a fresh Ubuntu 12.04 64bit vm (IP 192.168.253.128) and a freshXCP 1.6 Host (IP 192.168.253.129). I've set up a new zone with thise XCP host added to the cluster. However the System VMs fail to start with the following errors. Please help!
2013-06-05 21:57:22,236 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 1-53411858: Sending { Cmd , MgmtId: 52229743866, via: 1, Ver: v1, Flags: 100111, [{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/e7e9e22b-6dfc-391c-9110-75fd4c25c6b0","poolUuid":"e7e9e22b-6dfc-391c-9110-75fd4c25c6b0","poolId":200,"primaryPool":{"id":200,"uuid":"e7e9e22b-6dfc-391c-9110-75fd4c25c6b0","host":"192.168.253.128","path":"/export/primary","port":2049,"type":"NetworkFilesystem"},"secondaryStorageUrl":"nfs:// 192.168.253.128/export/secondary","primaryStorageUrl":"nfs:// 192.168.253.128/export/primary","url":"nfs:// 192.168.253.128/export/secondary/template/tmpl/1/1/","format":"VHD","accountId":1,"name":"routing-1","wait":10800}}] } 2013-06-05 21:57:22,239 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 1-53411858: Executing: { Cmd , MgmtId: 52229743866, via: 1, Ver: v1, Flags: 100111, [{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/e7e9e22b-6dfc-391c-9110-75fd4c25c6b0","poolUuid":"e7e9e22b-6dfc-391c-9110-75fd4c25c6b0","poolId":200,"primaryPool":{"id":200,"uuid":"e7e9e22b-6dfc-391c-9110-75fd4c25c6b0","host":"192.168.253.128","path":"/export/primary","port":2049,"type":"NetworkFilesystem"},"secondaryStorageUrl":"nfs:// 192.168.253.128/export/secondary","primaryStorageUrl":"nfs:// 192.168.253.128/export/primary","url":"nfs:// 192.168.253.128/export/secondary/template/tmpl/1/1/","format":"VHD","accountId":1,"name":"routing-1","wait":10800}}] } 2013-06-05 21:57:22,239 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-19:null) Seq 1-53411858: Executing request 2013-06-05 21:57:24,708 WARN [xen.resource.CitrixResourceBase] (DirectAgent-19:null) kill_copy_process failed 2013-06-05 21:57:24,710 WARN [xen.resource.CitrixResourceBase] (DirectAgent-19:null) can not create vdi in sr 2fa78a71-b00c-47b1-452f-3a6323de4580 2013-06-05 21:57:24,710 WARN [xen.resource.CitrixResourceBase] (DirectAgent-19:null) Catch Exception com.cloud.utils.exception.CloudRuntimeException on host:49c82e0d-346a-4611-b737-e32c543618c8 for template: nfs:// 192.168.253.128/export/secondary/template/tmpl/1/1/ due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 2fa78a71-b00c-47b1-452f-3a6323de4580 com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 2fa78a71-b00c-47b1-452f-3a6323de4580 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.XcpServerResource.executeRequest(XcpServerResource.java:51) 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-05 21:57:24,712 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-19:null) Seq 1-53411858: Response Received: 2013-06-05 21:57:24,714 DEBUG [agent.transport.Request] (DirectAgent-19:null) Seq 1-53411858: Processing: { Ans: , MgmtId: 52229743866, via: 1, Ver: v1, Flags: 110, [{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":false,"details":"Catch Exception com.cloud.utils.exception.CloudRuntimeException on host:49c82e0d-346a-4611-b737-e32c543618c8 for template: nfs:// 192.168.253.128/export/secondary/template/tmpl/1/1/ due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 2fa78a71-b00c-47b1-452f-3a6323de4580","wait":0}}] } 2013-06-05 21:57:24,714 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 1-53411858: Received: { Ans: , MgmtId: 52229743866, via: 1, Ver: v1, Flags: 110, { PrimaryStorageDownloadAnswer } } 2013-06-05 21:57:24,715 DEBUG [agent.manager.AgentManagerImpl] (secstorage-1:null) Details from executing class com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Catch Exception com.cloud.utils.exception.CloudRuntimeException on host:49c82e0d-346a-4611-b737-e32c543618c8 for template: nfs:// 192.168.253.128/export/secondary/template/tmpl/1/1/ due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 2fa78a71-b00c-47b1-452f-3a6323de4580 2013-06-05 21:57:24,715 DEBUG [cloud.template.TemplateManagerImpl] (secstorage-1:null) Template 1 download to pool 200 failed due to Catch Exception com.cloud.utils.exception.CloudRuntimeException on host:49c82e0d-346a-4611-b737-e32c543618c8 for template: nfs:// 192.168.253.128/export/secondary/template/tmpl/1/1/ due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 2fa78a71-b00c-47b1-452f-3a6323de4580 2013-06-05 21:57:24,716 DEBUG [agent.manager.AgentAttache] (DirectAgent-19:null) Seq 1-53411858: No more commands found 2013-06-05 21:57:24,717 DEBUG [cloud.template.TemplateManagerImpl] (secstorage-1:null) Template 1 is not found on and can not be downloaded to pool 200 2013-06-05 21:57:24,718 DEBUG [cloud.storage.StorageManagerImpl] (secstorage-1:null) Cannot use this pool Pool[200|NetworkFilesystem] because we can't propagate template Tmpl[1-VHD-routing-1 2013-06-05 21:57:24,726 INFO [cloud.vm.VirtualMachineManagerImpl] (secstorage-1:null) Unable to contact resource. com.cloud.exception.StorageUnavailableException: Resource [StoragePool:200] is unreachable: Unable to create Vol[21|vm=21|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 com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464) at com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:264) at com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:689) at com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1300) at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:121) at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:52) at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:104) at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33) at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81) at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72) 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:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) 2013-06-05 21:57:24,734 DEBUG [cloud.vm.VirtualMachineManagerImpl] (secstorage-1:null) Cleaning up resources for the vm VM[SecondaryStorageVm|s-21-VM] in Starting state