Bug 1936932
| Summary: | Common templats - VirtualMachine api version should be updated to kubevirt.io/v1 | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Ruth Netser <rnetser> |
| Component: | SSP | Assignee: | Andrej Krejcir <akrejcir> |
| Status: | CLOSED ERRATA | QA Contact: | Sarah Bennert <sbennert> |
| Severity: | urgent | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.8.0 | CC: | akrejcir, cnv-qe-bugs, fdeutsch, sbennert |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 14:28:41 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: | |
| Embargoed: | |||
|
Description
Ruth Netser
2021-03-09 13:58:17 UTC
There should be no issue, because the old apiversion will be supported for a while. Do you see any functional impacts? If there is not, is it fair to lower severity? I prefer to wait for bug 1936926 fix and verify we're OK with new and old apiversion (In reply to Ruth Netser from comment #2) > I prefer to wait for bug 1936926 fix and verify we're OK with new and old > apiversion Will await resolution of bug 1936926 Creating a VM using the CLI works using either version in the manifest, v1 or v1alpha3. The console however is using the v1alpha3 API with a v1 VM manifest, which fails. 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 } # Openshift cluster 4.8.0-fc.2 # HCO Operator registry.redhat.io/container-native-virtualization/hyperconverged-cluster-operator@sha256:508529059070b9fc4cb701416f7911e6954b15424af7e68ff161e93fda805dd3 hyperconverged-cluster-operator-container-v4.8.0-51 # SSP Operator registry.redhat.io/container-native-virtualization/kubevirt-ssp-operator@sha256:572b2ed7d34667520874e99402863f3011cd6f13452600451e715a4230c1f9b1 kubevirt-ssp-operator-container-v4.8.0-33 Scope of this bug is to ensure that all templates are using the kubevirt.io/v1 api. If the UI is setting a different version, the this is a UI bug. I have verified all templates have been updated to use v1. I will open a new bug for UI. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.8.0 Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2920 |