qemu-server/PVE
Fiona Ebner 0b50d3d29f resume: bump timeout for query-status
As reported in the community forum [0], after migration, the VM might
not immediately be able to respond to QMP commands, which means the VM
could fail to resume and stay in paused state on the target.

The reason is that activating the block drives in QEMU can take a bit
of time. For example, it might be necessary to invalidate the caches
(where for raw devices a flush might be needed) and the request
alignment and size of the block device needs to be queried.

In [0], an external Ceph cluster with krbd is used, and the initial
read to the block device after migration, for probing the request
alignment, takes a bit over 10 seconds[1]. Use 60 seconds as the new
timeout to be on the safe side for the future.

All callers are inside workers or via the 'qm' CLI command, so bumping
beyond 30 seconds is fine.

[0]: https://forum.proxmox.com/threads/149610/

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2024-07-29 19:15:29 +02:00
..
API2 fix #5574: api: fix permission check for 'spice' usb port 2024-07-22 19:37:37 +02:00
CLI cli: qm: increase timeout for monitor commands to 30 seconds 2024-06-11 13:56:44 +02:00
QemuServer fix #5528: override cgroup methods to call systemd via dbus 2024-07-23 08:05:53 +02:00
VZDump backup: prepare: remove outdated QEMU version check 2024-07-03 15:08:51 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm config: define machine schema as property-string 2024-04-11 10:18:27 +02:00
QemuMigrate.pm migration: handle replication: remove outdated and inaccurate check for QEMU version 2024-07-03 15:08:47 +02:00
QemuServer.pm resume: bump timeout for query-status 2024-07-29 19:15:29 +02:00
QMPClient.pm QMP client: sort commands with 10 minutes timeout alphabetically 2024-03-08 14:37:29 +01:00