Bug 1989263

Summary: VM Snapshot may freeze guest indefinitely
Product: Container Native Virtualization (CNV) Reporter: Michael Henriksen <mhenriks>
Component: StorageAssignee: skagan
Status: CLOSED ERRATA QA Contact: dalia <dafrank>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.8.0CC: cnv-qe-bugs, mrashish, yadu
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: CNV v4.9.0-93, virt-controller v4.9.0-27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-02 15:59:51 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:

Description Michael Henriksen 2021-08-02 18:52:01 UTC
Description of problem:

The VM snapshot controller may now attempt to freeze guest filesystems before taking VolumeSnapshots.  However, there is currently no deadline or timeout for VM snapshot operations.  So if there is a persistent error creating VolumeSnapshots for example, then the guest will never be unfrozen


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


How reproducible:


Steps to Reproduce:
1.  Create running VM with guest agent and snapshot-able storage
2.  Create dummy webhook to block VolumeSnapshot creation
3.  Snapshot VM in step 1
4.  Observe VMI status stays frozen

Actual results:

Host will be frozen until dummy webhook is removed

Expected results:

The snapshot operation will time out after user configured timeout (with sensible default if omitted) and the guest will be unfrozen

Additional info:

Comment 3 errata-xmlrpc 2021-11-02 15:59:51 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 (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

Comment 4 errata-xmlrpc 2021-11-02 16:02:14 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 (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