Bug 1749284
Summary: | Change the Snapshot operation to be asynchronous | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Michal Skrivanek <michal.skrivanek> |
Component: | ovirt-engine | Assignee: | Liran Rotenberg <lrotenbe> |
Status: | CLOSED ERRATA | QA Contact: | Beni Pelled <bpelled> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.3.7 | CC: | bugs, dfodor, pelauter, rdlugyhe, rhodain, sgoodman |
Target Milestone: | ovirt-4.4.0 | Flags: | lsvaty:
testing_plan_complete-
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rhv-4.4.0-29 | Doc Type: | Enhancement |
Doc Text: |
Before this update, the live snapshot operation was synchronized, such that if VDSM required more than 180 seconds to create a snapshot, the operation failed, preventing snapshots of some virtual machines, such as those with large memory loads, or slow storage.
With this update, the live snapshot operation is asynchronous, so the operation runs until it ends successfully, regardless of how long it takes.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-04 13:20:31 UTC | Type: | --- |
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: | 1565552 | ||
Bug Blocks: | 1687345, 1780943 |
Description
Michal Skrivanek
2019-09-05 10:04:30 UTC
Verified with: - RHV 4.4.0-0.33.master.el8ev - libvirt-6.0.0-17.module+el8.2.0+6257+0d066c28.x86_64 - vdsm-4.40.13-1.el8ev.x86_64 Verification steps: 1. Create and start a VM with 32G RAM 2. Take a snapshot with memory 3. Brake the SD connection and reconnect after a few minutes Result: - The snapshot process took ~5 minutes and it finished successfully (see logs below) > engine log (start & end process): 2020-04-22 10:12:52,594+03 INFO [org.ovirt.engine.core.bll.snapshots.CreateLiveSnapshotForVmCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-93) [24e1d9ba-e8b1-4ac2-816e-9dbc6faa10e4] Running command: Create LiveSnapshotForVmCommand internal: true. Entities affected : ID: c719d7f2-5b93-44e4-811b-79b1ce745d55 Type: VMAction group MANIPULATE_VM_SNAPSHOTS with role type USER 2020-04-22 10:17:00,510+03 INFO [org.ovirt.engine.core.bll.snapshots.CreateLiveSnapshotForVmCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-14) [24e1d9ba-e8b1-4ac2-816e-9dbc6faa10e4] Ending command 'org.ovirt.engine.core.bll.snapshots.CreateLiveSnapshotForVmCommand' successfully. > VDSM log (start & end process): 2020-04-22 10:12:52,736+0300 INFO (jsonrpc/2) [api.virt] START snapshot(snapDrives=[{'imageID': '2eb86f10-73d3-44f7-aae1-e8cc7724c800', 'baseVolumeID': '76576ffd-e672-4ff0-ac20-85a3b70d0105', 'volumeID': 'e7e92dd2-02d6-4b2e-9bcb-90f38387cd89', 'domainID': '34870b03-c3d0-4968-9df4-db4d5104a5de'}], snapMemory='34870b03-c3d0-4968-9df4-db4d5104a5de,bc8d7bea-d7fe-48a4-9e17-1392ef5e8a7e,cae0dae7-7c50-4ecd-a2ca-91fcede15113,1a04f7c5-8c15-46c6-9cae-ede712ec738f,21283d32-d858-4625-a3fa-9fbc792b1637,e8efd959-ab3b-487e-b09c-c76986cd0bfb', frozen=False, jobUUID='b3fa3ca6-9a7e-4753-966c-8bf8d5ac452d', timeout=30) from=::ffff:10.35.161.9,50314, flow_id=24e1d9ba-e8b1-4ac2-816e-9dbc6faa10e4, vmId=c719d7f2-5b93-44e4-811b-79b1ce745d55 (api:48) 2020-04-22 10:12:54,058+0300 INFO (virt/b3fa3ca6) [virt.vm] (vmId='c719d7f2-5b93-44e4-811b-79b1ce745d55') Taking a live snapshot (drives=vda,memory=True) (snapshot:451) 2020-04-22 10:16:45,482+0300 INFO (virt/b3fa3ca6) [virt.vm] (vmId='c719d7f2-5b93-44e4-811b-79b1ce745d55') Completed live snapshot (snapshot:476) 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 |