Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1256500 - [RFE][scale] Snapshot deletion of poweredoff VM takes longer time.
[RFE][scale] Snapshot deletion of poweredoff VM takes longer time.
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.5.3
All Linux
high Severity medium
: ovirt-4.1.0-beta
: ---
Assigned To: Ala Hino
Raz Tamir
https://github.com/alhino/ovirt-site/...
: FutureFeature
Depends On: 1246114
Blocks: 1420198
  Show dependency treegraph
 
Reported: 2015-08-24 14:30 EDT by Amador Pahim
Modified: 2017-04-24 20:48 EDT (History)
18 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Previously, deleting a snapshot while the virtual machine was down took a long time. With this release, snapshot deletion while a virtual machine is down uses 'qemu-img commit' instead of 'qemu-img rebase', improving the performance of the operation.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-04-24 20:48:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
bmcclain: priority_rfe_tracking+
gklein: testing_plan_complete-


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0997 normal SHIPPED_LIVE Red Hat Virtualization Manager (ovirt-engine) 4.1 GA 2017-04-18 16:11:26 EDT

  None (edit)
Description Amador Pahim 2015-08-24 14:30:03 EDT
Currently the merge operation is very expensive and requires the equivalent storage space available for the _MERGE image. See the flow on removing snapshot1:

  (raw 10G)
------------------------
| ca8b5daa (snapshot1) |
------------------------
     |            (cow)
     |        ------------
     ---------| 00d83dd2 |----
              ------------   |
                (active)     |
                             | qemu-img convert
    (raw 10G)                |
------------------ <----------
| 00d83dd2_MERGE | -----------
------------------           |
                             | 
                             | rename
 (raw 10G)                   | 
------------                 |
| 00d83dd2 |  <---------------
------------
  (active)

In consequence of the _MERGE image creation, storage can run out-of-space, since many users believe removing snapshots will free some storage space and they do that when the storage is close to the limit. The _MERGE volume is not desired at all in that scenario.

Qemu has support for 'qemu-img commit', wich can commit the changes in a cow image to its backing file. After the commit, we can drop the cow image and use the backing file directly.

Please change the offline merge method to use 'qemu-img commit' instead of the external merge image.
Comment 1 Nir Soffer 2015-08-24 14:55:55 EDT
Related to bug 1206328 (offline merge too slow).

Amador, please add relevant customer cases so we can schedule this.
Comment 3 Tal Nisan 2017-01-12 08:21:20 EST
Ala, please update the doc text with the feature page or a relevant text

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