Hi Harikrishna, Yes, I just try a simple migration for stopped VM(VMware) with local storage to a different storage/host in the same cluster, I did this before without any issue in 4.15.1 as I remember.
Regards, Cristian -----Original Message----- From: Harikrishna Patnala <harikrishna.patn...@shapeblue.com> Sent: Tuesday, November 9, 2021 7:48 AM To: users@cloudstack.apache.org Subject: Re: Failed to find datastore for pool UUID 4.15.2 VMware migration Hi Cristian, Based on the error that you have shared, looks like this won't be an issue in 4.16, I did some quick check in code base. You can test with the latest 4.16 RC3 artifacts. May I know what is the exact operation that you are trying to do here? is it migrating a stopped or running VM to a different pool in the same cluster or across cluster? Thanks, Harikrishna ________________________________ From: cristian.c@istream.today <cristian.c@istream.today> Sent: Sunday, November 7, 2021 3:15 PM To: users@cloudstack.apache.org <users@cloudstack.apache.org> Subject: RE: Failed to find datastore for pool UUID 4.15.2 VMware migration Update: Correction " Not able to find the destination: Regards, Cristian From: cristian.c@istream.today <cristian.c@istream.today> Sent: Sunday, November 7, 2021 11:41 AM To: users@cloudstack.apache.org Subject: Failed to find datastore for pool UUID 4.15.2 VMware migration Hello, I just tested the migration in 4.15.2 and I get the following error "Failed to find datastore for pool UUID" Looks like is not able to find the source, which does not make sense, if I migrate from VMware between host works perfectly, also the deploy VM deploy in acs works fine on any host, is this a bug? 2021-11-07 09:29:10,837 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-396:ctx-0333aa69 ldn-uk-002.shape.host, job-2412/job-2413, cmd: MigrateVmToPoolCommand) (logid:72a9c33a) Failed to find datastore for pool UUID: ce27d8fc-27cf-4754-8a82-e27497c390a7 2021-11-07 09:29:10,839 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-396:ctx-0333aa69) (logid:72a9c33a) Seq 15-6715711469339541698: Response Received: 2021-11-07 09:29:10,840 DEBUG [c.c.a.t.Request] (DirectAgent-396:ctx-0333aa69) (logid:72a9c33a) Seq 15-6715711469339541698: Processing: { Ans: , MgmtId: 39908814623087, via: 15(ldn-uk-002.shape.host), Ver: v1, Flags: 110, [{"com.cloud.agent.api.Answer":{"result":"false","details":"Exception: com.cloud.utils.exception.CloudRuntimeException Message: Failed to find datastore for pool UUID: ce27d8fc-27cf-4754-8a82-e27497c390a7 Stack: com.cloud.utils.exception.CloudRuntimeException: Failed to find datastore for pool UUID: ce27d8fc-27cf-4754-8a82-e27497c390a7 at com.cloud.hypervisor.vmware.resource.VmwareResource.getTargetDatastoreMORefe rence(VmwareResource.java:4522) at com.cloud.hypervisor.vmware.resource.VmwareResource.migrateAndAnswer(VmwareR esource.java:4416) at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.j ava:4401) at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareRes ource.java:494) at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAtta che.java:315) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedCo ntextRunnable.java:48) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(Defa ultManagedContext.java:55) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithCon text(DefaultManagedContext.java:102) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCont ext(DefaultManagedContext.java:52) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCont extRunnable.java:45) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java :515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTa sk.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecut or.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu tor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) ","wait":"0","bypassHostMaintenance":"false"}}] } 2021-11-07 09:29:10,840 DEBUG [c.c.a.m.AgentAttache] (DirectAgent-396:ctx-0333aa69) (logid:72a9c33a) Seq 15-6715711469339541698: No more commands found 2021-11-07 09:29:10,840 DEBUG [c.c.a.t.Request] (Work-Job-Executor-6:ctx-2cfa416a job-2412/job-2413 ctx-d6941fcf) (logid:72a9c33a) Seq 15-6715711469339541698: Received: { Ans: , MgmtId: 39908814623087, via: 15(ldn-uk-002.shape.host), Ver: v1, Flags: 110, { Answer } } Regards, Cristian