all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH qemu-server 0/1] fix #6828: remote migration: bump timeout for writing configuration to accommodate volume activation
@ 2025-10-01 15:01 Fiona Ebner
  2025-10-01 15:01 ` [pve-devel] [PATCH qemu-server 1/1] " Fiona Ebner
  2025-10-03 11:48 ` [pve-devel] applied: [PATCH qemu-server 0/1] " Fabian Grünbichler
  0 siblings, 2 replies; 3+ messages in thread
From: Fiona Ebner @ 2025-10-01 15:01 UTC (permalink / raw)
  To: pve-devel

The 'config' command will lead to volume activation being done for the
referenced volumes. This is because the 'config' handler in the
mtunnel API endpoint calls into the update_vm_api() function, which
uses the create_disks() function, which is also used for existing
disks. In create_disks(), each volume is activated to do an
existence/basic sanity check by querying its size.

There is no requirement to be fast when handling the 'config' command
during remote migration. Since there could be many disks for a given
VM, allow for up to 2 minutes instead of just 10 seconds.

qemu-server:

Fiona Ebner (1):
  fix #6828: remote migration: bump timeout for writing configuration to
    accommodate volume activation

 src/PVE/QemuMigrate.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Summary over all repositories:
  1 files changed, 1 insertions(+), 1 deletions(-)

-- 
Generated by git-murpp 0.5.0


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


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

* [pve-devel] [PATCH qemu-server 1/1] fix #6828: remote migration: bump timeout for writing configuration to accommodate volume activation
  2025-10-01 15:01 [pve-devel] [PATCH qemu-server 0/1] fix #6828: remote migration: bump timeout for writing configuration to accommodate volume activation Fiona Ebner
@ 2025-10-01 15:01 ` Fiona Ebner
  2025-10-03 11:48 ` [pve-devel] applied: [PATCH qemu-server 0/1] " Fabian Grünbichler
  1 sibling, 0 replies; 3+ messages in thread
From: Fiona Ebner @ 2025-10-01 15:01 UTC (permalink / raw)
  To: pve-devel

The 'config' command will lead to volume activation being done for the
referenced volumes. This is because the 'config' handler in the
mtunnel API endpoint calls into the update_vm_api() function, which
uses the create_disks() function, which is also used for existing
disks. In create_disks(), each volume is activated to do an
existence/basic sanity check by querying its size.

There is no requirement to be fast when handling the 'config' command
during remote migration. Since there could be many disks for a given
VM, allow for up to 2 minutes instead of just 10 seconds.

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 7093c41e..da5b4b78 100644
--- a/src/PVE/QemuMigrate.pm
+++ b/src/PVE/QemuMigrate.pm
@@ -922,7 +922,7 @@ sub phase1_remote {
         'firewall-config' => $fw_conf_str,
     };
 
-    PVE::Tunnel::write_tunnel($self->{tunnel}, 10, 'config', $params);
+    PVE::Tunnel::write_tunnel($self->{tunnel}, 120, 'config', $params);
 }
 
 sub phase1_cleanup {
-- 
2.47.3



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


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

* [pve-devel] applied: [PATCH qemu-server 0/1] fix #6828: remote migration: bump timeout for writing configuration to accommodate volume activation
  2025-10-01 15:01 [pve-devel] [PATCH qemu-server 0/1] fix #6828: remote migration: bump timeout for writing configuration to accommodate volume activation Fiona Ebner
  2025-10-01 15:01 ` [pve-devel] [PATCH qemu-server 1/1] " Fiona Ebner
@ 2025-10-03 11:48 ` Fabian Grünbichler
  1 sibling, 0 replies; 3+ messages in thread
From: Fabian Grünbichler @ 2025-10-03 11:48 UTC (permalink / raw)
  To: pve-devel, Fiona Ebner


On Wed, 01 Oct 2025 17:01:07 +0200, Fiona Ebner wrote:
> The 'config' command will lead to volume activation being done for the
> referenced volumes. This is because the 'config' handler in the
> mtunnel API endpoint calls into the update_vm_api() function, which
> uses the create_disks() function, which is also used for existing
> disks. In create_disks(), each volume is activated to do an
> existence/basic sanity check by querying its size.
> 
> [...]

Applied, thanks!

[1/1] fix #6828: remote migration: bump timeout for writing configuration to accommodate volume activation
      commit: 14c57934ed59472b8b0751c06838773ee7c86969

Best regards,
-- 
Fabian Grünbichler <f.gruenbichler@proxmox.com>


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

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

end of thread, other threads:[~2025-10-03 11:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-01 15:01 [pve-devel] [PATCH qemu-server 0/1] fix #6828: remote migration: bump timeout for writing configuration to accommodate volume activation Fiona Ebner
2025-10-01 15:01 ` [pve-devel] [PATCH qemu-server 1/1] " Fiona Ebner
2025-10-03 11:48 ` [pve-devel] applied: [PATCH qemu-server 0/1] " 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