Bug 2018519 - [Storage] Failed to restore VirtualMachineSnapshot after CNV upgrade
Summary: [Storage] Failed to restore VirtualMachineSnapshot after CNV upgrade
Keywords:
Status: CLOSED DUPLICATE of bug 2018521
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Adam Litke
QA Contact: Ying Cui
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-29 15:05 UTC by Yan Du
Modified: 2021-10-29 15:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-29 15:15:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yan Du 2021-10-29 15:05:52 UTC
Description of problem:
Failed to restore VirtualMachineSnapshot after upgrade

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.4 -> CNV4.9.0-249

How reproducible:
Always

Steps to Reproduce:
1. Create vm snapshot
2. Do upgrade to 4.9.0
3. Restore

Actual results:
Same as Description

Expected results:
Restore works well

Additional info:

Comment 1 Yan Du 2021-10-29 15:09:43 UTC
correct above description: the cluster upgrade CNV-v4.8.4 to CNV-v4.9.0-262

Comment 2 Yan Du 2021-10-29 15:15:29 UTC

*** This bug has been marked as a duplicate of bug 2018521 ***


Note You need to log in before you can comment on or make changes to this bug.