Bug 1911568 - Virt-v2v can't convert guest from ESXi6.0 and ESXi6.5 via (vddk6.7 or vddk7.0) + rhv-upload to rhv4.4
Summary: Virt-v2v can't convert guest from ESXi6.0 and ESXi6.5 via (vddk6.7 or vddk7.0...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: virt-v2v
Version: 8.4
Hardware: x86_64
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 8.4
Assignee: Richard W.M. Jones
QA Contact: mxie@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1916176 1939375
TreeView+ depends on / blocked
 
Reported: 2020-12-30 05:19 UTC by mxie@redhat.com
Modified: 2024-12-20 19:29 UTC (History)
8 users (show)

Fixed In Version: virt-v2v-1.42.0-9.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1916176 (view as bug list)
Environment:
Last Closed: 2021-05-25 06:46:30 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
virt-v2v-esxi6.5_rhv4.4_rhv-upload.log (1.18 MB, text/plain)
2020-12-30 05:19 UTC, mxie@redhat.com
no flags Details

Description mxie@redhat.com 2020-12-30 05:19:57 UTC
Created attachment 1743108 [details]
virt-v2v-esxi6.5_rhv4.4_rhv-upload.log

Description of problem:
Can't convert guest from ESXi6.5 host to rhv4.4 via rhv-upload by virt-v2v 

Version-Release number of selected component (if applicable):
virt-v2v-1.42.0-6.module+el8.4.0+8855+a9e237a9.x86_64
libguestfs-1.42.0-2.module+el8.4.0+8855+a9e237a9.x86_64
libvirt-6.10.0-1.module+el8.4.0+8898+a84e86e1.x86_64
qemu-kvm-5.2.0-2.module+el8.4.0+9186+ec44380f.x86_64
nbdkit-1.22.0-2.module+el8.4.0+8855+a9e237a9.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Convert a guest from ESXi6.5 host to rhv4.4 via rhv-upload and vddk7.0 by virt-v2v
# virt-v2v -ic esx://root.196.89/?no_verify=1 -it vddk -io vddk-libdir=/home/vmware-vix-disklib-distrib -io  vddk-thumbprint=23:4D:35:12:8A:34:64:B2:53:5F:EA:E9:E0:6D:48:CC:9B:4E:48:93 --password-file /home/esxpw  -o rhv-upload -of qcow2 -os nfs_data -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api  -op /home/rhvpasswd  -oo rhv-cluster=NFS esx6.5-rhel8.3-x86_64
[   0.6] Opening the source -i libvirt -ic esx://root.196.89/?no_verify=1 esx6.5-rhel8.3-x86_64 -it vddk  -io vddk-libdir=/home/vmware-vix-disklib-distrib -io vddk-thumbprint=23:4D:35:12:8A:34:64:B2:53:5F:EA:E9:E0:6D:48:CC:9B:4E:48:93
[   1.9] Creating an overlay to protect the source from being modified
[   5.5] Opening the overlay
[  12.6] Inspecting the overlay
[  23.9] Checking for sufficient free disk space in the guest
[  23.9] Estimating space required on target for each disk
[  23.9] Converting Red Hat Enterprise Linux 8.3 (Ootpa) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[  87.8] Mapping filesystem data to avoid copying unused and blank areas
[  89.1] Closing the overlay
[  89.4] Assigning disks to buses
[  89.4] Checking if the guest needs BIOS or UEFI to boot
[  89.4] Initializing the target -o rhv-upload -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data
[  90.7] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/tmp/v2vnbdkit.klWPv9/nbdkit4.sock", "file.export": "/" } (qcow2)
nbdkit: python[1]: error: /var/tmp/rhvupload.i9oNvl/rhv-upload-plugin.py: pwrite: error: Traceback (most recent call last):
   File "/var/tmp/rhvupload.i9oNvl/rhv-upload-plugin.py", line 94, in wrapper
    return func(h, *args)
   File "/var/tmp/rhvupload.i9oNvl/rhv-upload-plugin.py", line 230, in pwrite
    r = http.getresponse()
   File "/usr/lib64/python3.6/http/client.py", line 1361, in getresponse
    response.begin()
   File "/usr/lib64/python3.6/http/client.py", line 311, in begin
    version, status, reason = self._read_status()
   File "/usr/lib64/python3.6/http/client.py", line 280, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
 http.client.RemoteDisconnected: Remote end closed connection without response

