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

    Backup Issue: "timeout reached while waiting for OpaqueRef"

    Scheduled Pinned Locked Moved Backup
    11 Posts 3 Posters 523 Views 3 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      Maybe because the VM takes too long to get up? Can you raise the timeout?

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        McHenry @olivierlambert
        last edited by McHenry

        @olivierlambert

        The VM boot process is definitely completed within 10 mins however I will extend the timeout to 15 to be safe.

        Should this be edited in config.toml or via the GUI in XO?

        If I edit config.toml, how do I load the update settings?

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

          Edit the config file and restart xo-server

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

            During that boot, can you witness the guest tools visible in XO? (to see if it's XO being "blind" or the tools not reported correctly)

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              McHenry @olivierlambert
              last edited by McHenry

              @olivierlambert

              The Health Check VM shows the tools as being recognised by XO, is this what you mean?

              b4f6033b-5da8-4d2b-be0c-b57a63a8568d-image.png

              854654e9-c230-4276-b77d-aacca40986e6-image.png

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

                So the tools are visible but XO can't find them. Thanks for the feedback, we'll dig.

                S 1 Reply Last reply Reply Quote 1
                • S Offline
                  stevewest15 @olivierlambert
                  last edited by

                  @olivierlambert @McHenry

                  What was the fix for this as one of our Windows 10 VMs backups have started to fail and rebooting the VM only takes less than 1 minute so not sure increasing the timeout is the issue. Here is the backup log entries:

                     {
                        "data": {
                          "type": "VM",
                          "id": "07767a82-3cc0-b2b7-e399-90793896a574",
                          "name_label": "Windows10C"
                        },
                        "id": "1760322641022",
                        "message": "backup VM",
                        "start": 1760322641022,
                        "status": "failure",
                        "tasks": [
                          {
                            "id": "1760322641048",
                            "message": "clean-vm",
                            "start": 1760322641048,
                            "status": "success",
                            "tasks": [
                              {
                                "id": "1760322641516",
                                "message": "merge",
                                "start": 1760322641516,
                                "status": "success",
                                "end": 1760323012896
                              }
                            ],
                            "warnings": [
                              {
                                "data": {
                                  "path": "/xo-vm-backups/07767a82-3cc0-b2b7-e399-90793896a574/20251012T023042Z.json",
                                  "actual": 5475663872,
                                  "expected": 5477068288
                                },
                                "message": "cleanVm: incorrect backup size in metadata"
                              }
                            ],
                            "end": 1760323013334,
                            "result": {
                              "merge": true
                            }
                          },
                          {
                            "id": "1760323014314",
                            "message": "snapshot",
                            "start": 1760323014314,
                            "status": "success",
                            "end": 1760323016106,
                            "result": "0b79d24f-a579-b669-50e1-412516276886"
                          },
                          {
                            "data": {
                              "id": "2a4bc998-972d-4132-83ba-f3c67b860676",
                              "isFull": false,
                              "type": "remote"
                            },
                            "id": "1760323016106:0",
                            "message": "export",
                            "start": 1760323016106,
                            "status": "failure",
                            "tasks": [
                              {
                                "id": "1760323018513",
                                "message": "transfer",
                                "start": 1760323018513,
                                "status": "success",
                                "end": 1760323462425,
                                "result": {
                                  "size": 7688159232
                                }
                              },
                              {
                                "id": "1760323472984",
                                "message": "health check",
                                "start": 1760323472984,
                                "status": "failure",
                                "tasks": [
                                  {
                                    "id": "1760323480406",
                                    "message": "transfer",
                                    "start": 1760323480406,
                                    "status": "success",
                                    "end": 1760324685177,
                                    "result": {
                                      "size": 0,
                                      "id": "490d3623-4b1f-e4a4-4947-8062aa0e757c"
                                    }
                                  },
                                  {
                                    "id": "1760324685178",
                                    "message": "vmstart",
                                    "start": 1760324685178,
                                    "status": "failure",
                                    "end": 1760325285289,
                                    "result": {
                                      "message": "timeout reached while waiting for OpaqueRef:5c4eef85-eebb-4480-826b-7bbe596f4349 to report the driver version through the Xen tools. Please check or update the Xen tools.",
                                      "name": "Error",
                                      "stack": "Error: timeout reached while waiting for OpaqueRef:5c4eef85-eebb-4480-826b-7bbe596f4349 to report the driver version through the Xen tools. Please check or update the Xen tools.\n    at file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:275:23\n    at new Promise (<anonymous>)\n    at Xapi.waitObjectState (file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:259:12)\n    at file:///opt/xen-orchestra/@xen-orchestra/backups/HealthCheckVmBackup.mjs:63:20\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"
                                    }
                                  }
                                ],
                                "end": 1760325289511,
                                "result": {
                                  "message": "timeout reached while waiting for OpaqueRef:5c4eef85-eebb-4480-826b-7bbe596f4349 to report the driver version through the Xen tools. Please check or update the Xen tools.",
                                  "name": "Error",
                                  "stack": "Error: timeout reached while waiting for OpaqueRef:5c4eef85-eebb-4480-826b-7bbe596f4349 to report the driver version through the Xen tools. Please check or update the Xen tools.\n    at file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:275:23\n    at new Promise (<anonymous>)\n    at Xapi.waitObjectState (file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:259:12)\n    at file:///opt/xen-orchestra/@xen-orchestra/backups/HealthCheckVmBackup.mjs:63:20\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"
                                }
                              }
                            ],
                            "end": 1760325289511,
                            "result": {
                              "message": "timeout reached while waiting for OpaqueRef:5c4eef85-eebb-4480-826b-7bbe596f4349 to report the driver version through the Xen tools. Please check or update the Xen tools.",
                              "name": "Error",
                              "stack": "Error: timeout reached while waiting for OpaqueRef:5c4eef85-eebb-4480-826b-7bbe596f4349 to report the driver version through the Xen tools. Please check or update the Xen tools.\n    at file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:275:23\n    at new Promise (<anonymous>)\n    at Xapi.waitObjectState (file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:259:12)\n    at file:///opt/xen-orchestra/@xen-orchestra/backups/HealthCheckVmBackup.mjs:63:20\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"
                            }
                          },
                          {
                            "data": {
                              "id": "349e7130-da43-6550-e7c0-aa0a84102e0f",
                              "isFull": false,
                              "name_label": "Local storage",
                              "type": "SR"
                            },
                            "id": "1760323016107",
                            "message": "export",
                            "start": 1760323016107,
                            "status": "failure",
                            "tasks": [
                              {
                                "id": "1760323017919",
                                "message": "transfer",
                                "start": 1760323017919,
                                "status": "success",
                                "end": 1760323463982,
                                "result": {
                                  "size": 7688159232
                                }
                              },
                              {
                                "id": "1760323472984:0",
                                "message": "health check",
                                "start": 1760323472984,
                                "status": "failure",
                                "tasks": [
                                  {
                                    "id": "1760323473002",
                                    "message": "copying-vm",
                                    "start": 1760323473002,
                                    "status": "success",
                                    "end": 1760325038087,
                                    "result": "OpaqueRef:0233c593-da90-4813-959b-46e4e679a662"
                                  },
                                  {
                                    "id": "1760325038108",
                                    "message": "vmstart",
                                    "start": 1760325038108,
                                    "status": "failure",
                                    "end": 1760325638322,
                                    "result": {
                                      "message": "timeout reached while waiting for OpaqueRef:ca1c86dd-aafc-4f25-bd8c-89399771c004 to report the driver version through the Xen tools. Please check or update the Xen tools.",
                                      "name": "Error",
                                      "stack": "Error: timeout reached while waiting for OpaqueRef:ca1c86dd-aafc-4f25-bd8c-89399771c004 to report the driver version through the Xen tools. Please check or update the Xen tools.\n    at file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:275:23\n    at new Promise (<anonymous>)\n    at Xapi.waitObjectState (file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:259:12)\n    at file:///opt/xen-orchestra/@xen-orchestra/backups/HealthCheckVmBackup.mjs:63:20\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"
                                    }
                                  }
                                ],
                                "end": 1760325643426,
                                "result": {
                                  "message": "timeout reached while waiting for OpaqueRef:ca1c86dd-aafc-4f25-bd8c-89399771c004 to report the driver version through the Xen tools. Please check or update the Xen tools.",
                                  "name": "Error",
                                  "stack": "Error: timeout reached while waiting for OpaqueRef:ca1c86dd-aafc-4f25-bd8c-89399771c004 to report the driver version through the Xen tools. Please check or update the Xen tools.\n    at file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:275:23\n    at new Promise (<anonymous>)\n    at Xapi.waitObjectState (file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:259:12)\n    at file:///opt/xen-orchestra/@xen-orchestra/backups/HealthCheckVmBackup.mjs:63:20\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"
                                }
                              }
                            ],
                            "end": 1760325643426,
                            "result": {
                              "message": "timeout reached while waiting for OpaqueRef:ca1c86dd-aafc-4f25-bd8c-89399771c004 to report the driver version through the Xen tools. Please check or update the Xen tools.",
                              "name": "Error",
                              "stack": "Error: timeout reached while waiting for OpaqueRef:ca1c86dd-aafc-4f25-bd8c-89399771c004 to report the driver version through the Xen tools. Please check or update the Xen tools.\n    at file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:275:23\n    at new Promise (<anonymous>)\n    at Xapi.waitObjectState (file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:259:12)\n    at file:///opt/xen-orchestra/@xen-orchestra/backups/HealthCheckVmBackup.mjs:63:20\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"
                            }
                          }
                        ],
                        "end": 1760325644170,
                        "result": {
                          "errors": [
                            {
                              "message": "timeout reached while waiting for OpaqueRef:5c4eef85-eebb-4480-826b-7bbe596f4349 to report the driver version through the Xen tools. Please check or update the Xen tools.",
                              "name": "Error",
                              "stack": "Error: timeout reached while waiting for OpaqueRef:5c4eef85-eebb-4480-826b-7bbe596f4349 to report the driver version through the Xen tools. Please check or update the Xen tools.\n    at file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:275:23\n    at new Promise (<anonymous>)\n    at Xapi.waitObjectState (file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:259:12)\n    at file:///opt/xen-orchestra/@xen-orchestra/backups/HealthCheckVmBackup.mjs:63:20\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"
                            },
                            {
                              "message": "timeout reached while waiting for OpaqueRef:ca1c86dd-aafc-4f25-bd8c-89399771c004 to report the driver version through the Xen tools. Please check or update the Xen tools.",
                              "name": "Error",
                              "stack": "Error: timeout reached while waiting for OpaqueRef:ca1c86dd-aafc-4f25-bd8c-89399771c004 to report the driver version through the Xen tools. Please check or update the Xen tools.\n    at file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:275:23\n    at new Promise (<anonymous>)\n    at Xapi.waitObjectState (file:///opt/xen-orchestra/@xen-orchestra/xapi/index.mjs:259:12)\n    at file:///opt/xen-orchestra/@xen-orchestra/backups/HealthCheckVmBackup.mjs:63:20\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"
                            }
                          ],
                          "message": "all targets have failed, step: writer.healthCheck()",
                          "name": "Error",
                          "stack": "Error: all targets have failed, step: writer.healthCheck()\n    at IncrementalXapiVmBackupRunner._callWriters (file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_vmRunners/_Abstract.mjs:64:13)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async IncrementalXapiVmBackupRunner._healthCheck (file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_vmRunners/_Abstract.mjs:94:5)\n    at async IncrementalXapiVmBackupRunner.run (file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_vmRunners/_AbstractXapi.mjs:407:5)\n    at async file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/VmsXapi.mjs:166:38"
                        }
                      },
                  
                  M 1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    It's been a year, so I don't remember. Adding @florent in case it rings a bell

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      McHenry @olivierlambert
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        McHenry @stevewest15
                        last edited by

                        @stevewest15

                        I believe this issue was resolved when the health check system was changed to detect network connectivity at startup so it did not need to wait for then entire VM to boot. Needs the Xen tools to be installed. I have not had an issue since this change.

                        1 Reply Last reply Reply Quote 2
                        • First post
                          Last post