Bug 1881742
Summary: | Error "invalid apiGroup" for field "spec.source.apiGroup" when take snapshot for VM | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Guohua Ouyang <gouyang> | ||||
Component: | Console Kubevirt Plugin | Assignee: | Gilad Lekner <glekner> | ||||
Status: | CLOSED ERRATA | QA Contact: | Guohua Ouyang <gouyang> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 4.6 | CC: | aos-bugs, gouyang | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.6.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: | 2020-10-27 16:44:05 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: | |||||||
Attachments: |
|
The API changed, we need to adapt. apiVersion: snapshot.kubevirt.io/v1alpha1 kind: VirtualMachineSnapshot metadata: name: my-vmsnapshot spec: source: apiGroup: kubevirt.io/v1alpha3 #eventually just kubevirt.io kind: VirtualMachine name: testvm (e.g. the "apiGroup: kubevirt.io/v1alpha3" should be just "apiGroup: kubevirt.io") 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 (OpenShift Container Platform 4.6 GA 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/RHBA-2020:4196 |
Created attachment 1715874 [details] error on vm snapshot Description of problem: Error "invalid apiGroup" for field "spec.source.apiGroup" when take snapshot for VM Version-Release number of selected component (if applicable): master How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: