Bug 1962099

Summary: Creating a VM from a template via console is using the v1alpha3 API with a v1 VM manifest
Product: Container Native Virtualization (CNV) Reporter: Sarah Bennert <sbennert>
Component: User ExperienceAssignee: Tal Nisan <tnisan>
Status: CLOSED DUPLICATE QA Contact: Oded Ramraz <oramraz>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.8.0CC: cnv-qe-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-24 13:24:55 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:

Description Sarah Bennert 2021-05-19 10:13:11 UTC
Description of problem:

Creating a VM from a template via console is using the v1alpha3 API with a v1 VM manifest, which fails.

Version-Release number of selected component (if applicable):
# Openshift cluster

# HCO Operator

# SSP Operator

How reproducible:

Steps to Reproduce:
1. Create a VM from a template in console

Actual results:

POST https://console.example/api/kubernetes/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines

  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {
  "status": "Failure",
  "message": "the API version in the data (kubevirt.io/v1) does not match the expected API version (kubevirt.io/v1alpha3)",
  "reason": "BadRequest",
  "code": 400

Expected results:
VM Created

Additional info:

Comment 1 Tal Nisan 2021-05-24 13:24:55 UTC

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