Bug 2018521
| Summary: | [Storage] Failed to restore VirtualMachineSnapshot after CNV upgrade | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Yan Du <yadu> |
| Component: | Storage | Assignee: | Michael Henriksen <mhenriks> |
| Status: | CLOSED ERRATA | QA Contact: | Ying Cui <ycui> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.9.0 | CC: | cnv-qe-bugs, fdeutsch, oramraz |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | virt-cdi-operator-container-v4.9.0-37, CNV-v4.9.0-266 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-02 16:01:44 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: | |||
*** 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 |
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: