Bug 1861671

Summary: [CBT] Copy bitmaps to the new volume during storage migration when the VM contains incremental backups
Product: [oVirt] ovirt-engine Reporter: Eyal Shenitzky <eshenitz>
Component: BLL.StorageAssignee: Eyal Shenitzky <eshenitz>
Status: CLOSED CURRENTRELEASE QA Contact: Ilan Zuckerman <izuckerm>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4.1CC: bugs, dfodor, nsoffer, sfishbai
Target Milestone: ovirt-4.4.3Flags: pm-rhel: ovirt-4.4+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vdsm-4.40.33, ovirt-engine-4.4.3.6 Doc Type: If docs needed, set a value
Doc Text:
When migrating a disk that belongs to a VM that contains the VM's full or incremental backups, all the backup bitmaps will be removed when the disk migration is done. The fix for this bug will copy all the disk's bitmaps during the disk migration from one storage domain to another.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-11 06:42:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1779893    
Bug Blocks:    

Description Eyal Shenitzky 2020-07-29 08:47:57 UTC
Description of problem:

When incremental backup introduced as a tech preview there was a known libvirt bug 1779893 for doing live disk migration when the VM contains also incremental backups.

In this case, after live storage migration, all the
bitmaps go lost, and the next backup will have to be a full back.


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

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with disks
2. Run the VM
3. Create an incremental backups for the VM
4. Move the VM disks to another storage domain
7. Create another incremental backup for the VM

Actual results:
All the the incremental backup bitmaps got lost.

Expected results:
Incremental backup bitmaps should be kept so a new incremental backup can be taked after the live storage migration operation.

Additional info:

Comment 1 Ilan Zuckerman 2020-10-14 06:27:54 UTC
Verified on rhv-4.4.3-8 according the steps from description.

Comment 2 Sandro Bonazzola 2020-11-11 06:42:14 UTC
This bugzilla is included in oVirt 4.4.3 release, published on November 10th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.3 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.