Import fails for me before it even really starts (in seconds)
vSphere ESXi-8.0.0-20513097-standard Host (Host was rebooted after making configuration changes)
Config.HostAgent.vmacore.soap.maxSessionCount = 0
Config.HostAgent.vmacore.soap.sessionTimeout = 0
Proxmox VE 8.2.2
Code:
Formatting '/var/lib/vz/images/123/vm-123-disk-0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=off compression_type=zlib size=131072 lazy_refcounts=off refcount_bits=16
transferred 0.0 B of 128.0 KiB (0.00%)
transferred 128.0 KiB of 128.0 KiB (100.00%)
transferred 128.0 KiB of 128.0 KiB (100.00%)
efidisk0: successfully created disk 'local:123/vm-123-disk-0.qcow2,size=128K'
create full clone of drive (esxinode1:ha-datacenter/node1-datastore2/Test/Test.vmdk)
Formatting '/var/lib/vz/images/123/vm-123-disk-1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=off compression_type=zlib size=1536 lazy_refcounts=off refcount_bits=16
transferred 0.0 B of 1.5 KiB (0.00%)
qemu-img: output file is smaller than input file
TASK ERROR: unable to create VM 123 - cannot import from 'esxinode1:ha-datacenter/node1-datastore2/Test/Test.vmdk' - copy failed: command '/usr/bin/qemu-img convert -p -n -f vmdk -O qcow2 /run/pve/import/esxi/esxinode1/mnt/ha-datacenter/node1-datastore2/Test/Test.vmdk zeroinit:/var/lib/vz/images/123/vm-123-disk-1.qcow2' failed: exit code 1
Same issue occurs with vCenter as Storage instead. I'm not doing a Live Migration, VM is off on the vSphere ESXi host. VM has a EFI disk because it utilises UEFI, not using a TPM though. VM has no snapshots. The VM lives on a local datastore on the ESXi host, I've tried transferring it to a local Proxmox datastore and a ZFS one.
Could this be a networking issue? An inability to contact the appropriate services on the relevant VMkernel NIC of the ESXi Host? Could any such requirements be documented at
https://pve.proxmox.com/wiki/Migrate_to_Proxmox_VE please.