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.
-
Hi,
Thanks for the report. Adding @Team-XO-Backend in the loop!
-
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.

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.
-
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.
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