Hi, David Did u see anything wrong within kvm agent log file?
Thanks, Yitao 2014-04-16 22:59 GMT+08:00 La Motta, David <david.lamo...@netapp.com>: > Hey everybody, I am trying to deploy a VM instance in KVM using NFS for > primary storage (on 4.3). Unfortunately, this is the exception I am > getting: > > 2014-04-16 06:44:53,128 DEBUG [o.a.c.e.o.VolumeOrchestrator] > (Work-Job-Executor-6:job-30/job-31 ctx-b83982e8) Unable to create > Vol[4|vm=4|ROOT]:java.lang.ClassCastException: > com.cloud.agent.api.to.NfsTO cannot be cast to > org.apache.cloudstack.storage.to.PrimaryDataStoreTO > at > com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.copyTemplateToPrimaryS > torage(KVMStorageProcessor.java:150) > at > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(Stora > geSubsystemCommandHandlerBase.java:75) > at > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorage > Commands(StorageSubsystemCommandHandlerBase.java:50) > at > com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(L > ibvirtComputingResource.java:1359) > at com.cloud.agent.Agent.processRequest(Agent.java:498) > at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:806) > at com.cloud.utils.nio.Task.run(Task.java:83) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1 > 110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: > 603) > at java.lang.Thread.run(Thread.java:722) > > > Is this a known issue or are there any gotchas that I am overlooking? > > Thanks! > > // David > > > P.s., good to have seen some of you at CCCNA14 last week. Looking forward > to Budapest. > >