Bug 1861680 - [CBT] Consume QEMU fix for live VM migration when the VM contains incremental backups
Summary: [CBT] Consume QEMU fix for live VM migration when the VM contains incremental...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.4.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.4.2
: 4.4.2.1
Assignee: Eyal Shenitzky
QA Contact: Ilan Zuckerman
URL:
Whiteboard:
Depends On: 1799011
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-29 09:12 UTC by Eyal Shenitzky
Modified: 2020-09-18 07:11 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-09-18 07:11:54 UTC
oVirt Team: Storage
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)

Description Eyal Shenitzky 2020-07-29 09:12:20 UTC
Description of problem:

When incremental backup introduced as a tech preview there was a known libvirt bug 1799011, this bug prevents from using the existing VM incremental backup chaing after the VM was migrated to another host.

Libvirt doesn't handle bitmaps used to drive the incremental backup feature during live migration. Incremental backup would not be possible after a migration without migrating the active bitmaps.

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 backup for the VM
4. Migrate the VM to another host
5. Create another incremental backup for the VM

Actual results:
Incremental backup bitmaps go curropted an a full backup should be taken

Expected results:
Incremental backup can be taken after the VM was migrated to another host

Additional info:

Comment 1 Eyal Shenitzky 2020-08-03 10:14:29 UTC
We need to test that live VM migration works when the VM contains incremental backups.
Also we need to test that creating a new incremental backup works after the VM was live migrated.

Comment 2 Eyal Shenitzky 2020-08-05 09:03:53 UTC
The libvirt bug 1799011 that was mentioned is to repopulate the checkpoints after the VM was migrated to another host, the oVirt engine already does this job by himself. So, it means that when this bug will be fixed it will only save the need to redefine the checkpoints after the VM was migrated.

In this stage, VM that contains bitmaps/checkoints should be able to perform live migration to another host succsessfully and another incremental backup can be taken after the VM was migrated.

Comment 3 Ilan Zuckerman 2020-08-12 05:30:49 UTC
Verified on rhv-release-4.4.2-2-001.noarch

VM is able to migrate when it has incrementally backed up.
After the VMs migration, I was able to make additional incremental backups to it.

Comment 4 Sandro Bonazzola 2020-09-18 07:11:54 UTC
This bugzilla is included in oVirt 4.4.2 release, published on September 17th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.2 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.


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