Description of problem: Failed to restore VirtualMachineSnapshot after CNV upgrade to 4.9.0 22:39:15 HTTP response headers: HTTPHeaderDict({'Audit-Id': 'f567186d-c20e-43a4-a701-515444077150', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Kubernetes-Pf-Flowschema-Uid': '600ea974-cc9c-47f6-aa7d-f7fe3fba42ad', 'X-Kubernetes-Pf-Prioritylevel-Uid': 'f89c2759-d03d-4e56-b60f-edcdcdbb5f98', 'Date': 'Fri, 29 Oct 2021 14:39:14 GMT', 'Content-Length': '534'}) 22:39:15 HTTP response body: b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"admission webhook \\"virtualmachinerestore-validator.snapshot.kubevirt.io\\" denied the request: VirtualMachineSnapshot \\"snapshot-vm-snapshot-upgrade-b-1635517292-0678403\\" has failed and is invalid to use","reason":"Invalid","details":{"causes":[{"reason":"FieldValueInvalid","message":"VirtualMachineSnapshot \\"snapshot-vm-snapshot-upgrade-b-1635517292-0678403\\" has failed and is invalid to use","field":"spec.virtualMachineSnapshotName"}]},"code":422}\n' Version-Release number of selected component (if applicable): CNV4.8.2 -> CNV4.9.0-262 How reproducible: Always Steps to Reproduce: 1. Create offline vm snapshot 2. Do CNV upgrade from CNV4.8.2 to CNV 4.9.0 3. Restore Actual results: Same as Description Expected results: Restore works well Additional info:
*** Bug 2018519 has been marked as a duplicate of this bug. ***
Requesting blocker+ . This bug will result in the VolumeSnapshots associated with perfectly valid VM Snapshots getting deleted on upgrade.
I will change the bug status to VERIFIED after the bug is moved to ON_QA.
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.9.0 Images security and bug fix update), 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:4104