qemu-img: error while writing at byte 0: Input/output error

virt-v2v: error: qemu-img command failed, see earlier errors

If reporting bugs, run virt-v2v with debugging enabled and include the 
complete output:

  virt-v2v -v -x [...]

2. Convert a guest from ESXi6.5 host to rhv4.4 via rhv-upload and vddk6.7 by virt-v2v
#  virt-v2v -ic esx://root.196.89/?no_verify=1 -it vddk -io vddk-libdir=/root/vmware-vix-disklib-distrib -io  vddk-thumbprint=23:4D:35:12:8A:34:64:B2:53:5F:EA:E9:E0:6D:48:CC:9B:4E:48:93 --password-file /home/esxpw  -o rhv-upload -of qcow2 -os nfs_data -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api  -op /home/rhvpasswd  -oo rhv-cluster=NFS esx6.5-rhel8.3-x86_64
[   0.5] Opening the source -i libvirt -ic esx://root.196.89/?no_verify=1 esx6.5-rhel8.3-x86_64 -it vddk  -io vddk-libdir=/root/vmware-vix-disklib-distrib -io vddk-thumbprint=23:4D:35:12:8A:34:64:B2:53:5F:EA:E9:E0:6D:48:CC:9B:4E:48:93
[   1.7] Creating an overlay to protect the source from being modified
[   5.1] Opening the overlay
[  12.5] Inspecting the overlay
[  23.8] Checking for sufficient free disk space in the guest
[  23.8] Estimating space required on target for each disk
[  23.8] Converting Red Hat Enterprise Linux 8.3 (Ootpa) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[  89.9] Mapping filesystem data to avoid copying unused and blank areas
[  91.2] Closing the overlay
[  91.4] Assigning disks to buses
[  91.4] Checking if the guest needs BIOS or UEFI to boot
[  91.4] Initializing the target -o rhv-upload -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data
[  92.7] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/tmp/v2vnbdkit.8T1pH3/nbdkit4.sock", "file.export": "/" } (qcow2)
nbdkit: python[1]: error: /var/tmp/rhvupload.Op62uQ/rhv-upload-plugin.py: pwrite: error: Traceback (most recent call last):
   File "/var/tmp/rhvupload.Op62uQ/rhv-upload-plugin.py", line 94, in wrapper
    return func(h, *args)
   File "/var/tmp/rhvupload.Op62uQ/rhv-upload-plugin.py", line 230, in pwrite
    r = http.getresponse()
   File "/usr/lib64/python3.6/http/client.py", line 1361, in getresponse
    response.begin()
   File "/usr/lib64/python3.6/http/client.py", line 311, in begin
    version, status, reason = self._read_status()
   File "/usr/lib64/python3.6/http/client.py", line 280, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
 http.client.RemoteDisconnected: Remote end closed connection without response

qemu-img: error while writing at byte 0: Input/output error

virt-v2v: error: qemu-img command failed, see earlier errors

If reporting bugs, run virt-v2v with debugging enabled and include the 
complete output:

  virt-v2v -v -x [...]



Actual results:
As above description

Expected results:
Can convert guests from ESXi6.5 host to rhv4.4 via rhv-upload by virt-v2v

