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

    Unable to Migrate VM's to newly added host in pool

    Scheduled Pinned Locked Moved Management
    3 Posts 2 Posters 43 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.
    • J Offline
      jmannik
      last edited by

      I am trying to live migrate vm's to a freshly added host to the pool.
      I am getting thee below error:

      vm.migrate
      {
        "vm": "5270ed06-85dc-1050-dc26-789a39a6ca0a",
        "migrationNetwork": "b012ab5c-bbe8-ccca-bbe7-596468bb04cf",
        "targetHost": "b2857df4-26dd-4e93-9ab0-60cc1f753bd1"
      }
      {
        "code": "VM_LACKS_FEATURE",
        "params": [
          "OpaqueRef:10dfa2af-92c1-194a-a787-8ffa0c44adee"
        ],
        "task": {
          "uuid": "cd8fa000-92d5-3b9e-578a-c3359f5c3814",
          "name_label": "Async.VM.migrate_send",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20250531T11:53:50Z",
          "finished": "20250531T11:53:50Z",
          "status": "failure",
          "resident_on": "OpaqueRef:aa4ba7f4-b2d8-6068-e502-a8bc50a06177",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "VM_LACKS_FEATURE",
            "OpaqueRef:10dfa2af-92c1-194a-a787-8ffa0c44adee"
          ],
          "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 2612))((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": "VM_LACKS_FEATURE(OpaqueRef:10dfa2af-92c1-194a-a787-8ffa0c44adee)",
        "name": "XapiError",
        "stack": "XapiError: VM_LACKS_FEATURE(OpaqueRef:10dfa2af-92c1-194a-a787-8ffa0c44adee)
          at Function.wrap (file:///opt/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12)
          at default (file:///opt/xen-orchestra/packages/xen-api/_getTaskResult.mjs:13:29)
          at Xapi._addRecordToCache (file:///opt/xen-orchestra/packages/xen-api/index.mjs:1072:24)
          at file:///opt/xen-orchestra/packages/xen-api/index.mjs:1106:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xen-orchestra/packages/xen-api/index.mjs:1096:12)
          at Xapi._watchEvents (file:///opt/xen-orchestra/packages/xen-api/index.mjs:1269:14)"
      }
      

      The VM is a Windows based VM, the latest tools were downloaded and installed on the same day as this post.

      It is moving from a Ryzen 5900X host to another Ryzen 5900X host.

      It is using shared storage (NFS Share).

      I really wish the error message would specify what feature is lacking as it would help me troubleshoot this much easier.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        This means the VM isn't cooperating. The most likely thing is an issue regarding the tools, not correctly installed or working.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jmannik @olivierlambert
          last edited by

          @olivierlambert
          I would have thought that too... except it does it for every VM

          At this stage I am just going to rebuild the pool and migrate the VM's and other hosts across to it instead.

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