VM migration is blocked during backup whereas no backup in progress
-
Hello,
I try to migrate a VM between two host but I got:
vm.migrate { "vm": "bca3bd58-8455-d07f-c2a9-ba45daeb6fb4", "sr": "b4313d56-d226-c453-cef7-d7180a3daab1", "targetHost": "e7e336d6-07b2-4c23-ac95-2a3f7bfa47ab" } { "code": "OPERATION_BLOCKED", "params": [ "OpaqueRef:f032a458-e996-441b-a352-7e76fdc8dfe7", "VM migration is blocked during backup" ], "task": { "uuid": "52474c0f-fcd1-21dd-1a02-5139e0a48289", "name_label": "Async.VM.migrate_send", "name_description": "", "allowed_operations": [], "current_operations": {}, "created": "20240719T12:16:13Z", "finished": "20240719T12:16:13Z", "status": "failure", "resident_on": "OpaqueRef:59f0a1ab-ffe4-4c2b-8465-72f32e9ef71b", "progress": 1, "type": "<none/>", "result": "", "error_info": [ "OPERATION_BLOCKED", "OpaqueRef:f032a458-e996-441b-a352-7e76fdc8dfe7", "VM migration is blocked during backup" ], "other_config": {}, "subtask_of": "OpaqueRef:NULL", "subtasks": [], "backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_lifecycle.ml)(line 731))((process xapi)(filename ocaml/xapi/xapi_vm_helpers.ml)(line 1501))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))" },
Indeed, in can see this from xe cli:
[14:15 cloud-01-rbx-002 ~]# xe vm-param-get uuid=bca3bd58-8455-d07f-c2a9-ba45daeb6fb4 param-name=blocked-operations migrate_send: VM migration is blocked during backup; pool_migrate: VM migration is blocked during backup
But ... I have no running operation
[14:19 cloud-01-rbx-002 ~]# xe task-list [14:19 cloud-01-rbx-002 ~]#
Do you have any idea ? ( I'm running
8.2.1
).Thanks !
-
Is your XO(A) up-to-date? This issue was previously fixed AFAIK.
-
@Danp i have 17 commits lates
I'm running https://github.com/vatesfr/xen-orchestra/commit/f9220cd272674ef2f0403c9b784c955783fae334 ) ( 12 July )
If it's XO related, why in xcpng I also see the blocked operation ?
-
@henri9813 Because XO is setting the parameter during backups and should clear it when the backup finishes. See this thread for background details.
Have you run a recent backup on this VM?
-
@Danp Okay, you're a genius, I upgrade this morning after my backup.
So that could explain my issue.
the mentioned thread is exactly my issue, but I didn't find it when I was searching about my issue.
Thanks for all !