Bug 1868868 - [v2v][RHV tp CNV VM import] Add "no matching template" failure to trouble shooting section
Summary: [v2v][RHV tp CNV VM import] Add "no matching template" failure to trouble sho...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Documentation
Version: 2.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 2.4.1
Assignee: Avital Pinnick
QA Contact: Ilanit Stein
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-14 05:03 UTC by Ilanit Stein
Modified: 2020-09-03 18:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-26 15:06:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
VM import fail on no matching template (93.69 KB, image/png)
2020-08-14 05:03 UTC, Ilanit Stein
no flags Details

Description Ilanit Stein 2020-08-14 05:03:56 UTC
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.

Comment 3 Avital Pinnick 2020-08-26 15:06:20 UTC
Changes merged.


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