Additional info:
1. Can convert a guest from ESXi6.5 host to rhv4.3 via rhv-upload and vddk6.7 by virt-v2v
#  virt-v2v -ic esx://root.196.89/?no_verify=1 -it vddk -io vddk-libdir=/root/vmware-vix-disklib-distrib -io  vddk-thumbprint=23:4D:35:12:8A:34:64:B2:53:5F:EA:E9:E0:6D:48:CC:9B:4E:48:93 --password-file /home/esxpw  -o rhv-upload -of qcow2 -os nfs_data -oc https://ibm-x3250m5-03.rhts.eng.pek2.redhat.com/ovirt-engine/api  -op /home/rhvpasswd  esx6.5-rhel8.3-x86_64
[   0.5] Opening the source -i libvirt -ic esx://root.196.89/?no_verify=1 esx6.5-rhel8.3-x86_64 -it vddk  -io vddk-libdir=/root/vmware-vix-disklib-distrib -io vddk-thumbprint=23:4D:35:12:8A:34:64:B2:53:5F:EA:E9:E0:6D:48:CC:9B:4E:48:93
[   2.3] Creating an overlay to protect the source from being modified
[   6.6] Opening the overlay
[  14.0] Inspecting the overlay
[  25.5] Checking for sufficient free disk space in the guest
[  25.5] Estimating space required on target for each disk
[  25.5] Converting Red Hat Enterprise Linux 8.3 (Ootpa) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[  91.9] Mapping filesystem data to avoid copying unused and blank areas
[  93.1] Closing the overlay
[  93.4] Assigning disks to buses
[  93.4] Checking if the guest needs BIOS or UEFI to boot
[  93.4] Initializing the target -o rhv-upload -oc https://ibm-x3250m5-03.rhts.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data
[  94.6] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/tmp/v2vnbdkit.ZnxySH/nbdkit4.sock", "file.export": "/" } (qcow2)
    (100.00/100%)
[1105.2] Creating output metadata
[1106.6] Finishing off

2. Can convert a guest from ESXi7.0 host to rhv4.4 via rhv-upload by virt-v2v
# virt-v2v -ic esx://root.199.217/?no_verify=1 -it vddk -io vddk-libdir=/home/vmware-vix-disklib-distrib -io  vddk-thumbprint=C2:99:4E:B8:87:75:E8:41:71:6B:38:DA:07:C4:6B:0E:66:18:C0:75 --password-file /home/esxpw  -o rhv-upload -of qcow2 -os nfs_data -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api  -op /home/rhvpasswd  -oo rhv-cluster=NFS esx7.0-rhel8.3-x86_64
[   0.5] Opening the source -i libvirt -ic esx://root.199.217/?no_verify=1 esx7.0-rhel8.3-x86_64 -it vddk  -io vddk-libdir=/home/vmware-vix-disklib-distrib -io vddk-thumbprint=C2:99:4E:B8:87:75:E8:41:71:6B:38:DA:07:C4:6B:0E:66:18:C0:75
[   1.6] Creating an overlay to protect the source from being modified
[   2.2] Opening the overlay
[   6.2] Inspecting the overlay
[  16.4] Checking for sufficient free disk space in the guest
[  16.4] Estimating space required on target for each disk
[  16.4] Converting Red Hat Enterprise Linux 8.3 (Ootpa) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[  68.5] Mapping filesystem data to avoid copying unused and blank areas
[  68.9] Closing the overlay
[  69.2] Assigning disks to buses
[  69.2] Checking if the guest needs BIOS or UEFI to boot
[  69.2] Initializing the target -o rhv-upload -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data
[  70.5] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/tmp/v2vnbdkit.B0OElw/nbdkit4.sock", "file.export": "/" } (qcow2)
    (100.00/100%)
[ 403.4] Creating output metadata
[ 405.8] Finishing off

3.Can convert a guest from ESXi6.5 host to rhv4.4 via rhv by virt-v2v
# virt-v2v -ic esx://root.196.89/?no_verify=1 -it vddk -io vddk-libdir=/root/vmware-vix-disklib-distrib -io  vddk-thumbprint=23:4D:35:12:8A:34:64:B2:53:5F:EA:E9:E0:6D:48:CC:9B:4E:48:93 --password-file /home/esxpw -o rhv -os 10.73.224.29:/home/iscsi_export esx6.5-win2008r2-x86_64 -on esx6.5-win2008r2-x86_64-juzhou
[   0.0] Opening the source -i libvirt -ic esx://root.196.89/?no_verify=1 esx6.5-win2008r2-x86_64 -it vddk  -io vddk-libdir=/root/vmware-vix-disklib-distrib -io vddk-thumbprint=23:4D:35:12:8A:34:64:B2:53:5F:EA:E9:E0:6D:48:CC:9B:4E:48:93
[   1.4] Creating an overlay to protect the source from being modified
[   4.7] Opening the overlay
[ 633.9] Inspecting the overlay
[ 882.9] Checking for sufficient free disk space in the guest
[ 882.9] Estimating space required on target for each disk
[ 882.9] Converting Windows Server 2008 R2 Standard to run on KVM
virt-v2v: warning: /usr/share/virt-tools/pnp_wait.exe is missing.  
Firstboot scripts may conflict with PnP.
[ 990.5] Mapping filesystem data to avoid copying unused and blank areas
[ 999.1] Closing the overlay
[ 999.4] Assigning disks to buses
[ 999.4] Checking if the guest needs BIOS or UEFI to boot
[ 999.4] Initializing the target -o rhv -os 10.73.224.29:/home/iscsi_export
[ 999.6] Copying disk 1/1 to /tmp/v2v.PqWFZA/153d6d22-8da8-43a9-ae8d-16d432f7614e/images/51c670f9-a434-4fa0-95d5-d8c0214a0a7e/0045a4dd-a24a-492b-a17a-ebe204404541 (raw)
    (100.00/100%)
