XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. flakpyro
    3. Posts
    F
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 11
    • Posts 259
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Xen Orchestra 6.3.2 Random Replication Failure

      @florent I am using NBD for all backups yes but am not purging snapshots/usnig CBT.

      Its so rare in fact that i haven't had it happen since since i made this post last week. (When i had it happen twice in 2 days). This is our production XOA it has occurred on so i wont be able to test a branch and i have never seen it happen on my sources install at home.

      posted in Backup
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      Installed on a handful of test machines. Not as many as usual as im being very cautious with this one for now. Everything rebooted and VMs started ok after. Using VHD for everything currently.

      posted in News
      F
      flakpyro
    • RE: Xen Orchestra 6.3.2 Random Replication Failure

      @pierrebrunet Thanks for the update. Glad to know its not something unique to our environment and you were able to track down the cause!

      posted in Backup
      F
      flakpyro
    • Xen Orchestra 6.3.2 Random Replication Failure

      Since the XOA 6.3 release i have had a few random backup errors in an environment that has otherwise had fairly flawless backup performance for the last year. I cannot make out what exactly the error means but retrying the job allows it to succeed without issue. It is also very intermittent.

      dc700086-299a-4903-9201-485ec6941f66-image.jpeg

      Log attached. 2026-04-07T01_00_03.075Z - backup NG.txt

      If the issue persists i will submit a ticket to dive into it further but i have only had it happen 3 times since the release ofthe 6.3.x update so its hard to reproduce.

      Replication target storage is a Pure C50R4 with NFS3 exports.

      posted in Backup
      F
      flakpyro
    • RE: XOA 6.1.3 Replication fails with "VTPM_MAX_AMOUNT_REACHED(1)"

      @florent I can confirm that this fixes the issue!

      posted in Backup
      F
      flakpyro
    • RE: XOA 6.1.3 Replication fails with "VTPM_MAX_AMOUNT_REACHED(1)"

      I created a brand new Windows 11 VM with a VTPM and Secure boot enabled and am able to reproduce this on a freshly created VM.

      • Initial replication will work.
      • Any follow up replications will fail with Error: VTPM_MAX_AMOUNT_REACHED(1)
      • Retrying the job after the failure will succeed.
      posted in Backup
      F
      flakpyro
    • RE: XOA 6.1.3 Replication fails with "VTPM_MAX_AMOUNT_REACHED(1)"

      I tried removing the replica chain and let it start from scratch. The initial full replica was a success but unfortunately running a follow up incremental replication job results in the same error.

      01bda6a7-da33-4c50-8281-478e776f6e32-image.jpeg

      The entire transfer succeeds, it only seems to fail at the very end.

      I have other VMs (Server 2022) with VTPMs that do not have this issue. The VM that is failing is Windows 11, and is the only Windows 11 VM we have running.

      posted in Backup
      F
      flakpyro
    • RE: XOA - Memory Usage

      Looks like the issue still persists in 6.3.1?

      Here is since installing the latest update yesterday:

      bdb0577a-5cea-480f-9a76-d3d3f2213a54-image.jpeg

      posted in Xen Orchestra
      F
      flakpyro
    • XOA 6.1.3 Replication fails with "VTPM_MAX_AMOUNT_REACHED(1)"

      Since updating to XOA 6.1.3 i have a VM that has secure boot enabled and will fail to replicate with the error:

      "VTPM_MAX_AMOUNT_REACHED(1)"
      

      Retrying the backup allows it to complete.

      "data": {
                  "id": "69d826f4-383c-f163-b59a-8f3ea5132fd1",
                  "isFull": false,
                  "name_label": "C50-DR-Win-NFS3-SR1",
                  "type": "SR"
                },
                "id": "1775101037617",
                "message": "export",
                "start": 1775101037617,
                "status": "failure",
                "tasks": [
                  {
                    "id": "1775101039730",
                    "message": "transfer",
                    "start": 1775101039730,
                    "status": "failure",
                    "end": 1775101063330,
                    "result": {
                      "code": "VTPM_MAX_AMOUNT_REACHED",
                      "params": [
                        "1"
                      ],
                      "call": {
                        "duration": 3,
                        "method": "VTPM.create",
                        "params": [
                          "* session id *",
                          "OpaqueRef:5263e3da-0772-f8c5-5344-32e81c08c37a",
                          false
                        ]
                      },
                      "message": "VTPM_MAX_AMOUNT_REACHED(1)",
                      "name": "XapiError",
                      "stack": "XapiError: VTPM_MAX_AMOUNT_REACHED(1)\n    at XapiError.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12)\n    at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/transports/json-rpc.mjs:38:21\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"
                    }
                  }
                ],
                "end": 1775101063749
              }
      

      It appears to be trying to create a new TPM on the replica when one already exists?

      Not sure why it fails during the job run but completes during a retry but it is consistent in its behaviour.

      posted in Backup
      F
      flakpyro
    • RE: Backing up from Replica triggers full backup

      Happy to report from my limited testing that as of this morning this appears to be fixed in master.

      posted in Backup
      F
      flakpyro
    • RE: Backing up from Replica triggers full backup

      @florent Since both jobs were test jobs that i have been running manually, i do have an unnamed and disabled schedule on both that does look identical, so i unintentionally did have multiple jobs on the same schedule. I have since named the schedule within my test job so to each is unique.

      Updating to "f445b" shows improvement:

      I was able to replicate from pool A to Pool B, then run a backup job which was incremental.

      I then ran the replication job again which was incremental and did not create a new VM!

      Unfortunately though after this i ran the backup job again which resulted in a full backup from the replica rather than a delta, not sure why. The snapshot from the first backup job run was also not removed, leaving 2 snapshots behind, one from each backup run.

      e38c23b0-4259-4d16-9ed3-fa44d8490541-image.jpeg

      I then tried the process again. Ran the CR job, which was a delta (this part seemed fixed!) then ran the backup job after, same behavior, a full ran instead of a delta and the previous backup snapshot was left behind leaving the VM looking like:

      7edf1dba-e729-4b52-abcc-ffde76d8a0bb-image.jpeg

      So it seems one problem solved but another remains.

      posted in Backup
      F
      flakpyro
    • RE: Backing up from Replica triggers full backup

      Retrying the job after the above failure results in a full replication and a new VM being created just as before.

      posted in Backup
      F
      flakpyro
    • RE: Backing up from Replica triggers full backup

      @florent Just gave this branch a shot, trying to run replication job after running a backup job no longer results in a full replication but just fails with:

      511a987a-15ac-47b0-85a9-f70be2387f96-image.jpeg

      posted in Backup
      F
      flakpyro
    • RE: Double CR backup

      My understanding is this should only be happening during backups, not a CR run though.

      posted in Management
      F
      flakpyro
    • RE: Application on VM causing BSOD

      @tsukraw Glad this helped!

      posted in Compute
      F
      flakpyro
    • RE: Application on VM causing BSOD

      @tsukraw Another thing i remember from my time troubleshooting blue iris was capturing a crash dump using Xentrace:

      xentrace -D -e 0x0008f000 xentrace.dmp

      From there i was able to determine the MSR related issue. Not at all saying thats the issue you are having but it may shed some light or be useful for those more knowledgeable with Xen than myself.

      posted in Compute
      F
      flakpyro
    • RE: Application on VM causing BSOD

      After the VM crashes check for output from "xl dmesg" on the hypervisor via ssh. It may provide some information on why the VM crashed.

      I ran into an issue with Blue Iris crashing on recent Intel CPUs and the fix was to relax MSR enforcement on the VM by running:

      xe vm-param-add uuid=VM_UUID param-name=platform msr-relaxed=true

      However this was after determining this was the issue via xl dmesg.

      posted in Compute
      F
      flakpyro
    • RE: Backing up from Replica triggers full backup

      Here is the log2026-03-25T14_26_49.978Z - backup NG.txt

      posted in Backup
      F
      flakpyro
    • Backing up from Replica triggers full backup

      Testing the Symmetrical backup feature in the upcoming version of XOA using the latest commit from today. (8e580) and running into a potential issue where after backing up a replicated VM a full CR run will be triggered and a new replicated VM will be created instead of simply a snapshot on an existing replica.

      Here is an example of the issue:

      Create a new CR job with a VM replicating from Pool A to Pool B and set the retention to whatever you choose. I am using a retention of 3 in this example. Run the job and the initial sync will take place.

      06f62b90-0578-41e2-9525-3741adaa62ed-image.jpeg

      After running the job 3 times i will have 3 snapshots on the replica side as expected.

      043cdabf-1e5c-44d8-b0ff-86fd9395154f-image.jpeg

      Now create a delta backup job that backs up this replica . To simulate backing up from production pool to DR pool and backing up those replicas to long term, immutable or cheaper storage. Then run the job, as expected the initial backup run will be a full.

      6e4cda00-a674-4b44-9b83-38a931a6a3f0-image.jpeg

      Here is how the VM looks at this point:
      0dcf6828-1193-42bf-9859-12f1f9a8634a-image.jpeg

      Everything should now be in place. What used to happen on earlier commits this month is the next time the CR job ran only a delta would be transferred again, allowing very efficient offsite replication and Backup.

      However if i run the CR job again, instead a full replica takes place and a new VM/UUID is generated.

      eff165ec-967a-4aa1-8bd9-3510b9c9754c-image.jpeg

      0f2c20a9-5e2d-44ae-abce-9e48a60442eb-image.jpeg

      I have attached the log of in hopes it may also shed some light on why this happens.

      With a commit from March 12th this behaviour did not occur, a delta replica would be transferred as expected and show as a snapshot on the existing VM/UUID.

      posted in Backup
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      @gduperrey Installed on my usual round test hosts. No issues to report so far! With such a small change i wasn't expecting anything to go wrong!

      posted in News
      F
      flakpyro