Hello, I am facing an issue while trying to import a .vmdk file using the VMware API and Go functions in my ESXi 8.0 environment. During the import process, I receive the following errors: 2023-06...
See more...
Hello, I am facing an issue while trying to import a .vmdk file using the VMware API and Go functions in my ESXi 8.0 environment. During the import process, I receive the following errors: 2023-06-08T09:35:35.775Z In(182) vmkernel: cpu5:2108767 opID=8861b2d)VmMemXfer: vm 2108767: 2473: Could not find MemXferFS region for /vmfs/volumes/64803a69-9b7d3f75-bc78-e43d1a249ab0/cecoco-ova-base_3.0.0/cecoco-ova-base_3.0.0.vmx 2023-06-08T09:35:35.784Z In(182) vmkernel: cpu5:2108767 opID=8861b2d)VmMemXfer: vm 2108767: 2459: Evicting VM with path:/vmfs/volumes/64803a69-9b7d3f75-bc78-e43d1a249ab0/cecoco-ova-base_3.0.0/cecoco-ova-base_3.0.0.vmx 2023-06-08T09:35:35.784Z In(182) vmkernel: cpu5:2108767 opID=8861b2d)VmMemXfer: 210: Creating crypto hash 2023-06-08T09:35:35.784Z In(182) vmkernel: cpu5:2108767 opID=8861b2d)VmMemXfer: vm 2108767: 2473: Could not find MemXferFS region for /vmfs/volumes/64803a69-9b7d3f75-bc78-e43d1a249ab0/cecoco-ova-base_3.0.0/cecoco-ova-base_3.0.0.vmx The error is being generated when executing the following Go functions: importSpec, err := manager.CreateImportSpec(ctx, string(ovfDescriptor), resourcePool, datastore, *cisp) ... lea, err := resourcePool.ImportVApp(ctx, importSpec.ImportSpec, nil, nil) ... I have verified that the ESXi host and the .ovf file are correctly configured, as I am able to create VMs using the UI. However, the problem persists when I attempt the import via the API. Any insights into what might be causing this problem and how to resolve it would be greatly appreciated. Best regards.