[1627.0] Creating output metadata
[1627.0] Finishing off

Comment 1 mxie@redhat.com 2021-01-04 02:55:18 UTC
Add more additional info, still did't find root cause:

1. Can convert a guest from ESXi6.5 host to rhv4.4 via rhv-upload by virt-v2v if not use vddk in conversion 
# virt-v2v -ic vpx://root.73.141/data/10.73.196.89/?no_verify=1  --password-file /home/passwd  -o rhv-upload -of qcow2 -os nfs_data -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api  -op /home/rhvpasswd  -oo rhv-cluster=NFS esx6.5-rhel8.3-x86_64
[   1.2] Opening the source -i libvirt -ic vpx://root.73.141/data/10.73.196.89/?no_verify=1 esx6.5-rhel8.3-x86_64
[   4.1] Creating an overlay to protect the source from being modified
[   4.6] Opening the overlay
[  40.4] Inspecting the overlay
[ 109.1] Checking for sufficient free disk space in the guest
[ 109.1] Estimating space required on target for each disk
[ 109.1] Converting Red Hat Enterprise Linux 8.3 (Ootpa) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 994.6] Mapping filesystem data to avoid copying unused and blank areas
[ 997.6] Closing the overlay
[ 997.9] Assigning disks to buses
[ 997.9] Checking if the guest needs BIOS or UEFI to boot
[ 997.9] Initializing the target -o rhv-upload -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data
[ 999.5] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/tmp/v2vnbdkit.RmFM5N/nbdkit4.sock", "file.export": "/" } (qcow2)
    (100.00/100%)
[1716.2] Creating output metadata
[1718.8] Finishing off

2.Can convert a guest from ESXi6.7 host to rhv4.4 via vddk7.0 + rhv-upload by virt-v2v
# virt-v2v -ic vpx://root.73.141/data/10.73.75.219/?no_verify=1 -it vddk -io vddk-libdir=/home/vmware-vix-disklib-distrib/ -io vddk-thumbprint=1F:97:34:5F:B6:C2:BA:66:46:CB:1A:71:76:7D:6B:50:1E:03:00:EA esx6.7-rhel6.10-x86_64 -o rhv-upload -of qcow2 -os nfs_data -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api  -op /home/rhvpasswd  -oo rhv-cluster=NFS -ip /home/passwd 
[   1.2] Opening the source -i libvirt -ic vpx://root.73.141/data/10.73.75.219/?no_verify=1 esx6.7-rhel6.10-x86_64 -it vddk  -io vddk-libdir=/home/vmware-vix-disklib-distrib/ -io vddk-thumbprint=1F:97:34:5F:B6:C2:BA:66:46:CB:1A:71:76:7D:6B:50:1E:03:00:EA
[   3.2] Creating an overlay to protect the source from being modified
[   4.3] Opening the overlay
[  11.1] Inspecting the overlay
[  29.8] Checking for sufficient free disk space in the guest
[  29.8] Estimating space required on target for each disk
[  29.8] Converting Red Hat Enterprise Linux Server release 6.10 (Santiago) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 172.5] Mapping filesystem data to avoid copying unused and blank areas
[ 173.4] Closing the overlay
[ 173.8] Assigning disks to buses
[ 173.8] Checking if the guest needs BIOS or UEFI to boot
[ 173.8] Initializing the target -o rhv-upload -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data
[ 175.3] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/tmp/v2vnbdkit.pOtojF/nbdkit4.sock", "file.export": "/" } (qcow2)
    (100.00/100%)
[ 763.8] Creating output metadata
[ 766.3] Finishing off

