XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    VM migration is blocked during backup whereas no backup in progress

    Scheduled Pinned Locked Moved XCP-ng
    5 Posts 2 Posters 358 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      henri9813
      last edited by

      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 !

      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        Is your XO(A) up-to-date? This issue was previously fixed AFAIK.

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          henri9813 @Danp
          last edited by

          @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 ?

          0 OlivierFL committed to vatesfr/xen-orchestra
          fix(xo-core/eslint/i18n): add "fa" to the list of excluded locales for missing keys checks (#7833)
          
          Introduced by 28f94b3
          
          Fix ESLint errors for missing `fa` locale translation keys.
          DanpD 1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team @henri9813
            last edited by

            @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?

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              henri9813 @Danp
              last edited by

              @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 !

              1 Reply Last reply Reply Quote 0
              • First post
                Last post