XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    • Profile
    • Following 0
    • Followers 0
    • Topics 51
    • Posts 482
    • Groups 1
    Tristis OrisT Offline
    1. Home
    2. Tristis Oris
    3. Posts

    Posts

    Recent Best Controversial
    • RE: Unclear errors

      i forgot how i got VM_BAD_POWER_STATE.
      Probably need to choose multiple VMs from different pools and do a batch migration.

      posted in Management
      Tristis OrisT
      Tristis Oris
    • Unclear errors

      Many errors don't explain the cause or lead you down the wrong path. For example:

      • if enabled
        изображение.jpeg
      vm.migrate
      {
        "vm": "a6f6d2ec-17fd-338f-16f5-cdbcfa3e23de",
        "mapVifsNetworks": {
          "c5825de5-4b88-1794-5381-b9ded8fde08b": "12612d2e-9490-185d-5056-d848db1a754f"
        },
        "migrationNetwork": "d6492be1-f89e-e4fe-f6e0-1cbaad111581",
        "sr": "43daf4a2-ff01-e974-0db7-bb68765e5f73",
        "targetHost": "2444db2d-8701-475e-9191-c0b0417b3c51"
      }
      {
        "code": "OPERATION_BLOCKED",
        "params": [
          "OpaqueRef:63424fd1-95b1-8518-9a82-faee73bbd427",
          "true"
        ],
        "task": {
          "uuid": "9120561b-99a6-6677-6e8a-cd4432410aa1",
          "name_label": "Async.VM.migrate_send",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20260914T09:52:49Z",
          "finished": "20260914T09:52:49Z",
          "status": "failure",
          "resident_on": "OpaqueRef:e455b3a6-4d05-6d86-2f7a-c4cdba26e120",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "OPERATION_BLOCKED",
            "OpaqueRef:63424fd1-95b1-8518-9a82-faee73bbd427",
            "true"
          ],
          "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 2654))((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": "OPERATION_BLOCKED(OpaqueRef:63424fd1-95b1-8518-9a82-faee73bbd427, true)",
        "name": "XapiError",
        "stack": "XapiError: OPERATION_BLOCKED(OpaqueRef:63424fd1-95b1-8518-9a82-faee73bbd427, true)
          at XapiError.wrap (file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/_XapiError.mjs:16:12)
          at default (file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/_getTaskResult.mjs:13:29)
          at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/index.mjs:1329:24)
          at file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/index.mjs:1363:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/index.mjs:1353:12)
          at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/index.mjs:1560:14)"
      }
      
      • VM migration into current pool.
      vm.migrate
      {
        "migrationNetwork": "d6492be1-f89e-e4fe-f6e0-1cbaad111581",
        "targetHost": "2444db2d-8701-475e-9191-c0b0417b3c51",
        "vm": "5579297f-c843-9b13-a418-864db48196b5"
      }
      {
        "code": "VM_BAD_POWER_STATE",
        "params": [
          "OpaqueRef:3d062b96-e098-69c3-b77b-db727c06505f",
          "running",
          "halted"
        ],
        "task": {
          "uuid": "110cb10e-20c2-b315-d8b9-50cc9b2311d9",
          "name_label": "Async.VM.pool_migrate",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20260910T13:23:08Z",
          "finished": "20260910T13:23:08Z",
          "status": "failure",
          "resident_on": "OpaqueRef:5e55d030-7245-0317-7463-174fc2c81848",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "VM_BAD_POWER_STATE",
            "OpaqueRef:3d062b96-e098-69c3-b77b-db727c06505f",
            "running",
            "halted"
          ],
          "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 2519))((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_BAD_POWER_STATE(OpaqueRef:3d062b96-e098-69c3-b77b-db727c06505f, running, halted)",
        "name": "XapiError",
        "stack": "XapiError: VM_BAD_POWER_STATE(OpaqueRef:3d062b96-e098-69c3-b77b-db727c06505f, running, halted)
          at XapiError.wrap (file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/_XapiError.mjs:16:12)
          at default (file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/_getTaskResult.mjs:13:29)
          at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/index.mjs:1329:24)
          at file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/index.mjs:1363:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/index.mjs:1353:12)
          at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202609011557/packages/xen-api/index.mjs:1560:14)"
      }
      
      posted in Management
      Tristis OrisT
      Tristis Oris
    • RE: Continuos replication failing with "checkBaseVdis() failed"

      Got this issue since 2026-07-12.

      posted in Backup
      Tristis OrisT
      Tristis Oris
    • RE: Potential bug with Windows VM backup: "Body Timeout Error"

      aaaand it happens again.
      19973fe7-a345-4a38-9b4d-2b42c08b40b2-image.jpeg

      posted in Backup
      Tristis OrisT
      Tristis Oris
    • RE: Potential bug with Windows VM backup: "Body Timeout Error"

      @olivierlambert for now it solved after toolstack restart everywhere.

      posted in Backup
      Tristis OrisT
      Tristis Oris
    • RE: DUPLICATE_MAC_SEED

      @Pilow no.

      posted in Xen Orchestra
      Tristis OrisT
      Tristis Oris
    • RE: DUPLICATE_MAC_SEED

      Can't migrate an XO VM to any pool because of this error.
      You need to remove any CR copy that is halted to make migration work.

      posted in Xen Orchestra
      Tristis OrisT
      Tristis Oris
    • RE: Potential bug with Windows VM backup: "Body Timeout Error"

      I get this error with each metadata backup run, but every time it fail on different pool. Only 1 failed pool at once.

      aa7af767-9150-4e99-a483-5d02524678bb-image.jpeg

      posted in Backup
      Tristis OrisT
      Tristis Oris
    • RE: New project - XenAdminQt - a cross-platform GNU/Linux, macOS, Windows native thick client

      @benapetr said in New project - XenAdminQt - a cross-platform GNU/Linux, macOS, Windows native thick client:

      you can switch between them

      nope, that just 2 from multiple nics.

      Need press add ip address to add other NICs. Now i see how it works.

      posted in News
      Tristis OrisT
      Tristis Oris
    • RE: New project - XenAdminQt - a cross-platform GNU/Linux, macOS, Windows native thick client

      it's only possible to change management interface.
      d5cbdf34-9bd7-42fd-9866-6f7474550be7-image.jpeg

      nothing can be done with other NICs.

      weird, what is this?
      5630d95a-79e5-421f-811c-1da5746b8812-image.jpeg

      posted in News
      Tristis OrisT
      Tristis Oris
    • RE: New project - XenAdminQt - a cross-platform GNU/Linux, macOS, Windows native thick client

      @benapetr configure dhcp\static mode.

      posted in News
      Tristis OrisT
      Tristis Oris
    • RE: New project - XenAdminQt - a cross-platform GNU/Linux, macOS, Windows native thick client

      I haven't found how to set up a physical NIC. you can only edit already configured ones.

      posted in News
      Tristis OrisT
      Tristis Oris
    • RE: Unable to copy template

      While I was updating all the pools, a micro-update for 5 packages was released again. They come out every week now. 😧

      Same issue with basic migration. Now it impossible.

      posted in Management
      Tristis OrisT
      Tristis Oris
    • RE: Double CR backup

      @DustinB but this is impossible scenario. CR requried a VM SR, not a backup one) weird option.

      posted in Management
      Tristis OrisT
      Tristis Oris
    • RE: Double CR backup

      @ph7 i have 3)
      7a90b792-3e32-42cc-9e9b-33c15663196b-image.jpeg

      still don't get anything.

      posted in Management
      Tristis OrisT
      Tristis Oris
    • Double CR backup

      I noticed that a single CR backup job creates two VMs in each pool.

      Also, I found an unavailable button in the backup task.
      31572c2f-d359-49ef-bc43-1995064a8521-image.jpeg

      I don't understand when or what exactly was changed.

      posted in Management
      Tristis OrisT
      Tristis Oris
    • RE: File restore error on LVMs

      Any news about issue?

      posted in Backup
      Tristis OrisT
      Tristis Oris
    • RE: CloudConfigDrive removal

      Ok, my syntax is oudated.

      resize_rootfs: true
      growpart:
        mode: auto
        devices: ['/dev/xvda3']
        ignore_growroot_disabled: false
      
      runcmd:
        - pvresize /dev/xvda3
        - lvextend -r -l +100%FREE /dev/ubuntu-vg/ubuntu-lv || true
      

      this one works.


      final_message. doesn't support any macro like %(uptime) %(UPTIME)

      posted in Advanced features
      Tristis OrisT
      Tristis Oris
    • RE: Unable to copy template

      @Pilow said in Unable to copy template:

      something preventing you to patch thoses hosts ?

      yes.

      posted in Management
      Tristis OrisT
      Tristis Oris