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

    VM Migration | PIF is not attached

    Scheduled Pinned Locked Moved Compute
    2 Posts 2 Posters 23 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.
    • C Offline
      CFlannigan
      last edited by

      Hey All.
      since the recent upgrades i cannot migrate a vm from 1 system to another, i get the below errors through the "XenOrchestrator", however when i do the "xe vm-migrate" i have no issues.

      {
        "id": "0mng8aura",
        "properties": {
          "method": "vm.migrate",
          "params": {
            "vm": "d03bc0b8-6f22-5997-912f-c1edab2dcac2",
            "migrationNetwork": "9a74000a-8481-1b36-2dd1-a58cd6747623",
            "targetHost": "82cf5c29-db31-4cc3-b057-db8f85324232"
          },
          "name": "API call: vm.migrate",
          "userId": "02d261f6-840b-4148-9eb5-d181432af7d2",
          "type": "api.call"
        },
        "start": 1775059006006,
        "status": "failure",
        "updatedAt": 1775059017805,
        "warnings": [
          {
            "data": {
              "pif": "c13bcf0c-ef0c-27bd-592a-58ef4eedf18d"
            },
            "message": "PIF is not attached"
          }
        ],
        "end": 1775059017803,
        "result": {
          "code": "INTERNAL_ERROR",
          "params": [
            "xenopsd internal error: Xmlrpc.Parse_error(\"open_tag(html)\", \"open_tag(methodResponse)\", _)"
          ],
          "task": {
            "uuid": "d7c63011-1bda-5c33-330b-ec1c09baea23",
            "name_label": "Async.VM.pool_migrate",
            "name_description": "",
            "allowed_operations": [],
            "current_operations": {},
            "created": "20260401T15:56:46Z",
            "finished": "20260401T15:56:57Z",
            "status": "failure",
            "resident_on": "OpaqueRef:6dadebb7-39c8-4bb7-a559-909a80824227",
            "progress": 1,
            "type": "<none/>",
            "result": "",
            "error_info": [
              "INTERNAL_ERROR",
              "xenopsd internal error: Xmlrpc.Parse_error(\"open_tag(html)\", \"open_tag(methodResponse)\", _)"
            ],
            "other_config": {},
            "subtask_of": "OpaqueRef:NULL",
            "subtasks": [],
            "backtrace": "(((process xenopsd-xc)(filename src/lib/xmlrpc.ml)(line 182))((process xenopsd-xc)(filename ocaml/xapi-idl/lib/xcp_client.ml)(line 138))((process xenopsd-xc)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xenopsd-xc)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xenopsd-xc)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xenopsd-xc)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xenopsd-xc)(filename ocaml/libs/stunnel/stunnel.ml)(line 412))((process xenopsd-xc)(filename src/lib/idl.ml)(line 550))((process xenopsd-xc)(filename ocaml/xenopsd/lib/xenops_server.ml)(line 2816))((process xenopsd-xc)(filename ocaml/xenopsd/lib/xenops_task.ml)(line 103))((process xenopsd-xc)(filename ocaml/xenopsd/lib/xenops_task.ml)(line 111))((process xenopsd-xc)(filename ocaml/xenopsd/lib/xenops_server.ml)(line 3408))((process xenopsd-xc)(filename ocaml/xenopsd/lib/xenops_server.ml)(line 3418))((process xenopsd-xc)(filename ocaml/xenopsd/lib/xenops_server.ml)(line 3439))((process xenopsd-xc)(filename ocaml/xapi-idl/lib/task_server.ml)(line 192))((process xapi)(filename ocaml/xapi/xapi_xenops.ml)(line 3488))((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/xapi_xenops.ml)(line 3659))((process xapi)(filename ocaml/xapi/xapi_vm_migrate.ml)(line 262))((process xapi)(filename ocaml/xapi/xapi_vm_migrate.ml)(line 268))((process xapi)(filename ocaml/xapi/xapi_vm_migrate.ml)(line 293))((process xapi)(filename ocaml/xapi/xapi_vm_migrate.ml)(line 434))((process xapi)(filename ocaml/xapi/xapi_xenops.ml)(line 3497))((process xapi)(filename ocaml/xapi/xapi_vm_migrate.ml)(line 458))((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/message_forwarding.ml)(line 141))((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/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/message_forwarding.ml)(line 2515))((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": "INTERNAL_ERROR(xenopsd internal error: Xmlrpc.Parse_error(\"open_tag(html)\", \"open_tag(methodResponse)\", _))",
          "name": "XapiError",
          "stack": "XapiError: INTERNAL_ERROR(xenopsd internal error: Xmlrpc.Parse_error(\"open_tag(html)\", \"open_tag(methodResponse)\", _))\n    at XapiError.wrap (file:///opt/xo/xo-builds/xen-orchestra-202604011500/packages/xen-api/_XapiError.mjs:16:12)\n    at default (file:///opt/xo/xo-builds/xen-orchestra-202604011500/packages/xen-api/_getTaskResult.mjs:13:29)\n    at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202604011500/packages/xen-api/index.mjs:1078:24)\n    at file:///opt/xo/xo-builds/xen-orchestra-202604011500/packages/xen-api/index.mjs:1112:14\n    at Array.forEach (<anonymous>)\n    at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202604011500/packages/xen-api/index.mjs:1102:12)\n    at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202604011500/packages/xen-api/index.mjs:1275:14)"
        }
      }
      
      

      Anyone any ideas why this would be the case?? below is the PIF i am using "VMotion"

      xe pif-list network-uuid=9a74000a-8481-1b36-2dd1-a58cd6747623   params=uuid,host-uuid,device,carrier,IP-configuration-mode,IP,netmask,gateway
      uuid ( RO)                     : c63c20a7-9b94-37c8-8822-cfe04e483515
                         device ( RO): eth5
                      host-uuid ( RO): ffd1921d-ce8e-49b4-a69e-2c1e571125c5
          IP-configuration-mode ( RO): Static
                             IP ( RO): 10.xx.xx.200
                        netmask ( RO): 255.255.255.0
                        gateway ( RO): 10.xx.xx.1
                        carrier ( RO): true
      
      
      uuid ( RO)                     : c13bcf0c-ef0c-27bd-592a-58ef4eedf18d
                         device ( RO): eth5
                      host-uuid ( RO): 82cf5c29-db31-4cc3-b057-db8f85324232
          IP-configuration-mode ( RO): Static
                             IP ( RO): 10.xx.xx.200
                        netmask ( RO): 255.255.255.0
                        gateway ( RO): 10.xx.xx.1
                        carrier ( RO): true
      
      
      xe pif-param-list uuid=c63c20a7-9b94-37c8-8822-cfe04e483515 | egrep 'uuid|device|carrier|IP-configuration-mode|IP|netmask|gateway'
      uuid ( RO)                       : c63c20a7-9b94-37c8-8822-cfe04e483515
                           device ( RO): eth5
                     network-uuid ( RO): 9a74000a-8481-1b36-2dd1-a58cd6747623
                        host-uuid ( RO): ffd1921d-ce8e-49b4-a69e-2c1e571125c5
            IP-configuration-mode ( RO): Static
                               IP ( RO): 10.xx.xx.200
                          netmask ( RO): 255.255.255.0
                          gateway ( RO): 10.xx.xx.1
          IPv6-configuration-mode ( RO): None
                             IPv6 ( RO): 
                     IPv6-gateway ( RO): 
             primary-address-type ( RO): IPv4
                          carrier ( RO): true
                        device-id ( RO): 1521
                      device-name ( RO): I350 Gigabit Network Connection
      
      
       xe pif-param-list uuid=c13bcf0c-ef0c-27bd-592a-58ef4eedf18d | egrep 'uuid|device|carrier|IP-configuration-mode|IP|netmask|gateway'
      uuid ( RO)                       : c13bcf0c-ef0c-27bd-592a-58ef4eedf18d
                           device ( RO): eth5
                     network-uuid ( RO): 9a74000a-8481-1b36-2dd1-a58cd6747623
                        host-uuid ( RO): 82cf5c29-db31-4cc3-b057-db8f85324232
            IP-configuration-mode ( RO): Static
                               IP ( RO): 10.xx.xx.201
                          netmask ( RO): 255.255.255.0
                          gateway ( RO): 10.xx.xx.1
          IPv6-configuration-mode ( RO): None
                             IPv6 ( RO): 
                     IPv6-gateway ( RO): 
             primary-address-type ( RO): IPv4
                          carrier ( RO): true
                        device-id ( RO): 1521
                      device-name ( RO): I350 Gigabit Network Connection
      
      
      
      1 Reply Last reply Reply Quote 0
      • P Online
        Pilow
        last edited by

        had the same on one pool that needed 97 updates.
        RPU was going great, but couldn't migrate VM post-upgrade

        it is a pool of 2 hosts, second hosts still had 97 patches to pass... even if RPU was finished.

        we waited 10 min and the 97 patches disappeared, and then we could migrate the VM

        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