From 9db46d48e4d9b1a38b6c03a97738afd00fcdaf6a Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 18 Nov 2024 17:12:49 -0500 Subject: [PATCH] Ensure OVAs set migration_max_downtime --- api-daemon/pvcapid/ova.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/ova.py b/api-daemon/pvcapid/ova.py index dfa42f55..f0d2530f 100755 --- a/api-daemon/pvcapid/ova.py +++ b/api-daemon/pvcapid/ova.py @@ -401,7 +401,14 @@ def upload_ova(zkhandler, pool, name, ova_size): vnc = False serial = True retdata, retcode = provisioner.create_template_system( - name, vcpu_count, vram_mb, serial, vnc, vnc_bind=None, ova=ova_id + name, + vcpu_count, + vram_mb, + serial, + vnc, + vnc_bind=None, + ova=ova_id, + migration_max_downtime=300, ) if retcode != 200: return retdata, retcode