GitHub user nemethga created a discussion: VM migration from vmware to kvm 
failed.

We have  ACS 4.22 environment with KVM and we are testing VM conversion from 
vmware to acs. Test VM is stopped OL8 linux. The following error occurred 
during migration. The error is from KVM cloudstack agent log. Where could the 
problem be? Vcenter is available. 

- Where can I find a more detailed description of the functionality of 
individual parts of the migration tool?
- What should be the correct settings on the vcenter side? 
- What services must be running on vcenter? 
- I found out that the error could be related to the running of the vmware-sps 
service on the server?

Thanks for your help


2026-03-24 14:03:52,798 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-7:[]) (logid:) 
((test-vm-01) export ovf) Error: Internal error: Failed to connect to remote 
host [vc01.testdomain.sk due to [No version for VMODL calls to <<<cs 
p:000055dee12710b0, TCP:vc01.testdomain.sk:443> >, /sdk>]
2026-03-24 14:03:52,800 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-7:[]) (logid:) 
((doval-export-test) export ovf) Completed with errors
2026-03-24 14:03:52,809 WARN  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-4:[]) (logid:36eb933c) Execution of process [3172099] for 
command [ovftool --noSSLVerify vi://**
****@vc01.testdomain.sk:443/PosAm DC/vm/Development/_noBCK/test-vm-01 
/mnt/769229c1-29e0-3ff9-a668-97167bb64eee/14837b91-e991-4657-800c-3b585a149f32/ 
] failed.
2026-03-24 14:03:52,809 WARN  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-4:[]) (logid:36eb933c) Exception [Stream closed] occurred 
when attempting to run command [ovftoo
l --noSSLVerify vi://******@vc01.testdomain.sk:443/PosAm 
DC/vm/Development/_noBCK/test-vm-01 
/mnt/769229c1-29e0-3ff9-a668-97167bb64eee/14837b91-e991-4657-800c-3b585a149f32/ 
]. java.io.IOException: St
ream closed
        at 
java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:168)
        at 
java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:334)
        at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:287)
        at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:330)
        at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:190)
        at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)
        at java.base/java.io.BufferedReader.fill(BufferedReader.java:162)
        at java.base/java.io.BufferedReader.readLine(BufferedReader.java:329)
        at java.base/java.io.BufferedReader.readLine(BufferedReader.java:396)
        at 
com.cloud.utils.script.OutputInterpreter.processError(OutputInterpreter.java:41)
        at com.cloud.utils.script.Script.execute(Script.java:336)
        at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.exportOVAFromVMOnVcenter(LibvirtConvertInstanceCommandWrapper.java:220)
        at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.execute(LibvirtConvertInstanceCommandWrapper.java:104)
        at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.execute(LibvirtConvertInstanceCommandWrapper.java:47)
        at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:2280)
        at com.cloud.agent.Agent.processRequest(Agent.java:813)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1295)
        at com.cloud.utils.nio.Task.call(Task.java:83)
        at com.cloud.utils.nio.Task.call(Task.java:29)
        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-03-24 14:03:52,810 ERROR 
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-4:[]) (logid:36eb933c) (test-vm-01) Export OVA for the VM 
test-vm-01 failed

GitHub link: https://github.com/apache/cloudstack/discussions/12888

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to