XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    VHD export and (delta) backup stuck at 99%

    Xen Orchestra
    3
    16
    175
    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.
    • OhSoNoob
      OhSoNoob @Danp last edited by

      @Danp Has never worked for these VM's, I will look into the logs. Is daemon.log expected to have information about this?

      1 Reply Last reply Reply Quote 0
      • olivierlambert
        olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼 last edited by

        What's your NodeJS version?

        OhSoNoob 1 Reply Last reply Reply Quote 0
        • OhSoNoob
          OhSoNoob @olivierlambert last edited by Danp

          @olivierlambert

          root@xo:~# node -v
          v18.13.0
          
          1 Reply Last reply Reply Quote 0
          • OhSoNoob
            OhSoNoob last edited by

            Trying in latest commit, no change in result.
            This is what the task view looks like couple seconds before it thinks it is ready:
            813de63e-3195-49e2-803b-1148d7d81bf7-image.png

            .vhd backup file in SMB target (test target)
            327910ef-691e-45ea-9f79-ae38b6110bcd-image.png

            Then, couple minutes later, it just seems to give up:
            47a71df0-fe8c-4fae-a9af-4b2e5e5cde95-image.png

            the exported .vhd is also gone:
            5187c659-26f3-432a-a76e-fa12811972ee-image.png

            result of job:
            ec05e144-4656-470e-88f2-6e0fbfda3f4b-image.png

            log.txt

            log attached

            1 Reply Last reply Reply Quote 0
            • olivierlambert
              olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼 last edited by

              I would try to migrate or to full clone the disks of the "broken" VMs. And see if exports after that (after XCP-ng will recreate entirely the new VHD from scratch)

              OhSoNoob 1 Reply Last reply Reply Quote 0
              • OhSoNoob
                OhSoNoob @olivierlambert last edited by OhSoNoob

                @olivierlambert I tried a full clone, which also remains stuck at 99%, I can try a clone in XCP-NG Center maybe? I currently have nothing else to migrate to from this machine.

                Danp 1 Reply Last reply Reply Quote 0
                • Danp
                  Danp Top contributor 💪 @OhSoNoob last edited by

                  @OhSoNoob Does it also hang on an XVA export?

                  OhSoNoob 1 Reply Last reply Reply Quote 0
                  • olivierlambert
                    olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼 last edited by

                    So the issue might be on the VM disk directly, and having the built-in XCP-ng VHD tools having issues to export it 🤔

                    1 Reply Last reply Reply Quote 0
                    • OhSoNoob
                      OhSoNoob last edited by

                      Full clone/copy via XCP-NG center indeed stuck at 100% (not 99%):
                      25c42813-6307-4039-8cd3-174254fe72c4-image.png

                      But in XCP-NG center there comes a warning up, result out of range, can this be a clue?
                      5f5e9b9b-12b4-44d6-91e9-884abe2be0aa-image.png

                      @Danp let me try an XVA export next

                      1 Reply Last reply Reply Quote 0
                      • OhSoNoob
                        OhSoNoob @Danp last edited by

                        @Danp Exporting to XVA (no compression) does work!

                        After importing the exported machine, the export of the VHD works on that machine!
                        d1728687-e558-4aef-b569-4b1d77ebcfa1-image.png

                        I am now doing the same for the 4 other machines to get a 5/5 score.

                        By the looks of it, this seems to be the solution!

                        BTW, uploading de XVA in XO didn't work for some reason, it prompts about prepairing and then just stops. Importing via XCP-NG center does work fine however.

                        Danp 1 Reply Last reply Reply Quote 0
                        • olivierlambert
                          olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼 last edited by olivierlambert

                          I think it's because the XVA format is different (a bit weird but not the point here). So it helps to recreate something different that can be then re-imported, and solve the problematic original VHD.

                          It's a funny workaround, but glad it worked 😆

                          1 Reply Last reply Reply Quote 0
                          • Danp
                            Danp Top contributor 💪 @OhSoNoob last edited by

                            @OhSoNoob said in VHD export and (delta) backup stuck at 99%:

                            uploading de XVA in XO didn't work for some reason, it prompts about prepairing and then just stops.

                            Hmmm.... never encountered that situation.

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