all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH qemu-server] migrate: handle new 'failing' status added in QEMU 11.0
@ 2026-10-19  9:10 Fiona Ebner
  2026-10-19  9:54 ` applied: " Fabian Grünbichler
  0 siblings, 1 reply; 2+ messages in thread
From: Fiona Ebner @ 2026-10-19  9:10 UTC (permalink / raw)
  To: pve-devel

In QEMU 11.0, a new transitory migration status 'failing' was added.
>From the QMP reference manual:
> * failing - error occurred during migration, clean-up underway.
> * failed - error occurred during migration, clean-up done.

Avoid failure before cleanup by not being able to parse the status:
> unable to parse migration status 'failing' - aborting

Instead, log the 'failing' status cleanly and wait for the transition
to the 'failed' status.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 src/PVE/QemuMigrate.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/QemuMigrate.pm b/src/PVE/QemuMigrate.pm
index 6605f5d8..96035a75 100644
--- a/src/PVE/QemuMigrate.pm
+++ b/src/PVE/QemuMigrate.pm
@@ -1462,7 +1462,7 @@ sub phase2 {
         }
 
         my $status = $stat->{status};
-        if (defined($status) && $status =~ m/^(cancelling|setup|wait-unplug)$/im) {
+        if (defined($status) && $status =~ m/^(cancelling|failing|setup|wait-unplug)$/im) {
             $self->log('info', "migration in status '$status' - waiting for transition");
             sleep(1);
             next;
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-19  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-19  9:10 [PATCH qemu-server] migrate: handle new 'failing' status added in QEMU 11.0 Fiona Ebner
2026-10-19  9:54 ` applied: " Fabian Grünbichler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal