File system freeze before end of mirroring generate kernel task blocked for more than 120 seconds
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_
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) |
Changed in nova: | |
status: | New → In Progress |
Related fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /803713
Review: https:/