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.