3. Can't convert a guest from ESXi6.0 host to rhv4.4 via vddk6.7 + rhv-upload by virt-v2v
# virt-v2v -ic vpx://root.73.148/data/10.73.72.61/?no_verify=1 -it vddk -io vddk-libdir=/root/vmware-vix-disklib-distrib -io  vddk-thumbprint=AA:F5:4C:48:C9:BF:75:1A:94:41:61:4C:D5:EC:DF:46:48:B5:9B:4D  -o rhv-upload -of qcow2 -os nfs_data -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api  -op /home/rhvpasswd  -oo rhv-cluster=NFS esx6.0-rhel7.9-x86_64 -ip /home/passwd -oo rhv-direct
[   0.8] Opening the source -i libvirt -ic vpx://root.73.148/data/10.73.72.61/?no_verify=1 esx6.0-rhel7.9-x86_64 -it vddk  -io vddk-libdir=/root/vmware-vix-disklib-distrib -io vddk-thumbprint=AA:F5:4C:48:C9:BF:75:1A:94:41:61:4C:D5:EC:DF:46:48:B5:9B:4D
[   2.4] Creating an overlay to protect the source from being modified
[   5.9] Opening the overlay
[  13.6] Inspecting the overlay
[  44.6] Checking for sufficient free disk space in the guest
[  44.6] Estimating space required on target for each disk
[  44.6] Converting Red Hat Enterprise Linux Server 7.9 (Maipo) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 228.5] Mapping filesystem data to avoid copying unused and blank areas
[ 228.9] Closing the overlay
[ 229.1] Assigning disks to buses
[ 229.1] Checking if the guest needs BIOS or UEFI to boot
[ 229.1] Initializing the target -o rhv-upload -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data
[ 230.4] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/tmp/v2vnbdkit.0nzR8E/nbdkit4.sock", "file.export": "/" } (qcow2)
nbdkit: python[1]: error: /var/tmp/rhvupload.0OKqWA/rhv-upload-plugin.py: pwrite: error: Traceback (most recent call last):
   File "/var/tmp/rhvupload.0OKqWA/rhv-upload-plugin.py", line 94, in wrapper
    return func(h, *args)
   File "/var/tmp/rhvupload.0OKqWA/rhv-upload-plugin.py", line 230, in pwrite
    r = http.getresponse()
   File "/usr/lib64/python3.6/http/client.py", line 1361, in getresponse
    response.begin()
   File "/usr/lib64/python3.6/http/client.py", line 311, in begin
    version, status, reason = self._read_status()
   File "/usr/lib64/python3.6/http/client.py", line 280, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
 http.client.RemoteDisconnected: Remote end closed connection without response

qemu-img: error while writing at byte 0: Input/output error

virt-v2v: error: qemu-img command failed, see earlier errors

If reporting bugs, run virt-v2v with debugging enabled and include the 
complete output:

  virt-v2v -v -x [...]

