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:
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