Created attachment 1711421 [details] VM import fail on no matching template Document URL: https://docs.openshift.com/container-platform/4.5/virt/virtual_machines/importing_vms/virt-importing-rhv-vm.html Section Number and Name: Trouble shooting Describe the issue: VM import for a source VM that it's OS type is not mapped to a CNV common template, will fail with error: Import error (RHV): The virtual machine could not be imported. VMTemplateMatchingFailed: Couldn't find matching template (screenshot attached) Please add under trouble shooting this error. The resolution should be either change the OS type into OS type that exist in the template configMap, or have guest agent run on the VM, to report guest OS correctly. Or if this is not a supported RHV OS, then add in a custom template configMap a mapping for it to a CNV common template. If there is no such template, need to create a common template. Additional information: This bug was filed to have early detection of "no matching template": Bug 1868733 - [v2v][RFE][RHV to CNV VM import] Report "no matching template" in an early stage, and avoid failing VM import on it. Once this bug will be fixed, documentation will need to adopt accordingly.
Changes merged.