4. Can convert a guest from ESXi5.5 host to rhv4.4 via vddk6.7 + rhv-upload by virt-v2v
# virt-v2v -ic vpx://root.73.148/data/10.73.3.19/?no_verify=1 -it vddk -io vddk-libdir=/root/vmware-vix-disklib-distrib -io  vddk-thumbprint=AA:F5:4C:48:C9:BF:75:1A:94:41:61:4C:D5:EC:DF:46:48:B5:9B:4D  -o rhv-upload -of qcow2 -os nfs_data -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api  -op /home/rhvpasswd  -oo rhv-cluster=NFS esx5.5-rhel7.9-x86_64 -ip /home/passwd -oo rhv-direct
[   0.7] Opening the source -i libvirt -ic vpx://root.73.148/data/10.73.3.19/?no_verify=1 esx5.5-rhel7.9-x86_64 -it vddk  -io vddk-libdir=/root/vmware-vix-disklib-distrib -io vddk-thumbprint=AA:F5:4C:48:C9:BF:75:1A:94:41:61:4C:D5:EC:DF:46:48:B5:9B:4D
[   2.7] Creating an overlay to protect the source from being modified
nbdkit: vddk[1]: error: [NFC ERROR] NfcFssrvr_Close: Received unexpected message: NFC_SESSION_COMPLETE from server. Expected message: NFC_FSSRVR_CLOSE
[   6.1] Opening the overlay
nbdkit: vddk[2]: error: [NFC ERROR] NfcFssrvr_IOEx: Received unexpected message: NFC_SESSION_COMPLETE from server. Expected message: NFC_FSSRVR_MULTIIO_EX
nbdkit: vddk[2]: error: VixDiskLib_Read: Unknown error
nbdkit: vddk[2]: error: [NFC ERROR] NfcNetTcpSetError: Broken pipe
nbdkit: vddk[2]: error: [NFC ERROR] NfcNetTcpWrite: bWritten: -1. Errno: 32.
nbdkit: vddk[2]: error: [NFC ERROR] NfcSendMessage: NfcNet_Send failed: NFC_NETWORK_ERROR
nbdkit: vddk[2]: error: [NFC ERROR] NfcFssrvr_Close: Failed to send close message: The operation experienced a network error (NFC_NETWORK_ERROR)
nbdkit: vddk[2]: error: SSL: Unknown SSL Error
nbdkit: vddk[2]: error: [NFC ERROR] NfcNetTcpSetError: Success
nbdkit: vddk[2]: error: [NFC ERROR] NfcNetTcpWrite: bWritten: -1. Errno: 0.
nbdkit: vddk[2]: error: [NFC ERROR] NfcSendMessage: NfcNet_Send failed: NFC_NETWORK_ERROR
[  18.3] Inspecting the overlay
[  36.8] Checking for sufficient free disk space in the guest
[  36.8] Estimating space required on target for each disk
[  36.8] Converting Red Hat Enterprise Linux Server 7.9 (Maipo) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 154.0] Mapping filesystem data to avoid copying unused and blank areas
[ 154.5] Closing the overlay
[ 154.7] Assigning disks to buses
[ 154.7] Checking if the guest needs BIOS or UEFI to boot
[ 154.7] Initializing the target -o rhv-upload -oc https://hp-dl360eg8-03.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data
[ 156.0] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/tmp/v2vnbdkit.OZt1Nj/nbdkit4.sock", "file.export": "/" } (qcow2)
nbdkit: vddk[3]: error: [NFC ERROR] NfcFssrvr_IOEx: Received unexpected message: NFC_SESSION_COMPLETE from server. Expected message: NFC_FSSRVR_MULTIIO_EX
nbdkit: vddk[3]: error: VixDiskLib_Read: Unknown error
nbdkit: vddk[3]: error: [NFC ERROR] NfcNetTcpSetError: Broken pipe
nbdkit: vddk[3]: error: [NFC ERROR] NfcNetTcpWrite: bWritten: -1. Errno: 32.
nbdkit: vddk[3]: error: [NFC ERROR] NfcSendMessage: NfcNet_Send failed: NFC_NETWORK_ERROR
nbdkit: vddk[3]: error: [NFC ERROR] NfcFssrvr_Close: Failed to send close message: The operation experienced a network error (NFC_NETWORK_ERROR)
nbdkit: vddk[3]: error: SSL: Unknown SSL Error
nbdkit: vddk[3]: error: [NFC ERROR] NfcNetTcpSetError: Success
nbdkit: vddk[3]: error: [NFC ERROR] NfcNetTcpWrite: bWritten: -1. Errno: 0.
nbdkit: vddk[3]: error: [NFC ERROR] NfcSendMessage: NfcNet_Send failed: NFC_NETWORK_ERROR
    (100.00/100%)
[ 768.4] Creating output metadata
[ 770.7] Finishing off

Comment 2 mxie@redhat.com 2021-01-12 08:26:10 UTC
Use virt-v2v to convert guest from different versions of ESXi hosts via different versions of vddk and rhv-upliad to rhv4.4, summary the test result as below: 

           VDDK6.5    VDDK6.7    VDDK7.0

ESXi5.5     PASS       PASS       PASS

ESXi6.0     PASS       FAIL       FAIL

ESXi6.5     PASS       FAIL       FAIL

ESXi6.7     PASS       PASS       PASS

ESXi7.0     PASS       PASS       PASS


According to above result, can see v2v can't convert guest from ESXi6.0 and ESXi6.5 via (vddk6.7 or vddk7.0) + rhv-upload to rhv4.4

