You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "NyaineChanMyint (via GitHub)" <gi...@apache.org> on 2026/01/15 12:30:30 UTC

[I] Importing Vm from unmanaged vcenter to KVM failed [cloudstack]

NyaineChanMyint opened a new issue, #12432:
URL: https://github.com/apache/cloudstack/issues/12432

   Importing Vms from unmanaged vcenter to kvm failed with the following error
   I can list Vms from unmanager vcenter only migration failed.
   
   KVM host 
   - Ubuntu 24.04
   - cloudstack version 4.22
   - virt-v2v installed
   - ovftool install (version 5.0.0)
   
   Error 
   - 2026-01-15 12:26:31,152 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-1:[ctx-02e04ebe, job-9471]) (logid:f74ddcb0) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.ImportVmCmd java.lang.NullPointerException: Cannot invoke "com.cloud.vm.ImportVMTaskVO.setUpdated(java.util.Date)" because "importVMTaskVO" is null
           at org.apache.cloudstack.vm.ImportVmTasksManagerImpl.updateImportVMTaskErrorState(ImportVmTasksManagerImpl.java:166)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importUnmanagedInstanceFromVmwareToKvm(UnmanagedVMsManagerImpl.java:1811)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.baseImportInstance(UnmanagedVMsManagerImpl.java:1427)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importVm(UnmanagedVMsManagerImpl.java:1576)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
           at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:569)
           at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:109)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
           at jdk.proxy3/jdk.proxy3.$Proxy538.importVm(Unknown Source)
           at org.apache.cloudstack.api.command.admin.vm.ImportVmCmd.execute(ImportVmCmd.java:289)
           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
           at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
           at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:698)
           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 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:646)
           at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
           at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
           at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
           at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
           at java.base/java.lang.Thread.run(Thread.java:840)
   
   2026-01-15 12:26:31,164 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-1:[ctx-02e04ebe, job-9471]) (logid:f74ddcb0) Complete async job-9471, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Cannot invoke "com.cloud.vm.ImportVMTaskVO.setUpdated(java.util.Date)" because "importVMTaskVO" is null"}
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing Vm from unmanaged vcenter to KVM failed [cloudstack]

