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

    Nested virtualization - Prevent migration

    Scheduled Pinned Locked Moved XCP-ng
    1 Posts 1 Posters 10 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.
    • acebmxerA Offline
      acebmxer
      last edited by

      So i just tried to apply the xcp-ng host updates release today.. I had an issue unable to apply updates as a vm could not migrate...

      The problem was i had Nested Virtualization enabled on the vm. This was enabled for testing and forgot to disabled. However the error was not clear.

      I am noting this to come back to when my xcp-pulse is further along.

      vm.migrate
      {
        "vm": "fb72a8d7-a039-849f-b547-24fc56f056ba",
        "migrationNetwork": "172b1b75-18cf-eed1-0a8c-0aca5e16f4e9",
        "targetHost": "c1372ec6-3651-4481-808b-34293e53e144"
      }
      {
        "code": "VM_IS_IMMOBILE",
        "params": [
          "OpaqueRef:1571e2f7-c235-dc10-d766-8883ddd99fd0"
        ],
        "task": {
          "uuid": "2b031b83-6b30-4a26-29c7-a19bf963ceb0",
          "name_label": "Async.VM.pool_migrate",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20260908T20:23:39Z",
          "finished": "20260908T20:23:39Z",
          "status": "failure",
          "resident_on": "OpaqueRef:119546e4-e0fd-adc7-d42a-b17c4efe789d",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "VM_IS_IMMOBILE",
            "OpaqueRef:1571e2f7-c235-dc10-d766-8883ddd99fd0"
          ],
          "other_config": {},
          "subtask_of": "OpaqueRef:NULL",
          "subtasks": [],
          "backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_lifecycle.ml)(line 758))((process xapi)(filename ocaml/xapi/xapi_vm_helpers.ml)(line 1657))((process xapi)(filename fun.ml)(line 33))((process xapi)(filename fun.ml)(line 38))((process xapi)(filename ocaml/xapi/helpers.ml)(line 1825))((process xapi)(filename ocaml/xapi/xapi_vm_helpers.ml)(line 1656))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 2584))((process xapi)(filename ocaml/xapi/rbac.ml)(line 228))((process xapi)(filename ocaml/xapi/rbac.ml)(line 238))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 78)))"
        },
        "message": "VM_IS_IMMOBILE(OpaqueRef:1571e2f7-c235-dc10-d766-8883ddd99fd0)",
        "name": "XapiError",
        "stack": "XapiError: VM_IS_IMMOBILE(OpaqueRef:1571e2f7-c235-dc10-d766-8883ddd99fd0)
          at XapiError.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:1329:24)
          at file:///opt/xen-orchestra/packages/xen-api/index.mjs:1363:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xen-orchestra/packages/xen-api/index.mjs:1353:12)
          at Xapi._watchEvents (file:///opt/xen-orchestra/packages/xen-api/index.mjs:1560:14)"
      }
      
      1 Reply Last reply Reply Quote 0

      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
      • First post
        Last post