Bug 2089840 - Cant create snapshot if VM is without disks
Summary: Cant create snapshot if VM is without disks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Aviv Turgeman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-24 14:30 UTC by Yaacov Zamir
Modified: 2023-11-13 08:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-14 19:34:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 474 0 None open Bug 2089840: cant create snapshot if VM is without disks 2022-05-24 14:31:09 UTC
Red Hat Issue Tracker CNV-18576 0 None None None 2023-11-13 08:19:39 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:34:54 UTC

Description Yaacov Zamir 2022-05-24 14:30:14 UTC
Description of problem:
Cant create snapshot if VM is without disks

Snapshots capture vms configuration not just disks, we should allow for trapshooting a vm without disks / or disks that support snapshoots.

The allert "Snapshot only includes disks backed by a snapshot-supported storage class", is incorrect, we snapshot the vms state, not just disks, the allert needs to be removed.
  
We should only alert if user has disks that are not snapshot-able.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Snapshot a vm with no disks
2. Snapshot a vm with on non-snapshot able disks
3. snapshot a vm with a mix of snapshot able and non snapshot able disks

Actual results:
A user can't snapshot a vm with no disks
A user is always alerted about snapshoting vm with non snapshotable disks

Expected results:
A user can snapshot a vm with no disks
A user is alerted about snapshoting vm with non snapshotable disks only if non snapshotable disks exist

Additional info:

Comment 1 Leon Kladnitsky 2022-05-27 01:40:01 UTC
Verified on v4.11.0-388 OCP-4.11.0

Comment 4 errata-xmlrpc 2022-09-14 19:34:45 UTC
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 (Important: OpenShift Virtualization 4.11.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-2022:6526


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