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

    Posts

    Recent Best Controversial
    • RE: Backup timeout error

      @olivierlambert our opnsense resets the TCP states so the firewall block packet because it forgot about the tcp session.

      And then, a timeout occured in the middle of the export.

      posted in Backup
      H
      henri9813
    • RE: Backup timeout error

      Hello @olivierlambert

      I confirm my issue came from my Firewall so, not related to XO.

      However, it could be great to make logs more "clear", i mean:

      Error: read ETIMEDOUT" 
      

      Become

      Error: read ETIMEDOUT while connect to X.X.X.X:ABC
      

      That would permit to understand more quickly my "real and weird" issue 😄

      Best regards,

      posted in Backup
      H
      henri9813
    • RE: Backup timeout error

      Hello, @olivierlambert

      Latest version,

      XCP-NG 8.3 latest version, i'm trying to perform disaster recovery backup,

      I think the problems seems to come from my firewall which "cut" the TCP session.

      posted in Backup
      H
      henri9813
    • RE: Backup timeout error

      @henri9813 I found this in my logs don't know if it's related

      Apr 30 21:24:00 gco-002-rbx-002 xapi: [debug||8618534 HTTPS 10.255.0.250->:::80|put_import|import] import handler
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [debug||8618535 /var/lib/xcp/xapi|post_root|dummytaskhelper] task dispatch:session.slave_login D:bd14de344b0e created by task D:3fcf04a3282e
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [ info||8618535 /var/lib/xcp/xapi|session.slave_login D:fefe31620afb|xapi_session] Session.create trackid=7ded2f51c51fbf82e2c5ac7cee9931dc pool=true uname= originator=xapi is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618533 ||xapi_compression] nice failed to decompress: exit code 1
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] Raised End_of_file
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 1/13 xapi Raised at file unix/tar_unix.ml, line 34
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 2/13 xapi Called from file unix/tar_unix.ml, line 26
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 3/13 xapi Called from file lib/tar.ml, line 829
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 4/13 xapi Called from file lib/tar.ml, line 660
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 5/13 xapi Called from file lib/tar.ml, line 666
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 6/13 xapi Called from file lib/tar.ml, line 673
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 7/13 xapi Called from file lib/tar.ml, line 749
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 8/13 xapi Called from file lib/tar.ml, line 867
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 9/13 xapi Called from file ocaml/xapi/import.ml, line 2132
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 10/13 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 11/13 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 12/13 xapi Called from file ocaml/xapi/import.ml, line 2554
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace] 13/13 xapi Called from file lib/backtrace.ml, line 177
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|backtrace]
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|VM.import R:9d05d125c060|import] Prematurely reached end-of-file during import
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [debug||8618536 /var/lib/xcp/xapi|post_root|dummytaskhelper] task dispatch:pool.get_all D:8b21a6838cb8 created by task D:fefe31620afb
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 :::80|VM.import D:7c2fd25192d0|backtrace] VM.import R:9d05d125c060 failed with exception Server_error(IMPORT_ERROR_PREMATURE_EOF, [  ])
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 :::80|VM.import D:7c2fd25192d0|backtrace] Raised Server_error(IMPORT_ERROR_PREMATURE_EOF, [  ])
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 :::80|VM.import D:7c2fd25192d0|backtrace] 1/7 xapi Raised at file lib/backtrace.ml, line 210
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 :::80|VM.import D:7c2fd25192d0|backtrace] 2/7 xapi Called from file ocaml/xapi/import.ml, line 2204
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 :::80|VM.import D:7c2fd25192d0|backtrace] 3/7 xapi Called from file ocaml/xapi/server_helpers.ml, line 72
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 :::80|VM.import D:7c2fd25192d0|backtrace] 4/7 xapi Called from file ocaml/xapi/server_helpers.ml, line 94
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 :::80|VM.import D:7c2fd25192d0|backtrace] 5/7 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 :::80|VM.import D:7c2fd25192d0|backtrace] 6/7 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 :::80|VM.import D:7c2fd25192d0|backtrace] 7/7 xapi Called from file ocaml/libs/log/debug.ml, line 250
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 :::80|VM.import D:7c2fd25192d0|backtrace]
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [debug||8618537 /var/lib/xcp/xapi|post_root|dummytaskhelper] task dispatch:session.logout D:f7e71c366389 created by task D:7c2fd25192d0
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [ info||8618537 /var/lib/xcp/xapi|session.logout D:218a803a945b|xapi_session] Session.destroy trackid=b2e981e2a3cbc9fc91324f34ef240f5d
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|put_import|backtrace] VM.import D:7c2fd25192d0 failed with exception Server_error(IMPORT_ERROR_PREMATURE_EOF, [  ])
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|put_import|backtrace] Raised Server_error(IMPORT_ERROR_PREMATURE_EOF, [  ])
      Apr 30 21:24:00 gco-002-rbx-002 xapi: [error||8618530 HTTPS 10.255.0.250->:::80|put_import|backtrace] 1/14 xapi Raised at file ocaml/libs/log/debug.ml, line 267
      
      posted in Backup
      H
      henri9813
    • Backup timeout error

      Hello,

      I have this error in xen-orchestra.

      Currently, my xen orchestra is in a different network than my hypervisors.

      My backup target is in another DC of course thought NFS ( via Wireguard VPN ).

      Usually, it's doens't cause issue, but now, i have this error

      xen-orchestra  | 2025-04-30T16:01:03.955Z xo:backups:AbstractVmRunner WARN writer step failed {
      xen-orchestra  |   error: Error: read ETIMEDOUT
      xen-orchestra  |       at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20)
      xen-orchestra  |       at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
      xen-orchestra  |     errno: -110,
      xen-orchestra  |     code: 'ETIMEDOUT',
      xen-orchestra  |     syscall: 'read'
      xen-orchestra  |   },
      xen-orchestra  |   step: 'writer.transfer()',
      xen-orchestra  |   writer: 'IncrementalRemoteWriter'
      xen-orchestra  | }
      

      It's problematic because, here, i think the issue is between Xen-orchestra and the final hypervisor, right ?

      ( it could be great to add some details on the error to ease the diagnostics 🙂 )

      thanks !

      posted in Backup
      H
      henri9813
    • RE: Unlink fast-cloned VM from the parent.

      Thanks !

      posted in Management
      H
      henri9813
    • Unlink fast-cloned VM from the parent.

      Hello,

      I created some VMs using fast clone.

      I also saw on forums, GitHub and documentation that It could impact on IO performance for the VM.

      How could I "unlink" the VM from the template vm ?

      Best regards,

      posted in Management
      H
      henri9813
    • RE: What should i expect from VM migration performance from Xen-ng ?

      Hello,

      Thanks for your answer @nikade

      I migrate both storage and vm.

      I have 25Gb/s nic, but I have a 5Gb/s limitation at switch level.

      But I found on another topic an explanation about this, this could be related to SMAPIv1.

      Best regards

      posted in Advanced features
      H
      henri9813
    • RE: What should i expect from VM migration performance from Xen-ng ?

      Hello,

      So, does someone know why I can't go over 145MB/s and how to increase the vdi speed transfert ?

      5faf4c21-b0ae-44f6-82cc-27f24fc0b94e-image.png

      ( I have 5Gb/s between nodes )

      Thanks !

      posted in Advanced features
      H
      henri9813
    • RE: VM migration is blocked during backup whereas no backup in progress

      @Danp Okay, you're a genius, I upgrade this morning after my backup.

      So that could explain my issue.

      the mentioned thread is exactly my issue, but I didn't find it when I was searching about my issue.

      Thanks for all !

      posted in XCP-ng
      H
      henri9813
    • RE: VM migration is blocked during backup whereas no backup in progress

      @Danp i have 17 commits lates

      I'm running https://github.com/vatesfr/xen-orchestra/commit/f9220cd272674ef2f0403c9b784c955783fae334 ) ( 12 July )

      If it's XO related, why in xcpng I also see the blocked operation ?

      0 OlivierFL committed to vatesfr/xen-orchestra
      fix(xo-core/eslint/i18n): add "fa" to the list of excluded locales for missing keys checks (#7833)
      
      Introduced by 28f94b3
      
      Fix ESLint errors for missing `fa` locale translation keys.
      posted in XCP-ng
      H
      henri9813
    • VM migration is blocked during backup whereas no backup in progress

      Hello,

      I try to migrate a VM between two host but I got:

      vm.migrate
      {
        "vm": "bca3bd58-8455-d07f-c2a9-ba45daeb6fb4",
        "sr": "b4313d56-d226-c453-cef7-d7180a3daab1",
        "targetHost": "e7e336d6-07b2-4c23-ac95-2a3f7bfa47ab"
      }
      {
        "code": "OPERATION_BLOCKED",
        "params": [
          "OpaqueRef:f032a458-e996-441b-a352-7e76fdc8dfe7",
          "VM migration is blocked during backup"
        ],
        "task": {
          "uuid": "52474c0f-fcd1-21dd-1a02-5139e0a48289",
          "name_label": "Async.VM.migrate_send",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20240719T12:16:13Z",
          "finished": "20240719T12:16:13Z",
          "status": "failure",
          "resident_on": "OpaqueRef:59f0a1ab-ffe4-4c2b-8465-72f32e9ef71b",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "OPERATION_BLOCKED",
            "OpaqueRef:f032a458-e996-441b-a352-7e76fdc8dfe7",
            "VM migration is blocked during backup"
          ],
          "other_config": {},
          "subtask_of": "OpaqueRef:NULL",
          "subtasks": [],
          "backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_lifecycle.ml)(line 731))((process xapi)(filename ocaml/xapi/xapi_vm_helpers.ml)(line 1501))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))"
        },
      

      Indeed, in can see this from xe cli:

      [14:15 cloud-01-rbx-002 ~]# xe vm-param-get uuid=bca3bd58-8455-d07f-c2a9-ba45daeb6fb4 param-name=blocked-operations
      migrate_send: VM migration is blocked during backup; pool_migrate: VM migration is blocked during backup
      

      But ... I have no running operation

      [14:19 cloud-01-rbx-002 ~]# xe task-list
      [14:19 cloud-01-rbx-002 ~]# 
      

      Do you have any idea ? ( I'm running 8.2.1 ).

      Thanks !

      posted in XCP-ng
      H
      henri9813
    • Show the bandwith of VM/ Host in differents units

      Hello,

      Could it be possible to allow show graphs in others units than MiB?

      Units that could be printed:

      • bit/s
      • Bytes/s

      however, I don't know where this should be configurable on XO 😄

      d9ce2857-1fba-446c-95f2-930f7f147b23-image.png

      That's stupid, but i spend to much time to realize that was 2Gb/s ( I look the graph 5s and I say to myself, okay, I'm stuck at 200Mb/s, whereas .... ^^'

      Best regards,

      posted in Xen Orchestra
      H
      henri9813