VM won't migrate to other host after failed backup.
-
My VM's had issues with backups and won't complete a back up. That's one problem. The other problem is that I can't migrate the VMS between hosts live. I think the disks are in some locked state. My guess is that one is feeding into the other. Any advice on how to unlock the disks/remove the metadata tag that tells XO that they are locked in a backup process (even though none are running)? Thanks.
vm.migrate { "vm": "ec579a69-197e-61b8-4425-3223ec87e534", "targetHost": "f4201c8e-3f1c-40a9-a037-2410a17b0630" } { "code": "OPERATION_BLOCKED", "params": [ "OpaqueRef:627d80f5-cfc4-4491-ba4f-4c66fef27d6f", "VM migration is blocked during backup" ], "task": { "uuid": "ba1cc870-4380-2e36-71a2-2794c97c0a8e", "name_label": "Async.VM.pool_migrate", "name_description": "", "allowed_operations": [], "current_operations": {}, "created": "20250809T10:56:50Z", "finished": "20250809T10:56:50Z", "status": "failure", "resident_on": "OpaqueRef:d4738540-7918-d2ed-28dd-33cc32ef2c6c", "progress": 1, "type": "<none/>", "result": "", "error_info": [ "OPERATION_BLOCKED", "OpaqueRef:627d80f5-cfc4-4491-ba4f-4c66fef27d6f", "VM migration is blocked during backup" ], "other_config": {}, "subtask_of": "OpaqueRef:NULL", "subtasks": [], "backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_lifecycle.ml)(line 743))((process xapi)(filename ocaml/xapi/xapi_vm_helpers.ml)(line 1652))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/helpers.ml)(line 1706))((process xapi)(filename ocaml/xapi/xapi_vm_helpers.ml)(line 1651))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 2478))((process xapi)(filename ocaml/xapi/rbac.ml)(line 188))((process xapi)(filename ocaml/xapi/rbac.ml)(line 197))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 77)))" }, "message": "OPERATION_BLOCKED(OpaqueRef:627d80f5-cfc4-4491-ba4f-4c66fef27d6f, VM migration is blocked during backup)", "name": "XapiError", "stack": "XapiError: OPERATION_BLOCKED(OpaqueRef:627d80f5-cfc4-4491-ba4f-4c66fef27d6f, VM migration is blocked during backup) at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202506300620/packages/xen-api/_XapiError.mjs:16:12) at default (file:///opt/xo/xo-builds/xen-orchestra-202506300620/packages/xen-api/_getTaskResult.mjs:13:29) at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202506300620/packages/xen-api/index.mjs:1073:24) at file:///opt/xo/xo-builds/xen-orchestra-202506300620/packages/xen-api/index.mjs:1107:14 at Array.forEach (<anonymous>) at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202506300620/packages/xen-api/index.mjs:1097:12) at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202506300620/packages/xen-api/index.mjs:1270:14)" }Xen Orchestra, commit 93503 (from sources) up to date
XCP-NG up to date -
@thedobe Have you checked the VM's Advanced tab to make sure the
Prevent migrationoption is disabled?
-
@Danp Thanks... Just ticked that off and they are migrating. I'll try backup again but something tells me the backup issue will still persist. I'll send logs once that fails.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login