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

    Failed vm restore

    Scheduled Pinned Locked Moved Backup
    16 Posts 4 Posters 313 Views 4 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

      Hi,

      I don't see anything wrong in the way you described the restore. Outside that, as you use the version from the sources, there's no stability guarantee.

      But at least, you must (especially after having an issue) update to the latest possible commit on master. Otherwise, it's impossible to assist even in here. There's 16k+ commits in Xen Orchestra, and each one can yield a different problem or fix 😄

      Check the logs for more info, but first, as repeated many times and written in big yellow warning in the doc, please update to latest commit on master.

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        frank-s @olivierlambert
        last edited by

        @olivierlambert Thanks Olivier. I will update XO and retry the restore. I'll let you know the outcome.

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

          Thanks, keep us posted!

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            frank-s @olivierlambert
            last edited by

            @olivierlambert I have updated XO Xen Orchestra, commit fe92e Master, commit d8370. I tried to restore a small vm with only one vdi. I can confirm that this error still happens but only if I use "For each VDI, select an SR". Otherwise it restores OK but, of course, any additional vdis would be restored to the same SR. I still wonder if I'm doing something wrong. Here is a screenshot of my restore dialog:

            5192d170-9030-4a33-b744-6b2089e828ec-image.png

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

              Can you please uncheck "Use differential restore" to see if it changes the outcome?

              That would be interesting to get the logs of the failed restore too, maybe it's a trivial UI bug on restore when it's done on 2 different SRs 🤔

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                frank-s @olivierlambert
                last edited by

                @olivierlambert I have not done this with the vm I needed to restore this morning. It's very large and I don't want a massive daya copy during working hours. I tried what you asked with a small vm and I did not turn on differential restore. I got the same error. Nothing appears to be logged for the time the error happened.

                53c445fb-87b2-4a95-8580-92a147c6cd3c-image.png

                F 1 Reply Last reply Reply Quote 0
                • F Offline
                  frank-s @frank-s
                  last edited by

                  Please note that if I don't use "For each VDI, select an SR" the backup restores normally. This is true whether or not differential restore is turned on.

                  22d945c8-c03d-42cc-bebf-49ff5d9781a9-image.png

                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    frank-s @frank-s
                    last edited by

                    FYI: I have tried this on a completely different installation with a different client - same error, but without "For each VDI, select an SR" restore is OK
                    Thanks.

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

                      Thanks, so it's an XO bug. Pinging @lsouai-vates

                      F 1 Reply Last reply Reply Quote 0
                      • F Offline
                        frank-s @olivierlambert
                        last edited by

                        @olivierlambert Thanks. I'll watch for the outcome. Appreciate all that you guys do.

                        lsouai-vatesL 1 Reply Last reply Reply Quote 0
                        • lsouai-vatesL Offline
                          lsouai-vates Vates 🪐 XO Team @frank-s
                          last edited by

                          @frank-s hello, thanks for the report! I am asking the XO team... Maybe @florent could help you when he is available.

                          F 1 Reply Last reply Reply Quote 0
                          • F Offline
                            frank-s @lsouai-vates
                            last edited by

                            @lsouai-vates Thank you. I was able to work around the issue using the snapshot so don't need any help right now. Please keep me posted on the bug fix.
                            Thanks.

                            florentF 1 Reply Last reply Reply Quote 0
                            • florentF Offline
                              florent Vates 🪐 XO Team @frank-s
                              last edited by

                              @frank-s it looks like you need to select a base SR , even if you choose to assign different SR for each vdi ( or do not restore some vdi)

                              this looks like a UI bug

                              F 1 Reply Last reply Reply Quote 0
                              • F Offline
                                frank-s @florent
                                last edited by

                                @florent Now this is just from memory, and I didn't take notes, but I think when I did that it restored everything to the same SR. I'll test it tomorrow and let you know the outcome.

                                florentF 1 Reply Last reply Reply Quote 0
                                • florentF Offline
                                  florent Vates 🪐 XO Team @frank-s
                                  last edited by

                                  @frank-s yes please
                                  the more detailed the bug report is, the easier it is to fix

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