Comment 3 Richard W.M. Jones 2021-01-21 15:07:22 UTC
After discussing with mxie, setting this to 8.4.0.

Comment 6 mxie@redhat.com 2021-01-25 13:42:51 UTC
Verify the bug with below builds:
virt-v2v-1.42.0-9.module+el8.4.0+9561+069bb9c1.x86_64
libguestfs-1.44.0-1.module+el8.4.0+9398+f376ac33.x86_64
libvirt-libs-7.0.0-2.module+el8.4.0+9520+ef609c5f.x86_64
qemu-kvm-5.2.0-3.module+el8.4.0+9499+42e58f08.x86_64
nbdkit-1.24.0-1.module+el8.4.0+9341+96cf2672.x86_64
virtio-win-1.9.15-0.el8.noarch
vdsm-4.40.40-1.el8ev.x86_64
rhv4.4.4.6-0.1.el8ev


Steps:
 
Scenario1: On standalone v2v conversion server, use virt-v2v to convert guest from different versions of ESXi hosts via different versions of vddk and rhv-upload to rhv4.4, summary the test result as below: 

1.1  NOT use rhv-direct=true option in v2v command line  

           VDDK6.5   VDDK6.7.3    VDDK7.0

ESXi6.0     PASS       PASS       PASS 

ESXi6.5     PASS       PASS       PASS 

ESXi6.7     PASS       PASS       PASS

ESXi7.0     PASS       PASS       PASS


1.2 Use rhv-direct=true option in v2v command line  

           VDDK6.5   VDDK6.7.3    VDDK7.0

ESXi6.0     PASS       PASS       PASS 

ESXi6.5     PASS       PASS       PASS 

ESXi6.7     PASS       PASS       PASS

ESXi7.0     PASS       PASS       PASS


Scenario2: On rhv4.4 node, use virt-v2v to convert guest from different versions of ESXi hosts via different versions of vddk and rhv-upload to rhv4.4, summary the test result as below: 

2.1  NOT use rhv-direct=true option in v2v command line  

           VDDK6.5   VDDK6.7.3    VDDK7.0

ESXi6.0     PASS       PASS       PASS 

ESXi6.5     PASS       PASS       PASS 

ESXi6.7     PASS       PASS       PASS

ESXi7.0     PASS       PASS       PASS


2.2 Use rhv-direct=true option in v2v command line  

           VDDK6.5    VDDK6.7.3    VDDK7.0

ESXi6.0     PASS       PASS         PASS 

ESXi6.5     PASS       PASS         PASS 

ESXi6.7     PASS       PASS         PASS

ESXi7.0     PASS       PASS         PASS



Scenario3: Change rhv4.4 node to maintenance status, then use virt-v2v to convert guest from ESXi6.0 and ESXi6.5 hosts via vddk6.7/vddk7.0 and rhv-upload to rhv4.4 on rhv4.4 node, summary the test result as below: 

3.1 NOT use rhv-direct=true option in v2v command line  

           VDDK6.7.3    VDDK7.0     

ESXi6.0     PASS         PASS      

ESXi6.5     PASS         PASS      


3.2 Use rhv-direct=true option in v2v command line  

           VDDK6.7.3    VDDK7.0     

ESXi6.0     PASS        PASS       

ESXi6.5     PASS        PASS       



Scenario4: On rhv4.4 node, use virt-v2v to convert guest from ESXi6.0 and ESXi6.5 hosts via vddk6.7/vddk7.0 and rhv-upload to  another datacenter (e.g. running v2v on rhv node1, then convert guest to rhv node2, node1 belongs in to datacenter1, node2 belongs to datacenter2 ), summary the test result as below: 

4.1 NOT use rhv-direct=true option in v2v command line  

           VDDK6.7.3    VDDK7.0     

ESXi6.0     PASS         PASS      

ESXi6.5     PASS         PASS      


4.2 Use rhv-direct=true option in v2v command line  

           VDDK6.7.3    VDDK7.0     

ESXi6.0     PASS        PASS       

ESXi6.5     PASS        PASS       



Result:
     According to above results, the bug has been fixed, so move the bug from ON_QA to VERIFIED

Comment 8 errata-xmlrpc 2021-05-25 06:46:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (virt:av bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:2098


Note You need to log in before you can comment on or make changes to this bug.