File system freeze before end of mirroring generate kernel task blocked for more than 120 seconds

Bug #1939116 reported by Pierre Libeau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
Pierre Libeau

Bug Description

Description
===========
On the live snapshot feature to have data consistency, the instance can be boot with image property hw_qemu_guest_agent set to yes and QEMU agent install in the image. The instance with local storage creates a disk mirror to have a copy and the disk. With property hw_qemu_guest_agent the compute contacts the instance to freeze the filesystem before starting the mirror and contacts the instance again after the end of mirroring to unfreeze the filesystem. The issue is for instance with a "big" disk the filesystem is frozen for a long time and the impact is instance hung "task blocked for more than 120 seconds."

Steps to reproduce
==================
1/ Create an image with property hw_qemu_guest_agent=yes and QEMU agent install in the image
2/ Create an instance with local storage (disk size 200Go) with real data on the disk
3/ Start live-snapshot
4/ Instance frozen during the mirroring

Expected result
===============
Nova compute can wait until the end of mirroring to freeze the file system in the instance.

Actual result
=============
The instance is frozen during the mirroring

Changed in nova:
assignee: nobody → Pierre Libeau (pierre-libeau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to nova (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/803713

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

Reviewed: https://review.opendev.org/c/openstack/nova/+/803713
Committed: https://opendev.org/openstack/nova/commit/caf5faf55670ab212868498e421bedc074fafd89
Submitter: "Zuul (22348)"
Branch: master

commit caf5faf55670ab212868498e421bedc074fafd89
Author: Pierre Libeau <email address hidden>
Date: Fri Aug 6 09:01:40 2021 +0000

    Move file system freeze after end of mirroring

    The file system before the start of mirroring generates kernel task
    blocked for more than 120 seconds. The file system freeze after the
    start of mirroring and just before stopping the mirror between the
    original disk and copy of disk reduce the time of the freeze.

    Related-Bug: #1939116
    Change-Id: I067382ec676b65f8698772a262c5e4cea7a1216d

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.