-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
problem
vcenter connection is live and after starting migration, below error comes with logs -
tail -f /var/log/cloudstack/agent/agent.log
2025-01-27 20:23:40,799 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (agentRequest-Handler-3:null) (logid:f60e79bc) Attempting to convert the OVF c7c4fe2c-4362-4482-a14d-c788e6278371 of the instance vm123 from VMware to KVM
2025-01-27 20:23:40,826 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) virt-v2v: virt-v2v 1.44.2 (x86_64)
2025-01-27 20:23:40,827 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) libvirt version: 8.0.0
2025-01-27 20:23:40,827 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) [ 0.0] Opening the source -i ova /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/
2025-01-27 20:23:40,827 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) ova: orig_ova = /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/, top_dir = /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371, ova_type = Directory
2025-01-27 20:23:40,843 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) cd '/mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371' && find -type f
2025-01-27 20:23:40,850 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) virt-v2v: error: -i ova: OVF references file
2025-01-27 20:23:40,850 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) ‘c7c4fe2c-4362-4482-a14d-c788e6278371-disk0.vmdk’ which was not found
2025-01-27 20:23:40,850 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) in the OVA archive
2025-01-27 20:23:40,850 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress)
2025-01-27 20:23:40,850 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) If reporting bugs, run virt-v2v with debugging enabled and include the
2025-01-27 20:23:40,850 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) complete output:
2025-01-27 20:23:40,850 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress)
2025-01-27 20:23:40,850 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) virt-v2v -v -x [...]
2025-01-27 20:23:40,850 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) rm -rf '/var/tmp/null.G0UmXs'
2025-01-27 20:23:40,854 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-6:null) (logid:) (virt-v2v ovf source: /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ progress) libguestfs: closing guestfs handle 0x55d5d7f15c10 (state 0)
2025-01-27 20:23:40,857 WARN [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (agentRequest-Handler-3:null) (logid:f60e79bc) Execution of process [73029] for command [virt-v2v --root first -i ova /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ -o local -os /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09 -of qcow2 -on ef1f1603-1c83-4888-8f55-4a17feafb699 -v ] failed.
2025-01-27 20:23:40,857 WARN [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (agentRequest-Handler-3:null) (logid:f60e79bc) Exception [Stream closed] occurred when attempting to run command [virt-v2v --root first -i ova /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09/c7c4fe2c-4362-4482-a14d-c788e6278371/ -o local -os /mnt/c81c5de0-17e2-3259-a95e-f8dc6728ae09 -of qcow2 -on ef1f1603-1c83-4888-8f55-4a17feafb699 -v ].
java.io.IOException: Stream closed
at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:176)
at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:342)
at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:295)
at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:337)
at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:179)
at java.base/java.io.InputStreamReader.read(InputStreamReader.java:181)
at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:326)
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:392)
at com.cloud.utils.script.OutputInterpreter.processError(OutputInterpreter.java:38)
at com.cloud.utils.script.Script.execute(Script.java:313)
at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.performInstanceConversion(LibvirtConvertInstanceCommandWrapper.java:414)
at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.execute(LibvirtConvertInstanceCommandWrapper.java:134)
at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.execute(LibvirtConvertInstanceCommandWrapper.java:62)
at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1929)
at com.cloud.agent.Agent.processRequest(Agent.java:683)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1106)
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:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
2025-01-27 20:23:40,858 ERROR [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (agentRequest-Handler-3:null) (logid:f60e79bc) The virt-v2v conversion for the OVF c7c4fe2c-4362-4482-a14d-c788e6278371 failed. Please check the agent logs for the virt-v2v output
versions
The versions of ACS - 14.19.1.2
hypervisors - KVM
storage - NFS
The steps to reproduce the bug
- in host where v2v is installed check agent logs
- from cloudstack GUI, follow vmware to kvm migration process
- vcenter create clone and after sometime migration fails with above error
...
What to do about it?
No response