ahmedali6 commented on PR #8815:
URL: https://github.com/apache/cloudstack/pull/8815#issuecomment-2139584495

   @sureshanaparti I tested this branch on a test environment. It works for me 
when I move one VM at a time, but when migrating multiple VMs at the same time 
it fails. Did you try it with multiple VMs? Here are the logs: 
   
   ```
   2024-05-30 15:29:06,847 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-5:null) (logid:c5387683) Trying to fetch storage pool 
179410dd-62ae-3ca9-ba0b-8daa7ab9d050 from libvirt
   2024-05-30 15:29:06,895 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:c5387683) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:29:06,898 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:c5387683) Asking libvirt to refresh 
storage pool ee7a6096-195d-3dc7-94ac-043bdb34dba6
   2024-05-30 15:29:36,615 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(agentRequest-Handler-2:null) (logid:0e7cbb7c) Groovy script 
'/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. 
Transformations will not be applied.
   2024-05-30 15:29:36,615 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(agentRequest-Handler-2:null) (logid:0e7cbb7c) Groovy scripting engine is not 
initialized. Data transformation skipped.
   2024-05-30 15:29:37,177 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(agentRequest-Handler-3:null) (logid:05624d2a) Groovy script 
'/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. 
Transformations will not be applied.
   2024-05-30 15:29:37,177 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(agentRequest-Handler-3:null) (logid:05624d2a) Groovy scripting engine is not 
initialized. Data transformation skipped.
   2024-05-30 15:29:37,233 WARN  [utils.script.Script] 
(agentRequest-Handler-3:null) (logid:05624d2a) Execution of process [8003] for 
command [/bin/bash -c ls /sys/class/net/brenp1s0-100 ] failed.
   2024-05-30 15:29:37,234 WARN  [utils.script.Script] 
(agentRequest-Handler-3:null) (logid:05624d2a) Process [8003] for command 
[/bin/bash -c ls /sys/class/net/brenp1s0-100 ] encountered the error: [ls: 
cannot access '/sys/class/net/brenp1s0-100': No such file or directory].
   2024-05-30 15:29:44,534 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-5:null) (logid:0e7cbb7c) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:29:44,547 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-5:null) (logid:0e7cbb7c) Attempting to remove volume 
479d5ad7-d25b-4838-9505-437f452ce5bd from pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6
   2024-05-30 15:29:44,604 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:null) (logid:05624d2a) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:29:44,614 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:null) (logid:05624d2a) Attempting to remove volume 
390b5672-d0b5-4c02-aba4-99bdeb22ef2a from pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6
   2024-05-30 15:30:07,059 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:1a5f1900) Trying to fetch storage pool 
179410dd-62ae-3ca9-ba0b-8daa7ab9d050 from libvirt
   2024-05-30 15:30:07,107 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-3:null) (logid:1a5f1900) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:30:07,110 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-3:null) (logid:1a5f1900) Asking libvirt to refresh 
storage pool ee7a6096-195d-3dc7-94ac-043bdb34dba6
   2024-05-30 15:31:07,488 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-3:null) (logid:bffe43d8) Trying to fetch storage pool 
179410dd-62ae-3ca9-ba0b-8daa7ab9d050 from libvirt
   2024-05-30 15:31:07,536 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:null) (logid:bffe43d8) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:31:07,541 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:null) (logid:bffe43d8) Asking libvirt to refresh 
storage pool ee7a6096-195d-3dc7-94ac-043bdb34dba6
   2024-05-30 15:32:19,430 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:b458cb0e) Trying to fetch storage pool 
179410dd-62ae-3ca9-ba0b-8daa7ab9d050 from libvirt
   2024-05-30 15:32:19,478 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-3:null) (logid:b458cb0e) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:32:19,482 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-3:null) (logid:b458cb0e) Asking libvirt to refresh 
storage pool ee7a6096-195d-3dc7-94ac-043bdb34dba6
   2024-05-30 15:33:19,641 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-1:null) (logid:471ba127) Trying to fetch storage pool 
179410dd-62ae-3ca9-ba0b-8daa7ab9d050 from libvirt
   2024-05-30 15:33:19,690 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:471ba127) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:33:19,694 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:471ba127) Asking libvirt to refresh 
storage pool ee7a6096-195d-3dc7-94ac-043bdb34dba6
   2024-05-30 15:34:24,086 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-5:null) (logid:a8306afa) Trying to fetch storage pool 
179410dd-62ae-3ca9-ba0b-8daa7ab9d050 from libvirt
   2024-05-30 15:34:24,133 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-1:null) (logid:a8306afa) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:34:24,136 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-1:null) (logid:a8306afa) Asking libvirt to refresh 
storage pool ee7a6096-195d-3dc7-94ac-043bdb34dba6
   2024-05-30 15:35:31,488 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:null) (logid:9b8228f3) Trying to fetch storage pool 
179410dd-62ae-3ca9-ba0b-8daa7ab9d050 from libvirt
   2024-05-30 15:35:31,539 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-5:null) (logid:9b8228f3) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:35:31,544 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-5:null) (logid:9b8228f3) Asking libvirt to refresh 
storage pool ee7a6096-195d-3dc7-94ac-043bdb34dba6
   2024-05-30 15:35:53,454 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:1b9a693c) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:35:53,460 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(agentRequest-Handler-2:null) (logid:1b9a693c) Attempting to convert the OVA 
b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova of the instance rocky-server02 from 
VMware to KVM
   2024-05-30 15:35:53,489 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) virt-v2v: virt-v2v 2.5.4rhel=9,release=1.el9 (x86_64)
   2024-05-30 15:35:53,490 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) libvirt version: 10.0.0
   2024-05-30 15:35:53,500 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) setting owner of /tmp/v2v.MGZL19 to 0:root
   2024-05-30 15:35:53,500 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) check_host_free_space: large_tmpdir=/var/tmp free_space=28967272448
   2024-05-30 15:35:53,500 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) [   0.0] Setting up the source: -i ova 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
   2024-05-30 15:35:53,794 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) qemu-img info json:'{ "file": { "driver": "raw", "offset": 512, 
"size": 512, "file": { "filename": "/tmp/v2vqemuimgtst46d67b.img" } } }' 
>/dev/null
   2024-05-30 15:35:53,805 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) qemu-img supports "offset" and "size" in json URLs: true
   2024-05-30 15:35:53,805 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) libvirt supports  "raw" driver in json URL: true
   2024-05-30 15:35:53,805 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) tar -tf 
'/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova'
   2024-05-30 15:35:53,811 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) tar -xf 
'/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova'
 -C '/var/tmp/ova.dlelwl' 'b153c371-bcc9-4a4c-9e17-c54b463cb25a.ovf'
   2024-05-30 15:35:53,816 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) virt-v2v: warning: making OVA directory public readable to work 
around libvirt bug https://bugzilla.redhat.com/1045069
   2024-05-30 15:35:53,816 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) chmod '-R' 'go=u,go-w' '/var/tmp/ova.dlelwl' 
'/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova'
   2024-05-30 15:35:53,819 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) ova: orig_ova = 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova,
 top_dir = /var/tmp/ova.dlelwl, ova_type = TarOptimized 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
   2024-05-30 15:35:53,820 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) ova: testing if b153c371-bcc9-4a4c-9e17-c54b463cb25a-disk0.vmdk 
exists in 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
   2024-05-30 15:35:53,827 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) ova: file exists
   2024-05-30 15:35:53,827 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) LANG=C tar --no-auto-compress --quoting-style=literal 
--numeric-owner -tRvf 
'/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova'
   2024-05-30 15:35:53,828 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) libguestfs: closing guestfs handle 0x555eeae96cd0 (state 0)
   2024-05-30 15:35:53,828 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) libguestfs: closing guestfs handle 0x555eeae45ea0 (state 0)
   2024-05-30 15:35:53,829 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) libguestfs: closing guestfs handle 0x555eeae31de0 (state 0)
   2024-05-30 15:35:53,834 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) running qemu-nbd:
   2024-05-30 15:35:53,834 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress)  'qemu-nbd' '-t' '--shared=0' '--discard=unmap' '--pid-file' 
'/tmp/v2vqemunbd.DxRko1/qemunbd1.pid' '--socket' '/tmp/v2v.MGZL19/in0' '-s' 
'json:{ "file": { "driver": "raw", "offset": 11264, "size": 2281559040, "file": 
{ "driver": "file", "filename": 
"/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova"
 } } }'
   2024-05-30 15:35:55,426 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-3:null) (logid:ba95bac5) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:35:55,433 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(agentRequest-Handler-3:null) (logid:ba95bac5) Attempting to convert the OVA 
4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova of the instance rocky-server01 from 
VMware to KVM
   2024-05-30 15:35:55,467 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) virt-v2v: virt-v2v 2.5.4rhel=9,release=1.el9 (x86_64)
   2024-05-30 15:35:55,468 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) libvirt version: 10.0.0
   2024-05-30 15:35:55,479 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) setting owner of /tmp/v2v.fFFA4q to 0:root
   2024-05-30 15:35:55,479 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) check_host_free_space: large_tmpdir=/var/tmp free_space=31122833408
   2024-05-30 15:35:55,480 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) [   0.0] Setting up the source: -i ova 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
   2024-05-30 15:35:55,792 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) qemu-img info json:'{ "file": { "driver": "raw", "offset": 512, 
"size": 512, "file": { "filename": "/tmp/v2vqemuimgtstca20e9.img" } } }' 
>/dev/null
   2024-05-30 15:35:55,803 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) qemu-img supports "offset" and "size" in json URLs: true
   2024-05-30 15:35:55,803 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) libvirt supports  "raw" driver in json URL: true
   2024-05-30 15:35:55,803 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) tar -tf 
'/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova'
   2024-05-30 15:35:55,808 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) tar -xf 
'/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova'
 -C '/var/tmp/ova.ly8QUz' '4732a67a-9b95-42ec-b9d8-3fadb66399e4.ovf'
   2024-05-30 15:35:55,813 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) virt-v2v: warning: making OVA directory public readable to work 
around libvirt bug https://bugzilla.redhat.com/1045069
   2024-05-30 15:35:55,813 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) chmod '-R' 'go=u,go-w' '/var/tmp/ova.ly8QUz' 
'/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova'
   2024-05-30 15:35:55,817 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) ova: orig_ova = 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova,
 top_dir = /var/tmp/ova.ly8QUz, ova_type = TarOptimized 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
   2024-05-30 15:35:55,818 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) ova: testing if 4732a67a-9b95-42ec-b9d8-3fadb66399e4-disk0.vmdk 
exists in 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
   2024-05-30 15:35:55,824 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) ova: file exists
   2024-05-30 15:35:55,824 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) LANG=C tar --no-auto-compress --quoting-style=literal 
--numeric-owner -tRvf 
'/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova'
   2024-05-30 15:35:55,826 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) libguestfs: closing guestfs handle 0x557790158d90 (state 0)
   2024-05-30 15:35:55,826 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) libguestfs: closing guestfs handle 0x557790107f00 (state 0)
   2024-05-30 15:35:55,827 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) libguestfs: closing guestfs handle 0x5577900f3de0 (state 0)
   2024-05-30 15:35:55,833 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) running qemu-nbd:
   2024-05-30 15:35:55,833 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress)  'qemu-nbd' '-t' '--shared=0' '--discard=unmap' '--pid-file' 
'/tmp/v2vqemunbd.NJtST8/qemunbd1.pid' '--socket' '/tmp/v2v.fFFA4q/in0' '-s' 
'json:{ "file": { "driver": "raw", "offset": 11264, "size": 2291086336, "file": 
{ "driver": "file", "filename": 
"/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova"
 } } }'
   2024-05-30 15:36:23,840 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) virt-v2v: error: qemu-nbd did not start up.  See previous debugging 
messages for problems.
   2024-05-30 15:36:23,841 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress)
   2024-05-30 15:36:23,841 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) If reporting bugs, run virt-v2v with debugging enabled and include 
the complete output:
   2024-05-30 15:36:23,841 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress)
   2024-05-30 15:36:23,842 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress)   virt-v2v -v -x [...]
   2024-05-30 15:36:23,842 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) rm -rf -- '/tmp/v2vqemunbd.DxRko1'
   2024-05-30 15:36:23,844 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) rm -rf -- '/var/tmp/ova.dlelwl'
   2024-05-30 15:36:23,847 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) rm -rf -- '/tmp/v2v.MGZL19'
   2024-05-30 15:36:23,854 WARN  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(agentRequest-Handler-2:null) (logid:1b9a693c) Execution of process [8769] for 
command [virt-v2v --root first -i ova 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 -o local -os /mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6 -of qcow2 -on 
fd433c08-c87f-4f48-be63-2be23cd06e53 -v ] failed.
   2024-05-30 15:36:25,840 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) virt-v2v: error: qemu-nbd did not start up.  See previous debugging 
messages for problems.
   2024-05-30 15:36:25,841 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress)
   2024-05-30 15:36:25,841 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) If reporting bugs, run virt-v2v with debugging enabled and include 
the complete output:
   2024-05-30 15:36:25,841 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress)
   2024-05-30 15:36:25,841 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress)   virt-v2v -v -x [...]
   2024-05-30 15:36:25,841 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) rm -rf -- '/tmp/v2vqemunbd.NJtST8'
   2024-05-30 15:36:25,845 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) rm -rf -- '/var/tmp/ova.ly8QUz'
   2024-05-30 15:36:25,847 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) rm -rf -- '/tmp/v2v.fFFA4q'
   2024-05-30 15:36:25,854 WARN  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(agentRequest-Handler-3:null) (logid:ba95bac5) Execution of process [8788] for 
command [virt-v2v --root first -i ova 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 -o local -os /mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6 -of qcow2 -on 
75530c2e-45a6-4e6a-946c-cac53b097300 -v ] failed.
   2024-05-30 15:36:32,728 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-5:null) (logid:c228ca28) Trying to fetch storage pool 
179410dd-62ae-3ca9-ba0b-8daa7ab9d050 from libvirt
   2024-05-30 15:36:32,775 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-1:null) (logid:c228ca28) Trying to fetch storage pool 
ee7a6096-195d-3dc7-94ac-043bdb34dba6 from libvirt
   2024-05-30 15:36:32,780 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-1:null) (logid:c228ca28) Asking libvirt to refresh 
storage pool ee7a6096-195d-3dc7-94ac-043bdb34dba6
   2024-05-30 15:36:45,488 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 progress) qemu-nbd: Could not create '/tmp/v2vqemunbd.NJtST8/qemunbd1.pid': No 
such file or directory
   2024-05-30 15:36:45,488 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-10:null) 
(logid:) (virt-v2v ova source: 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 progress) qemu-nbd: Could not create '/tmp/v2vqemunbd.DxRko1/qemunbd1.pid': No 
such file or directory
   2024-05-30 15:36:45,489 WARN  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(agentRequest-Handler-3:null) (logid:ba95bac5) Process [8788] for command 
[virt-v2v --root first -i ova 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/4732a67a-9b95-42ec-b9d8-3fadb66399e4/4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova
 -o local -os /mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6 -of qcow2 -on 
75530c2e-45a6-4e6a-946c-cac53b097300 -v ] encountered the error: [].
   2024-05-30 15:36:45,490 WARN  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(agentRequest-Handler-2:null) (logid:1b9a693c) Process [8769] for command 
[virt-v2v --root first -i ova 
/mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6/b153c371-bcc9-4a4c-9e17-c54b463cb25a/b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova
 -o local -os /mnt/ee7a6096-195d-3dc7-94ac-043bdb34dba6 -of qcow2 -on 
fd433c08-c87f-4f48-be63-2be23cd06e53 -v ] encountered the error: [].
   2024-05-30 15:36:45,491 ERROR 
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(agentRequest-Handler-2:null) (logid:1b9a693c) The virt-v2v conversion for the 
OVA b153c371-bcc9-4a4c-9e17-c54b463cb25a.ova failed. Please check the agent 
logs for the virt-v2v output
   2024-05-30 15:36:45,491 ERROR 
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(agentRequest-Handler-3:null) (logid:ba95bac5) The virt-v2v conversion for the 
OVA 4732a67a-9b95-42ec-b9d8-3fadb66399e4.ova failed. Please check the agent 
logs for the virt-v2v output
   ``` 


-- 
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-unsubscr...@cloudstack.apache.org

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

Reply via email to