Bug 1879441

Summary: Import Vm from vSphere failed, Timed out connecting to ESX host on port 902
Product: OpenShift Container Platform Reporter: Giuseppe Cofano <gcofano>
Component: UnknownAssignee: Sudha Ponnaganti <sponnaga>
Status: CLOSED DUPLICATE QA Contact: Jianwei Hou <jhou>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, eparis, jokerman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-18 01:18:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Giuseppe Cofano 2020-09-16 10:05:32 UTC
Description of problem:

When importing a VM from vSphere and following the docs at https://docs.openshift.com/container-platform/4.5/virt/virtual_machines/importing_vms/virt-importing-vmware-vm.html#virt-creating-vddk-image_virt-importing-vmware-vm, hit the following error.


Version-Release number of selected component (if applicable):
CNV 2.4

How reproducible:
Import Vm as in https://docs.openshift.com/container-platform/4.5/virt/virtual_machines/importing_vms/virt-importing-vmware-vm.html#virt-creating-vddk-image_virt-importing-vmware-vm

Steps to Reproduce:
1.
2.
3.

Actual results:

Logs from the pod kubevirt-v2v-conversion:

2020-09-16 08:27:16,958 - root - ERROR - virt-v2v error: qemu-img command failed, see earlier errors
2020-09-16 08:27:16,958 - root - DEBUG - b'nbdkit: vddk[1]: debug: CnxOpenTCPSocket: Timed out connecting to server esx3.mgt.digital-pod3eur.local:902: Operation now in progress\n'
2020-09-16 08:27:16,958 - root - DEBUG - b'nbdkit: vddk[1]: debug: CnxAuthdConnect: Returning false because CnxAuthdConnectTCP failed\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: CnxConnectAuthd: Returning false because CnxAuthdConnect failed\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: Cnx_Connect: Returning false because CnxConnectAuthd failed\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: Cnx_Connect: Error message: Failed to connect to server esx3.mgt.digital-pod3eur.local:902\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: error: [NFC ERROR] NfcNewAuthdConnectionEx: Failed to connect: Failed to connect to server esx3.mgt.digital-pod3eur.local:902\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: error: [NFC ERROR] NfcNewAuthdConnectionEx: Failed to connect to peer. Error: Failed to connect to server esx3.mgt.digital-pod3eur.local:902\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: error: [NFC ERROR] Nfc_BindAndEstablishAuthdCnx2: Failed to create new AuthD connection: The operation completed successfully (NFC_SUCCESS)\n'
2020-09-16 08:27:16,959 - root - DEBUG - b"nbdkit: vddk[1]: debug: NBD_ClientOpen: Couldn't connect to esx3.mgt.digital-pod3eur.local:902 Failed to connect to server esx3.mgt.digital-pod3eur.local:902\n"
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: DISKLIB-DSCPTR: : "vpxa-nfc://[vsanDS-ClusterA] ac805f5f-829e-c35a-56a6-b026282184e0/ocp4-vmtest.vmdk.digital-pod3eur.local:902" : Failed to open NBD extent.\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: DISKLIB-LINK  : "vpxa-nfc://[vsanDS-ClusterA] ac805f5f-829e-c35a-56a6-b026282184e0/ocp4-vmtest.vmdk.digital-pod3eur.local:902" : failed to open (NBD_ERR_NETWORK_CONNECT).  \n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: DISKLIB-CHAIN : "vpxa-nfc://[vsanDS-ClusterA] ac805f5f-829e-c35a-56a6-b026282184e0/ocp4-vmtest.vmdk.digital-pod3eur.local:902" : failed to open (NBD_ERR_NETWORK_CONNECT).\n'
2020-09-16 08:27:16,959 - root - DEBUG - b"nbdkit: vddk[1]: debug: DISKLIB-LIB   : Failed to open 'vpxa-nfc://[vsanDS-ClusterA] ac805f5f-829e-c35a-56a6-b026282184e0/ocp4-vmtest.vmdk.digital-pod3eur.local:902' with flags 0xe NBD_ERR_NETWORK_CONNECT (2338).\n"
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: VixDiskLib: Unable to locate appropriate transport mode to open disk. Error 13 (You do not have access rights to this file) at 5294.\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_OpenEx: Cannot open disk [vsanDS-ClusterA] ac805f5f-829e-c35a-56a6-b026282184e0/ocp4-vmtest.vmdk. Error 13 (You do not have access rights to this file) at 5434.\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_Open: Cannot open disk [vsanDS-ClusterA] ac805f5f-829e-c35a-56a6-b026282184e0/ocp4-vmtest.vmdk. Error 13 (You do not have access rights to this file) at 5478.\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: error: VixDiskLib_Open: [vsanDS-ClusterA] ac805f5f-829e-c35a-56a6-b026282184e0/ocp4-vmtest.vmdk: You do not have access rights to this file\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_Disconnect (connection)\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_Disconnect: Disconnect.\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_FreeConnectParams: Free connection parameters.\n'
2020-09-16 08:27:16,960 - root - DEBUG - b'nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_FreeConnectParams (params)\n'
2020-09-16 08:27:16,960 - root - DEBUG - b'nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_FreeConnectParams: Free connection parameters.\n'
2020-09-16 08:27:16,960 - root - DEBUG - b'nbdkit: vddk[1]: debug: vddk: open returned handle (nil)\n'
2020-09-16 08:27:16,960 - root - DEBUG - b'nbdkit: vddk[1]: debug: vddk: finalize\n'
2020-09-16 08:27:16,960 - root - DEBUG - b'nbdkit: vddk[1]: debug: vddk: close\n'
2020-09-16 08:27:16,960 - root - DEBUG - b'nbdkit: vddk[1]: debug: write: NBD_OPT_ABORT: Broken pipe\n'
2020-09-16 08:27:16,960 - root - DEBUG - b'nbdkit: vddk[1]: debug: vddk: close\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: Cnx_Connect: Returning false because CnxConnectAuthd failed\n'
2020-09-16 08:27:16,959 - root - DEBUG - b'nbdkit: vddk[1]: debug: Cnx_Connect: Error message: Failed to connect to server esx3.mgt.digital-pod3eur.local:902\n'


Expected results:

IMPORT SUCCESSFUL

Additional info:
Not clear if this is a network issue (no connectivity to the ESX host on the 902) and it should be documented as a requirement on the docs or a missing permissions issue

Comment 1 Sudha Ponnaganti 2020-09-18 01:18:28 UTC

*** This bug has been marked as a duplicate of bug 1879458 ***

Comment 2 Sudha Ponnaganti 2020-09-18 01:18:57 UTC

*** This bug has been marked as a duplicate of bug 1879440 ***