XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XOA 6.1.3 Replication fails with "VTPM_MAX_AMOUNT_REACHED(1)"

    Scheduled Pinned Locked Moved Backup
    4 Posts 2 Posters 52 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Online
      flakpyro
      last edited by flakpyro

      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.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        Thanks for the report. Adding @Team-XO-Backend in the loop!

        F 1 Reply Last reply Reply Quote 0
        • F Online
          flakpyro @olivierlambert
          last edited by

          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.

          F 1 Reply Last reply Reply Quote 0
          • F Online
            flakpyro @flakpyro
            last edited by

            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.
            1 Reply Last reply Reply Quote 0

            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
            • First post
              Last post