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

    Master, commit a3139 failing backups

    Scheduled Pinned Locked Moved Backup
    12 Posts 5 Posters 104 Views 6 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.
    • M Offline
      manilx
      last edited by

      Updated XO to Master, commit a3139 and now the backups are failing.
      Log sample:

        "tasks": [
          {
            "data": {
              "type": "VM",
              "id": "11393959-0b52-7c05-7b02-3fe6d645256d",
              "name_label": "XO"
            },
            "id": "1771281894926",
            "message": "backup VM",
            "start": 1771281894926,
            "status": "failure",
            "tasks": [
              {
                "id": "1771281894938:0",
                "message": "clean-vm",
                "start": 1771281894938,
                "status": "success",
                "end": 1771281895646,
                "result": {
                  "merge": false
                }
              },
              {
                "id": "1771281897732:0",
                "message": "snapshot",
                "start": 1771281897732,
                "status": "success",
                "end": 1771281912046,
                "result": "6ab9cc35-95c2-0139-d996-7beafced8d6b"
              },
              {
                "data": {
                  "id": "5f5c2608-bd80-4682-addc-dab062e9962c",
                  "isFull": false,
                  "type": "remote"
                },
                "id": "1771281912060",
                "message": "export",
                "start": 1771281912060,
                "status": "failure",
                "tasks": [
                  {
                    "id": "1771281916065",
                    "message": "transfer",
                    "start": 1771281916065,
                    "status": "success",
                    "end": 1771282018684,
                    "result": {
                      "size": 6650068992
                    }
                  },
                  {
                    "id": "1771282024895",
                    "message": "clean-vm",
                    "start": 1771282024895,
                    "status": "failure",
                    "tasks": [
                      {
                        "id": "1771282027367",
                        "message": "merge",
                        "start": 1771282027367,
                        "status": "failure",
                        "end": 1771282031803,
                        "result": {
                          "code": "NOT_SUPPORTED",
                          "message": "Can't init vhd directory without using alias",
                          "name": "Error",
                          "stack": "Error: Can't init vhd directory without using alias\n    at RemoteVhdDisk.init (file:///opt/xo/xo-builds/xen-orchestra-202602162239/@xen-orchestra/backups/disks/RemoteVhdDisk.mjs:78:31)\n    at async _mergeVhdChain (file:///opt/xo/xo-builds/xen-orchestra-202602162239/@xen-orchestra/backups/_cleanVm.mjs:75:5)"
                        }
                      }
                    ],
                    "end": 1771282031803,
                    "result": {
                      "code": "NOT_SUPPORTED",
                      "message": "Can't init vhd directory without using alias",
                      "name": "Error",
                      "stack": "Error: Can't init vhd directory without using alias\n    at RemoteVhdDisk.init (file:///opt/xo/xo-builds/xen-orchestra-202602162239/@xen-orchestra/backups/disks/RemoteVhdDisk.mjs:78:31)\n    at async _mergeVhdChain (file:///opt/xo/xo-builds/xen-orchestra-202602162239/@xen-orchestra/backups/_cleanVm.mjs:75:5)"
                    }
                  }
                ],
                "end": 1771282031850
              }
            ],
            "infos": [
              {
                "message": "Transfer data using NBD"
              }
            ],
            "end": 1771282031856
          },
          {
            "data": {
              "type": "VM",
              "id": "fb7c36ab-2f26-b049-6fcd-2dfcabd37361",
              "name_label": "Windows 11"
            },
            "id": "1771281894928",
            "message": "backup VM",
            "start": 1771281894928,
            "status": "failure",
            "tasks": [
              {
                "id": "1771281894938",
                "message": "clean-vm",
                "start": 1771281894938,
                "status": "success",
                "end": 1771281895970,
                "result": {
                  "merge": false
                }
              },
              {
                "id": "1771281897733",
                "message": "snapshot",
                "start": 1771281897733,
                "status": "success",
                "end": 1771281898773,
                "result": "3ce54f0c-8fa4-d71f-7693-8cf0c5c5a004"
              },
              {
                "data": {
                  "id": "5f5c2608-bd80-4682-addc-dab062e9962c",
                  "isFull": true,
                  "type": "remote"
                },
                "id": "1771281898774",
                "message": "export",
                "start": 1771281898774,
                "status": "failure",
                "tasks": [
                  {
                    "id": "1771281900165",
                    "message": "transfer",
                    "start": 1771281900165,
                    "status": "success",
                    "end": 1771282339491,
                    "result": {
                      "size": 68675436544
                    }
                  },
                  {
                    "id": "1771282341068",
                    "message": "clean-vm",
                    "start": 1771282341068,
                    "status": "failure",
                    "tasks": [
                      {
                        "id": "1771282341203",
                        "message": "merge",
                        "start": 1771282341203,
                        "status": "failure",
                        "end": 1771282345026,
                        "result": {
                          "code": "NOT_SUPPORTED",
                          "message": "Can't init vhd directory without using alias",
                          "name": "Error",
                          "stack": "Error: Can't init vhd directory without using alias\n    at RemoteVhdDisk.init (file:///opt/xo/xo-builds/xen-orchestra-202602162239/@xen-orchestra/backups/disks/RemoteVhdDisk.mjs:78:31)\n    at async _mergeVhdChain (file:///opt/xo/xo-builds/xen-orchestra-202602162239/@xen-orchestra/backups/_cleanVm.mjs:75:5)"
                        }
                      }
                    ],
                    "end": 1771282345026,
                    "result": {
                      "code": "NOT_SUPPORTED",
                      "message": "Can't init vhd directory without using alias",
                      "name": "Error",
                      "stack": "Error: Can't init vhd directory without using alias\n    at RemoteVhdDisk.init (file:///opt/xo/xo-builds/xen-orchestra-202602162239/@xen-orchestra/backups/disks/RemoteVhdDisk.mjs:78:31)\n    at async _mergeVhdChain (file:///opt/xo/xo-builds/xen-orchestra-202602162239/@xen-orchestra/backups/_cleanVm.mjs:75:5)"
                    }
                  }
                ],
                "end": 1771282345027
              }
            ],
            "infos": [
              {
                "message": "Transfer data using NBD"
              }
            ],
      

      reverting back to commit a3139 and all is well again

      A simonpS 2 Replies Last reply Reply Quote 0
      • A Online
        acebmxer @manilx
        last edited by acebmxer

        @manilx

        Same here....

        2026-02-17T00_11_04.494Z - backup NG.txt

        "id": "1771287130904",
                      "message": "health check",
                      "start": 1771287130904,
                      "status": "failure",
                      "end": 1771287134715,
                      "result": {
                        "code": "NOT_SUPPORTED",
                        "message": "Can't init vhd directory without using alias",
                        "name": "Error",
                        "stack": "Error: Can't init vhd directory without using alias\n    at RemoteVhdDisk.init (file:///opt/xo/xo-builds/xen-orchestra-202602161332/@xen-orchestra/backups/disks/RemoteVhdDisk.mjs:78:31)\n    at async _openDiskChain (file:///opt/xo/xo-builds/xen-orchestra-202602161332/@xen-orchestra/backups/disks/openDiskChain.mjs:27:3)\n    at async RemoteAdapter._createVhdDisk (file:///opt/xo/xo-builds/xen-orchestra-202602161332/@xen-orchestra/backups/RemoteAdapter.mjs:745:14)\n    at async Array.<anonymous> (file:///opt/xo/xo-builds/xen-orchestra-202602161332/@xen-orchestra/backups/RemoteAdapter.mjs:762:20)"
                      }
                    }
                  ],
                  "end": 1771287134715,
                  "result": {
                    "code": "NOT_SUPPORTED",
                    "message": "Can't init vhd directory without using alias",
                    "name": "Error",
                    "stack": "Error: Can't init vhd directory without using alias\n    at RemoteVhdDisk.init (file:///opt/xo/xo-builds/xen-orchestra-202602161332/@xen-orchestra/backups/disks/RemoteVhdDisk.mjs:78:31)\n    at async _openDiskChain (file:///opt/xo/xo-builds/xen-orchestra-202602161332/@xen-orchestra/backups/disks/openDiskChain.mjs:27:3)\n    at async RemoteAdapter._createVhdDisk (file:///opt/xo/xo-builds/xen-orchestra-202602161332/@xen-orchestra/backups/RemoteAdapter.mjs:745:14)\n    at async Array.<anonymous> (file:///opt/xo/xo-builds/xen-orchestra-202602161332/@xen-orchestra/backups/RemoteAdapter.mjs:762:20)"
                  }
                },
                {
        
        1 Reply Last reply Reply Quote 0
        • simonpS Online
          simonp Vates 🪐
          last edited by

          @manilx said in Master, commit a3139 failing backups:

          Can't init vhd directory without using alia

          Hi, we are working on this issue and will get back to you ASAP.

          1 Reply Last reply Reply Quote 0
          • simonpS Online
            simonp Vates 🪐 @manilx
            last edited by simonp

            @manilx What storage type/backup repository are you using ?

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              manilx @simonp
              last edited by

              @simonp NFS and S3

              1 Reply Last reply Reply Quote 0
              • marcoiM Online
                marcoi
                last edited by

                I just got hit with the backup error, not sure what version i was running but it was likely a3139 or higher. I have XO rebuild each morning to fetch latest updates.
                Error I can find (interface jumped to v6 so still learning)

                Can't init vhd directory without using alias

                "Error: Can't init vhd directory without using alias\n    at RemoteVhdDisk.init (file:///opt/xo/xo-builds/xen-orchestra-202602170700/@xen-orchestra/backups/disks/RemoteVhdDisk.mjs:78:31)\n    at async _mergeVhdChain (file:///opt/xo/xo-builds/xen-orchestra-202602170700/@xen-orchestra/backups/_cleanVm.mjs:75:5)"
                
                "Error: Can't init vhd directory without using alias\n    at RemoteVhdDisk.init (file:///opt/xo/xo-builds/xen-orchestra-202602170700/@xen-orchestra/backups/disks/RemoteVhdDisk.mjs:78:31)\n    at async _mergeVhdChain (file:///opt/xo/xo-builds/xen-orchestra-202602170700/@xen-orchestra/backups/_cleanVm.mjs:75:5)"
                

                Backup to NFS share

                1 Reply Last reply Reply Quote 0
                • simonpS Online
                  simonp Vates 🪐
                  last edited by

                  @manilx @acebmxer @marcoi

                  Hi, thanks for the reports, we were able to fix an issue with the health check but we weren't able to reproduce the backup issue.

                  Could you checkout the "debug_backups" branch, try to run the backups again and send the logs here ?

                  There should be no need to restart or rebuild.

                  Thanks !

                  marcoiM A 2 Replies Last reply Reply Quote 0
                  • marcoiM Online
                    marcoi @simonp
                    last edited by

                    @simonp I downloaded the branch but i have no idea how to run a backup in v6 interface and v5 isnt working with the latest updates to XO. How do i run a backup job manually in v6?

                    florentF 1 Reply Last reply Reply Quote 0
                    • florentF Online
                      florent Vates 🪐 XO Team @marcoi
                      last edited by

                      @marcoi can you go to <xo ip>/v5/ ?

                      marcoiM 1 Reply Last reply Reply Quote 0
                      • marcoiM Online
                        marcoi @florent
                        last edited by

                        @florent I posted this in the v6 master thread, but it opens to the old interface but sits with a still loading message.
                        f9a5d0cb-15f7-42c8-8f0b-e2e55627b090-image.png

                        1 Reply Last reply Reply Quote 0
                        • A Online
                          acebmxer @simonp
                          last edited by acebmxer

                          @simonp

                          Updating now and will report back

                          XO-CE loaded just fine for me.

                          Just to confirm correct commit is - 29b7a backup failed log attached.

                          2026-02-17T14_25_39.007Z - backup NG.txt

                          simonpS 1 Reply Last reply Reply Quote 0
                          • simonpS Online
                            simonp Vates 🪐 @acebmxer
                            last edited by simonp

                            @acebmxer

                            Thanks a lot for the logs, we've been able to identify a possible cause for this issue, could you pull the "debug_backups" branch and try running the backups again ?

                            Hash is cb85e44ae

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