Bug 1838493
Summary: | Live snapshot made with freeze in the engine will cause the FS to be frozen | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Liran Rotenberg <lrotenbe> | |
Component: | ovirt-engine | Assignee: | Liran Rotenberg <lrotenbe> | |
Status: | CLOSED ERRATA | QA Contact: | Qin Yuan <qiyuan> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | high | |||
Version: | 4.3.10 | CC: | bpelled, bugs, cshao, emarcus, michal.skrivanek, mkalinin, pelauter, rdlugyhe | |
Target Milestone: | ovirt-4.4.1 | Keywords: | ZStream | |
Target Release: | 4.4.1 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | ovirt-engine-4.4.1.5 | Doc Type: | Bug Fix | |
Doc Text: |
Previously, creating a live snapshot with memory while LiveSnapshotPerformFreezeInEngine was set to True, resulted in a virtual machine file system that is frozen when previewing or committing the snapshot with memory restore.
In this release, the virtual machine runs successfully after creating a preview snapshot from a memory snapshot.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1850920 (view as bug list) | Environment: | ||
Last Closed: | 2020-08-04 13:22:49 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1850920 |
Description
Liran Rotenberg
2020-05-21 09:07:37 UTC
We shouldn't call freeze or thaw when doing live snapshot with memory(the VM is paused during it - makes sure of data consistency). In this scenario when restoring it with memory the FS will be frozen and we can't do anything. The freeze/thaw calls should happen only when creating non-memory live snapshot in order to make the data consistent. Sure, we still have time. Not so much a backport as just changing the milestone to whichever (4.4.1 or 4.4.2) fits once it merges Verified with: ovirt-engine-4.3.11-0.1.el7.noarch Steps: 1. Set the LiveSnapshotPerformFreezeInEngine=true in engine config 2. Create a VM with disk. 3. Create snapshot with memory. 4. Shutdown the VM. 5. Preview+commit the snapshot with memory restore. 6. Start the VM. Result: 1. The VM is restored without being frozen. Moving back to modified since this has been verified on ovirt-engine-4.3.11-0.1.el7.noarch before cloning to 4.3. Verified with: ovirt-engine-4.4.1.5-0.17.el8ev.noarch Steps: 1. Set the LiveSnapshotPerformFreezeInEngine=true in engine config 2. Create a VM with disk. 3. Create snapshot with memory. 4. Shutdown the VM. 5. Preview+commit the snapshot with memory restore. 6. Start the VM. Result: 1. The VM is restored without being frozen. 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: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement 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-2020:3247 |