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

    Backups not restoring xcp-ng8.1

    Scheduled Pinned Locked Moved Xen Orchestra
    14 Posts 2 Posters 698 Views 1 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

      Can you try your whole workflow in Xen Orchestra?

      I'd like to understand if it's a XCP-ng Center "problem"/check or something inside XAPI that changed.

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

        @olivierlambert said in Backups not restoring xcp-ng8.1:

        Can you try your whole workflow in Xen Orchestra?

        I'd like to understand if it's a XCP-ng Center "problem"/check or something inside XAPI that changed.

        It immediately throws an Operation Failed error.

        I can’t seem to get the logs to load to find out more details

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

          Can you be more specific? When it throws something? At which point, after which operation?

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

            @olivierlambert said in Backups not restoring xcp-ng8.1:

            Can you be more specific? When it throws something? At which point, after which operation?

            Sorry. When I go to the page for the VM then migrate. Then select the destination server and storage. Then click proceed and it shows the error in a text box at the top right.

            As it is I’ve got the migration working after I deleted the original VM

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

              So you restored the VM without any problem on the "other host", but when you want to migrate that restored VM on the original host, it fails to do so, right?

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

                @olivierlambert said in Backups not restoring xcp-ng8.1:

                So you restored the VM without any problem on the "other host", but when you want to migrate that restored VM on the original host, it fails to do so, right?

                Correct. It only works when I’ve deleted the VM that it is a backup of.

                I’m sure you can see why keeping a copy of the source VM would be a good idea.

                Notably the only reason I was restoring the “other” host was because the restore process hung on the main host. Which may or may not be related.

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

                  It might be a new check introduced in XCP-ng 8.1 then.

                  What approach do you suggest?

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

                    @olivierlambert said in Backups not restoring xcp-ng8.1:

                    It might be a new check introduced in XCP-ng 8.1 then.

                    What approach do you suggest?

                    Isn’t that for you to decide? :).

                    Obviously I would prefer that check wasn’t there.

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

                      You reported your problem, you are asking for something, I'm all ears for suggestions 😛

                      We should think about the best approach. Actions:

                      1. Try to find where those changes were made (in XAPI?)
                      2. Analyze reason of these changes and maybe discuss that with XAPI devs
                      3. Choose a solution according to our investigation
                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        markhewitt1978 @olivierlambert
                        last edited by

                        @olivierlambert said in Backups not restoring xcp-ng8.1:

                        You reported your problem, you are asking for something, I'm all ears for suggestions 😛

                        We should think about the best approach. Actions:

                        1. Try to find where those changes were made (in XAPI?)
                        2. Analyze reason of these changes and maybe discuss that with XAPI devs
                        3. Choose a solution according to our investigation

                        Thanks! It would be good to get a workaround too. It doesn’t go from MAC address as I’ve tried changing the address and tried deleting the network interface which doesn’t work.

                        So perhaps it’s looking at the UUID of the VM? Is there a way to change that, or other way such that it now thinks that VM is not a duplicate.

                        Or perhaps that’s something that could be added to the backup restore system such that it restores with different details such that it doesn’t trigger the duplicate error?

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

                          The UUID is really unique. So I suppose the check is on something else. If you can explore logs to get what's blocking it might help us to narrow it 🙂

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

                            @olivierlambert said in Backups not restoring xcp-ng8.1:

                            The UUID is really unique. So I suppose the check is on something else. If you can explore logs to get what's blocking it might help us to narrow it 🙂

                            Checking between restore and original. The VM UUID is different. The VDI UUID is different. Not sure what else there is.

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

                              That's why checking XAPI logs might be interesting to know what's used to find it's a duplicate.

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