Posted by "NyaineChanMyint (via GitHub)" <gi...@apache.org>.
NyaineChanMyint commented on issue #12432:
URL: https://github.com/apache/cloudstack/issues/12432#issuecomment-3757821466

   @nvazquez  Here is full log of importing vm from vcenter to cloudstack.
   
   From Management Server,
   ***
   2026-01-16 02:19:17,735 DEBUG [c.c.a.ApiServer] (qtp1438988851-2737:[ctx-8a2cd0b8, ctx-295aa121]) (logid:3c82c26f) Retrieved cmdEventType from job info: VM.IMPORT
   2026-01-16 02:19:17,737 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:3fc93f47) Add job-9474 into job monitoring
   2026-01-16 02:19:17,744 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl$5] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Executing AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.vm.ImportVmCmd","cmdInfo":"{\"temppath\":\"\",\"hostip\":\"agbydcesx04.agbisp.net\",\"clustername\":\"AGB-Cluster\",\"convertinstancehostid\":\"3229cf4b-73c3-40f4-89ff-373bbd646a12\",\"forced\":\"true\",\"sessionkey\":\"4Cls0AwiufBQe5XrsUNgWXa80hQ\",\"httpmethod\":\"POST\",\"ctxAccountId\":\"2\",\"domainid\":\"cae33d94-edab-47e5-b7ef-5c06736eb4d9\",\"cmdEventType\":\"VM.IMPORT\",\"password\":\"password\",\"importinstancehostid\":\"3229cf4b-73c3-40f4-89ff-373bbd646a12\",\"hypervisor\":\"kvm\",\"host\":\"\",\"vcenter\":\"172.18.10.102\",\"ctxStartEventId\":\"47097\",\"ctxDetails\":\"{\\\"interface com.cloud.org.Cluster\\\":\\\"5324c612-85de-4cd5-8a94-f6ba0b60a734\\\",\\\"interface com.cloud.dc.DataCenter\\\":\\\"b016c483-474e-43bc-8a15-1146f77fdcb0\\\",\\\"interface com.cloud.
 domain.Domain\\\":\\\"cae33d94-edab-47e5-b7ef-5c06736eb4d9\\\",\\\"interface com.cloud.host.Host\\\":\\\"3229cf4b-73c3-40f4-89ff-373bbd646a12\\\",\\\"interface com.cloud.offering.ServiceOffering\\\":\\\"42a26391-3e0e-4fa5-9427-5c3f3ace08c7\\\"}\",\"clusterid\":\"5324c612-85de-4cd5-8a94-f6ba0b60a734\",\"nicipaddresslist[0].ip4Address\":\"auto\",\"importsource\":\"vmware\",\"nicipaddresslist[0].nic\":\"Network adapter 1\",\"nicnetworklist[0].network\":\"cc498782-1940-4203-b00e-feb29c6427c2\",\"serviceofferingid\":\"42a26391-3e0e-4fa5-9427-5c3f3ace08c7\",\"response\":\"json\",\"datacentername\":\"AGB-HTY-DC\",\"ctxUserId\":\"2\",\"displayname\":\"migration-testing\",\"name\":\"migration-vm-test\",\"zoneid\":\"b016c483-474e-43bc-8a15-1146f77fdcb0\",\"diskpath\":\"\",\"nicnetworklist[0].nic\":\"Network adapter 1\",\"account\":\"office\",\"username\":\"administrator@vsphere.local\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":9474,"initMsid":252941317932084,"instanceId":null,"
 instanceType":"None","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"5d8f0b4b-5d95-4f9a-a592-4011d07d9b50"}
   2026-01-16 02:19:17,748 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (qtp1438988851-2737:[ctx-8a2cd0b8, ctx-295aa121]) (logid:3c82c26f) submit async job-9474, details: AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.vm.ImportVmCmd","cmdInfo":"{\"temppath\":\"\",\"hostip\":\"agbydcesx04.agbisp.net\",\"clustername\":\"AGB-Cluster\",\"convertinstancehostid\":\"3229cf4b-73c3-40f4-89ff-373bbd646a12\",\"forced\":\"true\",\"sessionkey\":\"4Cls0AwiufBQe5XrsUNgWXa80hQ\",\"httpmethod\":\"POST\",\"ctxAccountId\":\"2\",\"domainid\":\"cae33d94-edab-47e5-b7ef-5c06736eb4d9\",\"cmdEventType\":\"VM.IMPORT\",\"password\":\"@gPt0p53cr3T!%T0B\",\"importinstancehostid\":\"3229cf4b-73c3-40f4-89ff-373bbd646a12\",\"hypervisor\":\"kvm\",\"host\":\"\",\"vcenter\":\"***.**.**.***\",\"ctxStartEventId\":\"47097\",\"ctxDetails\":\"{\\\"interface com.cloud.org.Cluster\\\":\\\"5324c612-85de-4cd5-8a94-f6ba0b60a734\\\",\\\"interface com.cloud.dc.DataCenter\\\":\\\"b016c483-474e-43bc-8a15-1146f77f
 dcb0\\\",\\\"interface com.cloud.domain.Domain\\\":\\\"cae33d94-edab-47e5-b7ef-5c06736eb4d9\\\",\\\"interface com.cloud.host.Host\\\":\\\"3229cf4b-73c3-40f4-89ff-373bbd646a12\\\",\\\"interface com.cloud.offering.ServiceOffering\\\":\\\"42a26391-3e0e-4fa5-9427-5c3f3ace08c7\\\"}\",\"clusterid\":\"5324c612-85de-4cd5-8a94-f6ba0b60a734\",\"nicipaddresslist[0].ip4Address\":\"auto\",\"importsource\":\"vmware\",\"nicipaddresslist[0].nic\":\"Network adapter 1\",\"nicnetworklist[0].network\":\"cc498782-1940-4203-b00e-feb29c6427c2\",\"serviceofferingid\":\"42a26391-3e0e-4fa5-9427-5c3f3ace08c7\",\"response\":\"json\",\"datacentername\":\"AGB-HTY-DC\",\"ctxUserId\":\"2\",\"displayname\":\"migration-testing\",\"name\":\"migration-vm-test\",\"zoneid\":\"b016c483-474e-43bc-8a15-1146f77fdcb0\",\"diskpath\":\"\",\"nicnetworklist[0].nic\":\"Network adapter 1\",\"account\":\"office\",\"username\":\"administrator@vsphere.local\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":9474,"initMsid":25
 2941317932084,"instanceId":null,"instanceType":"None","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"5d8f0b4b-5d95-4f9a-a592-4011d07d9b50"}
   2026-01-16 02:19:17,750 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2737:[ctx-8a2cd0b8, ctx-295aa121]) (logid:3c82c26f) ===END===  10.103.8.66 -- POST  
   command=importVm 
   response=json 
   name=migration-vm-test 
   clusterid=5324c612-85de-4cd5-8a94-f6ba0b60a734 
   displayname=migration-testing 
   zoneid=b016c483-474e-43bc-8a15-1146f77fdcb0 
   importsource=vmware 
   hypervisor=kvm 
   host=***.**.**.***
   username=administrator@vsphere.local 
   password=
   diskpath=
   temppath=
   serviceofferingid=42a26391-3e0e-4fa5-9427-5c3f3ace08c7 
   vcenter=***.**.**.***
   datacentername=AGB-HTY-DC 
   hostip=agbydcesx04.agbisp.net 
   clustername=AGB-Cluster 
   convertinstancehostid=3229cf4b-73c3-40f4-89ff-373bbd646a12 
   importinstancehostid=3229cf4b-73c3-40f4-89ff-373bbd646a12 
   domainid=cae33d94-edab-47e5-b7ef-5c06736eb4d9 
   account=office 
   forced=true 
   nicnetworklist[0].nic=Network adapter 1 
   nicnetworklist[0].network=cc498782-1940-4203-b00e-feb29c6427c2 
   nicipaddresslist[0].nic=Network adapter 1 
   nicipaddresslist[0].ip4Address=auto 
   sessionkey=4Cls0AwiufBQe5XrsUNgWXa80hQ 
   
   2026-01-16 02:19:17,765 DEBUG [c.c.a.ApiServlet] (qtp1438988851-335:[ctx-1c7f2beb]) (logid:57a231fb) ===START===  10.103.8.66 -- GET  jobId=5d8f0b4b-5d95-4f9a-a592-4011d07d9b50&command=queryAsyncJobResult&response=json&
   2026-01-16 02:19:17,765 DEBUG [c.c.a.ApiServlet] (qtp1438988851-335:[ctx-1c7f2beb]) (logid:57a231fb) Two factor authentication is already verified for the user 2, so skipping
   2026-01-16 02:19:17,771 DEBUG [c.c.a.ApiServer] (qtp1438988851-335:[ctx-1c7f2beb, ctx-4e63a447]) (logid:57a231fb) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"4acb6312-d676-11f0-a001-ee51be0f528c"}]' is allowed to perform API calls: 0.0.0.0/0,::/0
   2026-01-16 02:19:17,773 INFO  [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp1438988851-335:[ctx-1c7f2beb, ctx-4e63a447]) (logid:57a231fb) Account for user id 4acbf71a-d676-11f0-a001-ee51be0f528c is Root Admin or Domain Admin, all APIs are allowed.
   2026-01-16 02:19:17,773 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp1438988851-335:[ctx-1c7f2beb, ctx-4e63a447]) (logid:57a231fb) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   2026-01-16 02:19:17,773 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1438988851-335:[ctx-1c7f2beb, ctx-4e63a447]) (logid:57a231fb) API rate limiting is disabled. We will not use ApiRateLimitService.
   2026-01-16 02:19:17,790 DEBUG [c.c.a.ApiServlet] (qtp1438988851-335:[ctx-1c7f2beb, ctx-4e63a447]) (logid:57a231fb) ===END===  10.103.8.66 -- GET  jobId=5d8f0b4b-5d95-4f9a-a592-4011d07d9b50&command=queryAsyncJobResult&response=json&
   2026-01-16 02:19:17,795 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Access granted to Account [{"accountName":"office","id":97,"uuid":"fd52cd98-0a3b-4841-a0aa-769f3f288599"}] to Service offering {"id":57,"name":"vmware-template","uuid":"42a26391-3e0e-4fa5-9427-5c3f3ace08c7"}. by AffinityGroupAccessChecker
   2026-01-16 02:19:17,808 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Checking if  amount of resources of Type = 'user_vm', tag = 'null' for Account Name = office in Domain Id = 28 is exceeded: Account Resource Limit = 10, Current Account Resource Amount = 0, Current Account Resource Reservation = 0, Requested Resource Amount = 1.
   2026-01-16 02:19:17,810 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2737:[ctx-fef3919c]) (logid:6a1b41f6) ===START===  10.103.8.66 -- GET  clusterid=5324c612-85de-4cd5-8a94-f6ba0b60a734&page=1&pagesize=10&keyword=migration&datacentername=AGB-HTY-DC&vcenter=172.18.10.102&username=administrator%40vsphere.local&command=listVmwareDcVms&response=json&
   2026-01-16 02:19:17,810 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2737:[ctx-fef3919c]) (logid:6a1b41f6) Two factor authentication is already verified for the user 2, so skipping
   2026-01-16 02:19:17,812 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Checking if  domain resource limits of Type 'user_vm' for Domain Id = cae33d94-edab-47e5-b7ef-5c06736eb4d9 is exceeded: Domain Resource Limit = 50, Current Domain Resource Amount = 0, Current Resource Reservation = 0, Requested Resource Amount = 1.
   2026-01-16 02:19:17,814 DEBUG [o.a.c.a.c.a.v.ImportVmCmd] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) nic, 'Network adapter 1', goes on net, 'cc498782-1940-4203-b00e-feb29c6427c2'
   2026-01-16 02:19:17,816 DEBUG [c.c.a.ApiServer] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"4acb6312-d676-11f0-a001-ee51be0f528c"}]' is allowed to perform API calls: 0.0.0.0/0,::/0
   2026-01-16 02:19:17,817 DEBUG [o.a.c.a.c.a.v.ImportVmCmd] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) nic, 'Network adapter 1', gets ip, 'auto'
   2026-01-16 02:19:17,818 INFO  [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) Account for user id 4acbf71a-d676-11f0-a001-ee51be0f528c is Root Admin or Domain Admin, all APIs are allowed.
   2026-01-16 02:19:17,818 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   2026-01-16 02:19:17,818 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) API rate limiting is disabled. We will not use ApiRateLimitService.
   2026-01-16 02:19:17,824 WARN  [c.c.a.d.ParamGenericValidationWorker] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) Received unknown parameters for command listVmwareDcVms. Unknown parameters : clusterid
   2026-01-16 02:19:17,825 DEBUG [c.c.h.v.m.VmwareManagerImpl] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) Connecting to the VMware datacenter AGB-HTY-DC at vCenter ***.**.**.***to retrieve VMs
   2026-01-16 02:19:17,825 DEBUG [c.c.h.v.m.VmwareManagerImpl] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) Connecting to the VMware vCenter 172.18.10.102
   2026-01-16 02:19:17,840 DEBUG [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Checking the  conversion support on the host Host {"id":19,"name":"adc-cpn-02","type":"Routing","uuid":"3229cf4b-73c3-40f4-89ff-373bbd646a12"}
   2026-01-16 02:19:17,841 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Wait time setting on com.cloud.agent.api.CheckConvertInstanceCommand is 60 seconds
   2026-01-16 02:19:17,844 DEBUG [c.c.a.m.ClusteredAgentAttache] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Seq 19-4663758889118862237: Routed from 252941317932084
   2026-01-16 02:19:17,844 DEBUG [c.c.a.t.Request] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Seq 19-4663758889118862237: Sending  { Cmd , MgmtId: 252941317932084, via: 19(adc-cpn-02), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.CheckConvertInstanceCommand":{"checkWindowsGuestConversionSupport":"false","wait":"60","bypassHostMaintenance":"false"}}] }
   2026-01-16 02:19:17,925 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:[ctx-ad612e6b]) (logid:c0c497fb) No inactive management server node found
   2026-01-16 02:19:17,925 DEBUG [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:[ctx-ad612e6b]) (logid:c0c497fb) Peer scan is finished. profiler: Done. Duration: 2ms , profilerQueryActiveList: Done. Duration: 0ms, , profilerSyncClusterInfo: Done. Duration: 0ms, profilerInvalidatedNodeList: Done. Duration: 0ms, profilerRemovedList: Done. Duration: 0ms,, profilerNewList: Done. Duration: 0ms, profilerInactiveList: Done. Duration: 0ms
   2026-01-16 02:19:17,931 INFO  [c.c.h.v.u.VmwareContext] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) New VmwareContext object, current outstanding count: 8
   2026-01-16 02:19:18,121 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2379:[ctx-d9f0fc00]) (logid:bfdaf0cc) ===START===  10.103.8.66 -- GET  managementserverid=792bdc82-8954-4649-913b-5915f9370641&command=readyForShutdown&response=json&
   2026-01-16 02:19:18,121 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2379:[ctx-d9f0fc00]) (logid:bfdaf0cc) Two factor authentication is already verified for the user 2, so skipping
   2026-01-16 02:19:18,128 DEBUG [c.c.a.ApiServer] (qtp1438988851-2379:[ctx-d9f0fc00, ctx-3bd42e7c]) (logid:bfdaf0cc) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"4acb6312-d676-11f0-a001-ee51be0f528c"}]' is allowed to perform API calls: 0.0.0.0/0,::/0
   2026-01-16 02:19:18,130 INFO  [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp1438988851-2379:[ctx-d9f0fc00, ctx-3bd42e7c]) (logid:bfdaf0cc) Account for user id 4acbf71a-d676-11f0-a001-ee51be0f528c is Root Admin or Domain Admin, all APIs are allowed.
   2026-01-16 02:19:18,130 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp1438988851-2379:[ctx-d9f0fc00, ctx-3bd42e7c]) (logid:bfdaf0cc) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   2026-01-16 02:19:18,130 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1438988851-2379:[ctx-d9f0fc00, ctx-3bd42e7c]) (logid:bfdaf0cc) API rate limiting is disabled. We will not use ApiRateLimitService.
   2026-01-16 02:19:18,136 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2379:[ctx-d9f0fc00, ctx-3bd42e7c]) (logid:bfdaf0cc) ===END===  10.103.8.66 -- GET  managementserverid=792bdc82-8954-4649-913b-5915f9370641&command=readyForShutdown&response=json&
   2026-01-16 02:19:18,163 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) ===END===  10.103.8.66 -- GET  clusterid=5324c612-85de-4cd5-8a94-f6ba0b60a734&page=1&pagesize=10&keyword=migration&datacentername=AGB-HTY-DC&vcenter=172.18.10.102&username=administrator%40vsphere.local&command=listVmwareDcVms&response=json&
   2026-01-16 02:19:18,181 DEBUG [c.c.a.t.Request] (AgentManager-Handler-14:[]) (logid:) Seq 19-4663758889118862237: Processing:  { Ans: , MgmtId: 252941317932084, via: 19, Ver: v1, Flags: 10, [{"com.cloud.agent.api.CheckConvertInstanceAnswer":{"ovfExportSupported":"true","result":"true","details":"","wait":"0","bypassHostMaintenance":"false"}}] }
   2026-01-16 02:19:18,181 DEBUG [c.c.a.t.Request] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Seq 19-4663758889118862237: Received:  { Ans: , MgmtId: 252941317932084, via: 19(adc-cpn-02), Ver: v1, Flags: 10, { CheckConvertInstanceAnswer } }
   2026-01-16 02:19:18,181 DEBUG [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) The host Host {"id":19,"name":"adc-cpn-02","type":"Routing","uuid":"3229cf4b-73c3-40f4-89ff-373bbd646a12"}  is selected to execute the conversion of the instance migration-vm-test from VMware to KVM 
   2026-01-16 02:19:18,182 DEBUG [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) No convert storage pool has been provided, selecting an NFS secondary storage pool from the destination cluster (ADC-CLUSTER-01) zone
   2026-01-16 02:19:18,190 ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Cannot find suitable storage pools in the cluster ADC-CLUSTER-01 for the conversion
   2026-01-16 02:19:18,190 ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Error importing VM: Cannot find suitable storage pools in the cluster ADC-CLUSTER-01 for the conversion com.cloud.utils.exception.CloudRuntimeException: Cannot find suitable storage pools in the cluster ADC-CLUSTER-01 for the conversion
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.findInstanceConversionDestinationStoragePoolsInCluster(UnmanagedVMsManagerImpl.java:2197)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importUnmanagedInstanceFromVmwareToKvm(UnmanagedVMsManagerImpl.java:1756)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.baseImportInstance(UnmanagedVMsManagerImpl.java:1427)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importVm(UnmanagedVMsManagerImpl.java:1576)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
           at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:569)
           at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:109)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
           at jdk.proxy3/jdk.proxy3.$Proxy538.importVm(Unknown Source)
           at org.apache.cloudstack.api.command.admin.vm.ImportVmCmd.execute(ImportVmCmd.java:289)
           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
           at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
           at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:698)
           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 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:646)
           at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
           at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
           at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
           at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
           at java.base/java.lang.Thread.run(Thread.java:840)
   
   2026-01-16 02:19:18,200 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.ImportVmCmd java.lang.NullPointerException: Cannot invoke "com.cloud.vm.ImportVMTaskVO.setUpdated(java.util.Date)" because "importVMTaskVO" is null
           at org.apache.cloudstack.vm.ImportVmTasksManagerImpl.updateImportVMTaskErrorState(ImportVmTasksManagerImpl.java:166)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importUnmanagedInstanceFromVmwareToKvm(UnmanagedVMsManagerImpl.java:1811)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.baseImportInstance(UnmanagedVMsManagerImpl.java:1427)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importVm(UnmanagedVMsManagerImpl.java:1576)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
           at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:569)
           at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:109)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
           at jdk.proxy3/jdk.proxy3.$Proxy538.importVm(Unknown Source)
           at org.apache.cloudstack.api.command.admin.vm.ImportVmCmd.execute(ImportVmCmd.java:289)
           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
           at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
           at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:698)
           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 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:646)
           at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
           at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
           at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
           at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
           at java.base/java.lang.Thread.run(Thread.java:840)
   
   2026-01-16 02:19:18,202 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Complete async job-9474, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Cannot invoke "com.cloud.vm.ImportVMTaskVO.setUpdated(java.util.Date)" because "importVMTaskVO" is null"}
   2026-01-16 02:19:18,203 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Publish async job-9474 complete on message bus
   2026-01-16 02:19:18,203 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Wake up jobs related to job-9474
   2026-01-16 02:19:18,203 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Update db status for job-9474
   2026-01-16 02:19:18,204 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Wake up jobs joined with job-9474 and disjoin all subjobs created from job- 9474
   2026-01-16 02:19:18,211 DEBUG [c.c.a.ApiServer] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Retrieved cmdEventType from job info: VM.IMPORT
   2026-01-16 02:19:18,214 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl$5] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Done executing org.apache.cloudstack.api.command.admin.vm.ImportVmCmd for job-9474
   2026-01-16 02:19:18,214 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Remove job-9474 from job monitoring
   ***
   From KVM Host
   ***
   There is no log related with importing vm in KVM host.
   ***
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing Vm from unmanaged vcenter to KVM failed [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #12432: Importing Vm from unmanaged vcenter to KVM failed
URL: https://github.com/apache/cloudstack/issues/12432


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing Vm from unmanaged vcenter to KVM failed [cloudstack]

Posted by "NyaineChanMyint (via GitHub)" <gi...@apache.org>.
NyaineChanMyint commented on issue #12432:
URL: https://github.com/apache/cloudstack/issues/12432#issuecomment-3760599044

   @DaanHoogland Yeah. Reloved!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing Vm from unmanaged vcenter to KVM failed [cloudstack]

Posted by "nvazquez (via GitHub)" <gi...@apache.org>.
nvazquez commented on issue #12432:
URL: https://github.com/apache/cloudstack/issues/12432#issuecomment-3756063752

   Hi @NyaineChanMyint can you please upload the full logs for the management server import operation and the KVM agent logs on which the migration was attempted?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing Vm from unmanaged vcenter to KVM failed [cloudstack]

Posted by "NyaineChanMyint (via GitHub)" <gi...@apache.org>.
NyaineChanMyint commented on issue #12432:
URL: https://github.com/apache/cloudstack/issues/12432#issuecomment-3758121682

   @nvazquez Revolved. Created another primary pool with NFS and force in there for conversion.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing Vm from unmanaged vcenter to KVM failed [cloudstack]

Posted by "NyaineChanMyint (via GitHub)" <gi...@apache.org>.
NyaineChanMyint commented on issue #12432:
URL: https://github.com/apache/cloudstack/issues/12432#issuecomment-3757833154

   @nvazquez I think I found the issue 
   ***
   ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Error importing VM: Cannot find suitable storage pools in the cluster ADC-CLUSTER-01 for the conversion com.cloud.utils.exception.CloudRuntimeException: Cannot find suitable storage pools in the cluster ADC-CLUSTER-01 for the conversion
   ***
   My current cloudstack setup is
   - cloudstack version 4.22
   - primary storage ceph
   - secondary storage NFS


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing Vm from unmanaged vcenter to KVM failed [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #12432:
URL: https://github.com/apache/cloudstack/issues/12432#issuecomment-3758672725

   @NyaineChanMyint , this means this issue is resolved, right?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing Vm from unmanaged vcenter to KVM failed [cloudstack]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #12432:
URL: https://github.com/apache/cloudstack/issues/12432#issuecomment-3754495721

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing Vm from unmanaged vcenter to KVM failed [cloudstack]

Posted by "NyaineChanMyint (via GitHub)" <gi...@apache.org>.
NyaineChanMyint commented on issue #12432:
URL: https://github.com/apache/cloudstack/issues/12432#issuecomment-3757805324

   @nvazquez Here is almost full log of importing vm from vcenter to cloudstack.
   ***
   2026-01-16 02:19:17,735 DEBUG [c.c.a.ApiServer] (qtp1438988851-2737:[ctx-8a2cd0b8, ctx-295aa121]) (logid:3c82c26f) Retrieved cmdEventType from job info: VM.IMPORT
   2026-01-16 02:19:17,737 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:3fc93f47) Add job-9474 into job monitoring
   2026-01-16 02:19:17,744 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl$5] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Executing AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.vm.ImportVmCmd","cmdInfo":"{\"temppath\":\"\",\"hostip\":\"agbydcesx04.agbisp.net\",\"clustername\":\"AGB-Cluster\",\"convertinstancehostid\":\"3229cf4b-73c3-40f4-89ff-373bbd646a12\",\"forced\":\"true\",\"sessionkey\":\"4Cls0AwiufBQe5XrsUNgWXa80hQ\",\"httpmethod\":\"POST\",\"ctxAccountId\":\"2\",\"domainid\":\"cae33d94-edab-47e5-b7ef-5c06736eb4d9\",\"cmdEventType\":\"VM.IMPORT\",\"password\":\"@gPt0p53cr3T!%T0B\",\"importinstancehostid\":\"3229cf4b-73c3-40f4-89ff-373bbd646a12\",\"hypervisor\":\"kvm\",\"host\":\"\",\"vcenter\":\"172.18.10.102\",\"ctxStartEventId\":\"47097\",\"ctxDetails\":\"{\\\"interface com.cloud.org.Cluster\\\":\\\"5324c612-85de-4cd5-8a94-f6ba0b60a734\\\",\\\"interface com.cloud.dc.DataCenter\\\":\\\"b016c483-474e-43bc-8a15-1146f77fdcb0\\\",\\\"interface c
 om.cloud.domain.Domain\\\":\\\"cae33d94-edab-47e5-b7ef-5c06736eb4d9\\\",\\\"interface com.cloud.host.Host\\\":\\\"3229cf4b-73c3-40f4-89ff-373bbd646a12\\\",\\\"interface com.cloud.offering.ServiceOffering\\\":\\\"42a26391-3e0e-4fa5-9427-5c3f3ace08c7\\\"}\",\"clusterid\":\"5324c612-85de-4cd5-8a94-f6ba0b60a734\",\"nicipaddresslist[0].ip4Address\":\"auto\",\"importsource\":\"vmware\",\"nicipaddresslist[0].nic\":\"Network adapter 1\",\"nicnetworklist[0].network\":\"cc498782-1940-4203-b00e-feb29c6427c2\",\"serviceofferingid\":\"42a26391-3e0e-4fa5-9427-5c3f3ace08c7\",\"response\":\"json\",\"datacentername\":\"AGB-HTY-DC\",\"ctxUserId\":\"2\",\"displayname\":\"migration-testing\",\"name\":\"migration-vm-test\",\"zoneid\":\"b016c483-474e-43bc-8a15-1146f77fdcb0\",\"diskpath\":\"\",\"nicnetworklist[0].nic\":\"Network adapter 1\",\"account\":\"office\",\"username\":\"administrator@vsphere.local\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":9474,"initMsid":252941317932084,"instanceI
 d":null,"instanceType":"None","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"5d8f0b4b-5d95-4f9a-a592-4011d07d9b50"}
   2026-01-16 02:19:17,748 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (qtp1438988851-2737:[ctx-8a2cd0b8, ctx-295aa121]) (logid:3c82c26f) submit async job-9474, details: AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.vm.ImportVmCmd","cmdInfo":"{\"temppath\":\"\",\"hostip\":\"agbydcesx04.agbisp.net\",\"clustername\":\"AGB-Cluster\",\"convertinstancehostid\":\"3229cf4b-73c3-40f4-89ff-373bbd646a12\",\"forced\":\"true\",\"sessionkey\":\"4Cls0AwiufBQe5XrsUNgWXa80hQ\",\"httpmethod\":\"POST\",\"ctxAccountId\":\"2\",\"domainid\":\"cae33d94-edab-47e5-b7ef-5c06736eb4d9\",\"cmdEventType\":\"VM.IMPORT\",\"password\":\"@gPt0p53cr3T!%T0B\",\"importinstancehostid\":\"3229cf4b-73c3-40f4-89ff-373bbd646a12\",\"hypervisor\":\"kvm\",\"host\":\"\",\"vcenter\":\"172.18.10.102\",\"ctxStartEventId\":\"47097\",\"ctxDetails\":\"{\\\"interface com.cloud.org.Cluster\\\":\\\"5324c612-85de-4cd5-8a94-f6ba0b60a734\\\",\\\"interface com.cloud.dc.DataCenter\\\":\\\"b016c483-474e-43bc-8a15-1146f77f
 dcb0\\\",\\\"interface com.cloud.domain.Domain\\\":\\\"cae33d94-edab-47e5-b7ef-5c06736eb4d9\\\",\\\"interface com.cloud.host.Host\\\":\\\"3229cf4b-73c3-40f4-89ff-373bbd646a12\\\",\\\"interface com.cloud.offering.ServiceOffering\\\":\\\"42a26391-3e0e-4fa5-9427-5c3f3ace08c7\\\"}\",\"clusterid\":\"5324c612-85de-4cd5-8a94-f6ba0b60a734\",\"nicipaddresslist[0].ip4Address\":\"auto\",\"importsource\":\"vmware\",\"nicipaddresslist[0].nic\":\"Network adapter 1\",\"nicnetworklist[0].network\":\"cc498782-1940-4203-b00e-feb29c6427c2\",\"serviceofferingid\":\"42a26391-3e0e-4fa5-9427-5c3f3ace08c7\",\"response\":\"json\",\"datacentername\":\"AGB-HTY-DC\",\"ctxUserId\":\"2\",\"displayname\":\"migration-testing\",\"name\":\"migration-vm-test\",\"zoneid\":\"b016c483-474e-43bc-8a15-1146f77fdcb0\",\"diskpath\":\"\",\"nicnetworklist[0].nic\":\"Network adapter 1\",\"account\":\"office\",\"username\":\"administrator@vsphere.local\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":9474,"initMsid":25
 2941317932084,"instanceId":null,"instanceType":"None","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"5d8f0b4b-5d95-4f9a-a592-4011d07d9b50"}
   2026-01-16 02:19:17,750 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2737:[ctx-8a2cd0b8, ctx-295aa121]) (logid:3c82c26f) ===END===  10.103.8.66 -- POST  
   command=importVm 
   response=json 
   name=migration-vm-test 
   clusterid=5324c612-85de-4cd5-8a94-f6ba0b60a734 
   displayname=migration-testing 
   zoneid=b016c483-474e-43bc-8a15-1146f77fdcb0 
   importsource=vmware 
   hypervisor=kvm 
   host=
   username=administrator@vsphere.local 
   password=
   diskpath=
   temppath=
   serviceofferingid=42a26391-3e0e-4fa5-9427-5c3f3ace08c7 
   vcenter=***.**.**.***
   datacentername=AGB-HTY-DC 
   hostip=agbydcesx04.agbisp.net 
   clustername=AGB-Cluster 
   convertinstancehostid=3229cf4b-73c3-40f4-89ff-373bbd646a12 
   importinstancehostid=3229cf4b-73c3-40f4-89ff-373bbd646a12 
   domainid=cae33d94-edab-47e5-b7ef-5c06736eb4d9 
   account=office 
   forced=true 
   nicnetworklist[0].nic=Network adapter 1 
   nicnetworklist[0].network=cc498782-1940-4203-b00e-feb29c6427c2 
   nicipaddresslist[0].nic=Network adapter 1 
   nicipaddresslist[0].ip4Address=auto 
   sessionkey=4Cls0AwiufBQe5XrsUNgWXa80hQ 
   
   2026-01-16 02:19:17,765 DEBUG [c.c.a.ApiServlet] (qtp1438988851-335:[ctx-1c7f2beb]) (logid:57a231fb) ===START===  10.103.8.66 -- GET  jobId=5d8f0b4b-5d95-4f9a-a592-4011d07d9b50&command=queryAsyncJobResult&response=json&
   2026-01-16 02:19:17,765 DEBUG [c.c.a.ApiServlet] (qtp1438988851-335:[ctx-1c7f2beb]) (logid:57a231fb) Two factor authentication is already verified for the user 2, so skipping
   2026-01-16 02:19:17,771 DEBUG [c.c.a.ApiServer] (qtp1438988851-335:[ctx-1c7f2beb, ctx-4e63a447]) (logid:57a231fb) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"4acb6312-d676-11f0-a001-ee51be0f528c"}]' is allowed to perform API calls: 0.0.0.0/0,::/0
   2026-01-16 02:19:17,773 INFO  [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp1438988851-335:[ctx-1c7f2beb, ctx-4e63a447]) (logid:57a231fb) Account for user id 4acbf71a-d676-11f0-a001-ee51be0f528c is Root Admin or Domain Admin, all APIs are allowed.
   2026-01-16 02:19:17,773 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp1438988851-335:[ctx-1c7f2beb, ctx-4e63a447]) (logid:57a231fb) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   2026-01-16 02:19:17,773 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1438988851-335:[ctx-1c7f2beb, ctx-4e63a447]) (logid:57a231fb) API rate limiting is disabled. We will not use ApiRateLimitService.
   2026-01-16 02:19:17,790 DEBUG [c.c.a.ApiServlet] (qtp1438988851-335:[ctx-1c7f2beb, ctx-4e63a447]) (logid:57a231fb) ===END===  10.103.8.66 -- GET  jobId=5d8f0b4b-5d95-4f9a-a592-4011d07d9b50&command=queryAsyncJobResult&response=json&
   2026-01-16 02:19:17,795 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Access granted to Account [{"accountName":"office","id":97,"uuid":"fd52cd98-0a3b-4841-a0aa-769f3f288599"}] to Service offering {"id":57,"name":"vmware-template","uuid":"42a26391-3e0e-4fa5-9427-5c3f3ace08c7"}. by AffinityGroupAccessChecker
   2026-01-16 02:19:17,808 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Checking if  amount of resources of Type = 'user_vm', tag = 'null' for Account Name = office in Domain Id = 28 is exceeded: Account Resource Limit = 10, Current Account Resource Amount = 0, Current Account Resource Reservation = 0, Requested Resource Amount = 1.
   2026-01-16 02:19:17,810 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2737:[ctx-fef3919c]) (logid:6a1b41f6) ===START===  10.103.8.66 -- GET  clusterid=5324c612-85de-4cd5-8a94-f6ba0b60a734&page=1&pagesize=10&keyword=migration&datacentername=AGB-HTY-DC&vcenter=172.18.10.102&username=administrator%40vsphere.local&command=listVmwareDcVms&response=json&
   2026-01-16 02:19:17,810 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2737:[ctx-fef3919c]) (logid:6a1b41f6) Two factor authentication is already verified for the user 2, so skipping
   2026-01-16 02:19:17,812 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Checking if  domain resource limits of Type 'user_vm' for Domain Id = cae33d94-edab-47e5-b7ef-5c06736eb4d9 is exceeded: Domain Resource Limit = 50, Current Domain Resource Amount = 0, Current Resource Reservation = 0, Requested Resource Amount = 1.
   2026-01-16 02:19:17,814 DEBUG [o.a.c.a.c.a.v.ImportVmCmd] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) nic, 'Network adapter 1', goes on net, 'cc498782-1940-4203-b00e-feb29c6427c2'
   2026-01-16 02:19:17,816 DEBUG [c.c.a.ApiServer] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"4acb6312-d676-11f0-a001-ee51be0f528c"}]' is allowed to perform API calls: 0.0.0.0/0,::/0
   2026-01-16 02:19:17,817 DEBUG [o.a.c.a.c.a.v.ImportVmCmd] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) nic, 'Network adapter 1', gets ip, 'auto'
   2026-01-16 02:19:17,818 INFO  [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) Account for user id 4acbf71a-d676-11f0-a001-ee51be0f528c is Root Admin or Domain Admin, all APIs are allowed.
   2026-01-16 02:19:17,818 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   2026-01-16 02:19:17,818 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) API rate limiting is disabled. We will not use ApiRateLimitService.
   2026-01-16 02:19:17,824 WARN  [c.c.a.d.ParamGenericValidationWorker] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) Received unknown parameters for command listVmwareDcVms. Unknown parameters : clusterid
   2026-01-16 02:19:17,825 DEBUG [c.c.h.v.m.VmwareManagerImpl] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) Connecting to the VMware datacenter AGB-HTY-DC at vCenter ***.**.**.***to retrieve VMs
   2026-01-16 02:19:17,825 DEBUG [c.c.h.v.m.VmwareManagerImpl] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) Connecting to the VMware vCenter 172.18.10.102
   2026-01-16 02:19:17,840 DEBUG [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Checking the  conversion support on the host Host {"id":19,"name":"adc-cpn-02","type":"Routing","uuid":"3229cf4b-73c3-40f4-89ff-373bbd646a12"}
   2026-01-16 02:19:17,841 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Wait time setting on com.cloud.agent.api.CheckConvertInstanceCommand is 60 seconds
   2026-01-16 02:19:17,844 DEBUG [c.c.a.m.ClusteredAgentAttache] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Seq 19-4663758889118862237: Routed from 252941317932084
   2026-01-16 02:19:17,844 DEBUG [c.c.a.t.Request] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Seq 19-4663758889118862237: Sending  { Cmd , MgmtId: 252941317932084, via: 19(adc-cpn-02), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.CheckConvertInstanceCommand":{"checkWindowsGuestConversionSupport":"false","wait":"60","bypassHostMaintenance":"false"}}] }
   2026-01-16 02:19:17,925 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:[ctx-ad612e6b]) (logid:c0c497fb) No inactive management server node found
   2026-01-16 02:19:17,925 DEBUG [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:[ctx-ad612e6b]) (logid:c0c497fb) Peer scan is finished. profiler: Done. Duration: 2ms , profilerQueryActiveList: Done. Duration: 0ms, , profilerSyncClusterInfo: Done. Duration: 0ms, profilerInvalidatedNodeList: Done. Duration: 0ms, profilerRemovedList: Done. Duration: 0ms,, profilerNewList: Done. Duration: 0ms, profilerInactiveList: Done. Duration: 0ms
   2026-01-16 02:19:17,931 INFO  [c.c.h.v.u.VmwareContext] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) New VmwareContext object, current outstanding count: 8
   2026-01-16 02:19:18,121 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2379:[ctx-d9f0fc00]) (logid:bfdaf0cc) ===START===  10.103.8.66 -- GET  managementserverid=792bdc82-8954-4649-913b-5915f9370641&command=readyForShutdown&response=json&
   2026-01-16 02:19:18,121 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2379:[ctx-d9f0fc00]) (logid:bfdaf0cc) Two factor authentication is already verified for the user 2, so skipping
   2026-01-16 02:19:18,128 DEBUG [c.c.a.ApiServer] (qtp1438988851-2379:[ctx-d9f0fc00, ctx-3bd42e7c]) (logid:bfdaf0cc) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"4acb6312-d676-11f0-a001-ee51be0f528c"}]' is allowed to perform API calls: 0.0.0.0/0,::/0
   2026-01-16 02:19:18,130 INFO  [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp1438988851-2379:[ctx-d9f0fc00, ctx-3bd42e7c]) (logid:bfdaf0cc) Account for user id 4acbf71a-d676-11f0-a001-ee51be0f528c is Root Admin or Domain Admin, all APIs are allowed.
   2026-01-16 02:19:18,130 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp1438988851-2379:[ctx-d9f0fc00, ctx-3bd42e7c]) (logid:bfdaf0cc) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   2026-01-16 02:19:18,130 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1438988851-2379:[ctx-d9f0fc00, ctx-3bd42e7c]) (logid:bfdaf0cc) API rate limiting is disabled. We will not use ApiRateLimitService.
   2026-01-16 02:19:18,136 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2379:[ctx-d9f0fc00, ctx-3bd42e7c]) (logid:bfdaf0cc) ===END===  10.103.8.66 -- GET  managementserverid=792bdc82-8954-4649-913b-5915f9370641&command=readyForShutdown&response=json&
   2026-01-16 02:19:18,163 DEBUG [c.c.a.ApiServlet] (qtp1438988851-2737:[ctx-fef3919c, ctx-91deab1c]) (logid:6a1b41f6) ===END===  10.103.8.66 -- GET  clusterid=5324c612-85de-4cd5-8a94-f6ba0b60a734&page=1&pagesize=10&keyword=migration&datacentername=AGB-HTY-DC&vcenter=172.18.10.102&username=administrator%40vsphere.local&command=listVmwareDcVms&response=json&
   2026-01-16 02:19:18,181 DEBUG [c.c.a.t.Request] (AgentManager-Handler-14:[]) (logid:) Seq 19-4663758889118862237: Processing:  { Ans: , MgmtId: 252941317932084, via: 19, Ver: v1, Flags: 10, [{"com.cloud.agent.api.CheckConvertInstanceAnswer":{"ovfExportSupported":"true","result":"true","details":"","wait":"0","bypassHostMaintenance":"false"}}] }
   2026-01-16 02:19:18,181 DEBUG [c.c.a.t.Request] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Seq 19-4663758889118862237: Received:  { Ans: , MgmtId: 252941317932084, via: 19(adc-cpn-02), Ver: v1, Flags: 10, { CheckConvertInstanceAnswer } }
   2026-01-16 02:19:18,181 DEBUG [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) The host Host {"id":19,"name":"adc-cpn-02","type":"Routing","uuid":"3229cf4b-73c3-40f4-89ff-373bbd646a12"}  is selected to execute the conversion of the instance migration-vm-test from VMware to KVM 
   2026-01-16 02:19:18,182 DEBUG [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) No convert storage pool has been provided, selecting an NFS secondary storage pool from the destination cluster (ADC-CLUSTER-01) zone
   2026-01-16 02:19:18,190 ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Cannot find suitable storage pools in the cluster ADC-CLUSTER-01 for the conversion
   2026-01-16 02:19:18,190 ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474, ctx-f657e258]) (logid:5d8f0b4b) Error importing VM: Cannot find suitable storage pools in the cluster ADC-CLUSTER-01 for the conversion com.cloud.utils.exception.CloudRuntimeException: Cannot find suitable storage pools in the cluster ADC-CLUSTER-01 for the conversion
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.findInstanceConversionDestinationStoragePoolsInCluster(UnmanagedVMsManagerImpl.java:2197)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importUnmanagedInstanceFromVmwareToKvm(UnmanagedVMsManagerImpl.java:1756)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.baseImportInstance(UnmanagedVMsManagerImpl.java:1427)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importVm(UnmanagedVMsManagerImpl.java:1576)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
           at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:569)
           at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:109)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
           at jdk.proxy3/jdk.proxy3.$Proxy538.importVm(Unknown Source)
           at org.apache.cloudstack.api.command.admin.vm.ImportVmCmd.execute(ImportVmCmd.java:289)
           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
           at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
           at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:698)
           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 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:646)
           at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
           at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
           at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
           at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
           at java.base/java.lang.Thread.run(Thread.java:840)
   
   2026-01-16 02:19:18,200 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.ImportVmCmd java.lang.NullPointerException: Cannot invoke "com.cloud.vm.ImportVMTaskVO.setUpdated(java.util.Date)" because "importVMTaskVO" is null
           at org.apache.cloudstack.vm.ImportVmTasksManagerImpl.updateImportVMTaskErrorState(ImportVmTasksManagerImpl.java:166)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importUnmanagedInstanceFromVmwareToKvm(UnmanagedVMsManagerImpl.java:1811)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.baseImportInstance(UnmanagedVMsManagerImpl.java:1427)
           at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importVm(UnmanagedVMsManagerImpl.java:1576)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
           at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:569)
           at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:109)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
           at jdk.proxy3/jdk.proxy3.$Proxy538.importVm(Unknown Source)
           at org.apache.cloudstack.api.command.admin.vm.ImportVmCmd.execute(ImportVmCmd.java:289)
           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
           at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
           at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:698)
           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 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:646)
           at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
           at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
           at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
           at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
           at java.base/java.lang.Thread.run(Thread.java:840)
   
   2026-01-16 02:19:18,202 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Complete async job-9474, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Cannot invoke "com.cloud.vm.ImportVMTaskVO.setUpdated(java.util.Date)" because "importVMTaskVO" is null"}
   2026-01-16 02:19:18,203 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Publish async job-9474 complete on message bus
   2026-01-16 02:19:18,203 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Wake up jobs related to job-9474
   2026-01-16 02:19:18,203 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Update db status for job-9474
   2026-01-16 02:19:18,204 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Wake up jobs joined with job-9474 and disjoin all subjobs created from job- 9474
   2026-01-16 02:19:18,211 DEBUG [c.c.a.ApiServer] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Retrieved cmdEventType from job info: VM.IMPORT
   2026-01-16 02:19:18,214 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl$5] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Done executing org.apache.cloudstack.api.command.admin.vm.ImportVmCmd for job-9474
   2026-01-16 02:19:18,214 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-2:[ctx-b422e209, job-9474]) (logid:5d8f0b4b) Remove job-9474 from job monitoring
   ****


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org