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

    Unable to live migrate machines - VM Lacks Feature

    Scheduled Pinned Locked Moved Management
    4 Posts 3 Posters 25 Views 2 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.
    • T Offline
      Tomcatter
      last edited by Danp

      We are receiving an error when attempting to live migrate VMs from one server to another server (same hardware specification of server), inside the same pool.

      We see the following error:
      
      {
        "id": "0mawuvh8f",
        "properties": {
          "method": "vm.migrate",
          "params": {
            "targetHost": "b10aeb00-6c14-493a-840b-91637ddf9671",
            "vm": "b589e558-67d1-0bae-4380-4fb6f84a64e4"
          },
          "name": "API call: vm.migrate",
          "userId": "32de6276-fd63-420c-af84-d583b371f3ad",
          "type": "api.call"
        },
        "start": 1747766208255,
        "status": "failure",
        "updatedAt": 1747766208320,
        "end": 1747766208320,
        "result": {
          "code": "VM_LACKS_FEATURE",
          "params": [
            "OpaqueRef:01d74f01-b77c-a254-9c76-e19575ebe7dc"
          ],
          "task": {
            "uuid": "33cf253e-969c-c657-f968-0ae07bfeaf8e",
            "name_label": "Async.VM.pool_migrate",
            "name_description": "",
            "allowed_operations": [],
            "current_operations": {},
            "created": "20250520T18:36:48Z",
            "finished": "20250520T18:36:48Z",
            "status": "failure",
            "resident_on": "OpaqueRef:0fcd73b6-b83f-7f71-7529-a3647be6b793",
            "progress": 1,
            "type": "<none/>",
            "result": "",
            "error_info": [
              "VM_LACKS_FEATURE",
              "OpaqueRef:01d74f01-b77c-a254-9c76-e19575ebe7dc"
            ],
            "other_config": {},
            "subtask_of": "OpaqueRef:NULL",
            "subtasks": [],
            "backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_lifecycle.ml)(line 742))((process xapi)(filename ocaml/xapi/xapi_vm_helpers.ml)(line 1653))((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 1662))((process xapi)(filename ocaml/xapi/xapi_vm_helpers.ml)(line 1652))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 2457))((process xapi)(filename ocaml/xapi/rbac.ml)(line 191))((process xapi)(filename ocaml/xapi/rbac.ml)(line 200))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 75)))"
          },
          "message": "VM_LACKS_FEATURE(OpaqueRef:01d74f01-b77c-a254-9c76-e19575ebe7dc)",
          "name": "XapiError",
          "stack": "XapiError: VM_LACKS_FEATURE(OpaqueRef:01d74f01-b77c-a254-9c76-e19575ebe7dc)\n    at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12)\n    at default (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_getTaskResult.mjs:13:29)\n    at Xapi._addRecordToCache (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1072:24)\n    at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1106:14\n    at Array.forEach (<anonymous>)\n    at Xapi._processEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1096:12)\n    at Xapi._watchEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1269:14)"
        }
      }
      
      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        Hi,

        Have you installed the Guest Tools into the VM? Missing guest tools is the most common reason for this issues.

        Regards, Dan

        P.S. I edited your post to add markdown code around the log so that it is easier to read.

        1 Reply Last reply Reply Quote 0
        • T Offline
          Tomcatter
          last edited by

          Hi Dan,

          The machines do have the guest tools installed and we do see that they are detected when viewing the VM.

          Regards

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            dinhngtu Vates 🪐 XCP-ng Team @Tomcatter
            last edited by

            @Tomcatter Which guest OS and guest tools are you using?

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