XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. CFlannigan
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 4
    • Groups 0

    CFlannigan

    @CFlannigan

    3
    Reputation
    2
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    CFlannigan Unfollow Follow

    Latest posts made by CFlannigan

    • VM Migration | PIF is not attached

      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
      
      
      
      posted in Compute
      C
      CFlannigan
    • xcp-ng host failure and xo did not flag it

      Hey.
      So i had a crash on 1 of my xcp-ng servers today and when i went into XO (open source version) i see that the host was still listed as running and online. It did not detect that the server went down and flag anything.

      I also noticed no VM failure, but i am not sure if that is a miss config or just a bug. What does XO use to identify a host status?

      Thanks

      posted in Management
      C
      CFlannigan
    • RE: Update SR server address for NFS

      @olivierlambert Thanks for that ill plan for the weekend to do that and see how it goes.

      posted in Management
      C
      CFlannigan
    • Update SR server address for NFS

      Hey.
      So after setting up my environment for all the network separation id like to now move the VMStorage mount from 1 server ip to another, I have setup dedicated bonded interfaces on my storage device to separate the VM work from normal NFS workloads.

      So right now i have the server pointing to X.X.X.X and would like to move it to Y.Y.Y.Y, how can i do this without mounting a new storage, is it possible for me to power off the VM and edit the details or do i have to migrate or something??

      Thanks

      posted in Management
      C
      CFlannigan