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

    Xen Orchestra 5.110 V2V not working

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    49 Posts 5 Posters 1.4k 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.
    • I Offline
      idar21
      last edited by

      Don't intend to bump in but the new migration tool isn't working as per the release notes.

      I had similar issues, there is no warm migration. My testing against esxi v7, resulted in:

      .Abrupt power off of source VM on esxi.
      .VM disks start copying. I can see disk copy progress in tasks.
      .Migration tasks fails but multiple disks of the source VM keeps on copying.
      .when all the disks are copied, there is no VM with the name available in xcp.
      .All disks are labeled orphaned under health in xo.

      .Where is the pause/resume function as stated in the release notes.

      I don't think the tool has been tested properly. The only difference from older migration tool to this one is progress of disk copying. Otherwise nothing new. The old tool could only do cold migrations and had issues with vms with multiple disks. The new can also only do cold migrations and still has issues with multiple disks migrations.

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

        Hi,

        1. The fact is doesn't work for you doesn't mean it doesn't work for everyone. Sadly, especially in IT and on-prem, there's a near infinite combo of ESXi version, firmware, network, storage and compute associations. We do tested with at least dozens of different cases (internally and with users), and for the vast majority it works. I understand it's frustrating for you, but you cannot simply tell "it wasn't tested", making the impression we did not work at all on this despite spending weeks doing exactly that.
        2. That's exactly the goal of the community forum: giving feedback so we can improve it. The way you give feedback will encourage (or not) the fact we'll dedicate time with you to solve your issue on your setup.

        There are actual people behind this, investing a lot of their energy into it, diminishing what they did is not helpful for anyone.

        I 1 Reply Last reply Reply Quote 0
        • I Offline
          idar21 @olivierlambert
          last edited by idar21

          @olivierlambert -

          Hi,First off, I want to acknowledge the team's commitment and hard work. It's clear that a lot of effort has gone into testing across many different environments, and I truly appreciate the energy and dedication that everyone puts into this project.

          I certainly didn't mean to dismiss the significant work that's already been done. At the same time, I think it's important for us all to be open to constructive criticism. Sometimes, even with the most thorough testing, unique configurations slip through the cracks, and that's nobody's fault—it's just the nature of complex IT systems.

          My intention was not to diminish the team's work, but to highlight a potential gap that might help improve things further.

          D olivierlambertO 2 Replies Last reply Reply Quote 0
          • D Offline
            DustinB @idar21
            last edited by

            @idar21 said in Xen Orchestra 5.110 V2V not working:

            unique configurations slip through the cracks,

            In all fairness, edge cases are never tested for until you're building solutions for those edge cases.... It is a bit rough to simply throw the entire thing away because you're on an edge case and a tool built for the masses doesn't work on that edge case...

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

              @idar21 said in Xen Orchestra 5.110 V2V not working:

              I certainly didn't mean to dismiss the significant work that's already been done. At the same time, I think it's important for us all to be open to constructive criticism. Sometimes, even with the most thorough testing, unique configurations slip through the cracks, and that's nobody's fault—it's just the nature of complex IT systems.

              That was exactly my own point. And this forum is filled with posts of us solving bugs from people's feedback, all along from the last 10 years at least. So we do appreciate a LOT any constructive feedback: we want to fix what's broken, even for free!

              I was talking about this sentence:

              I don't think the tool has been tested properly.

              Which doesn't sound very constructive in my opinion. That was my point, nothing more. Constructive feedback: yes. Non-constructive feedback: no.

              So let's move over, to be able to assist, we need to know your XOA version (or XO commit), exact ESXi version, the kind of storage you use. That is the base of constructive feedback 🙂

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

                @idar21

                @idar21 said in Xen Orchestra 5.110 V2V not working:

                Don't intend to bump in but the new migration tool isn't working as per the release notes.

                I had similar issues, there is no warm migration. My testing against esxi v7, resulted in:

                .Abrupt power off of source VM on esxi.
                .VM disks start copying. I can see disk copy progress in tasks.
                .Migration tasks fails but multiple disks of the source VM keeps on copying.
                .when all the disks are copied, there is no VM with the name available in xcp.
                .All disks are labeled orphaned under health in xo.

                .Where is the pause/resume function as stated in the release notes.

                I don't think the tool has been tested properly. The only difference from older migration tool to this one is progress of disk copying. Otherwise nothing new. The old tool could only do cold migrations and had issues with vms with multiple disks. The new can also only do cold migrations and still has issues with multiple disks migrations.

                First, I would like to say again that latest can be fresh, and that we know that we ask for our users to be more inventive with latest, in exchange for faster features. Even more for users from source.

                The documentation is still in the work, and will be ready for sure before this reach "xoa stable". The resume part don't have a dedicated interface : you do a first migration without enabling the "stop source", and then, later you launch the same migration with stop source enabled ( or VM stopped ) and it will reuse the already transfered data if the prerequisites are validated.

                Then debugging an issue with migration is quite complex, since it's involve multiple systems, and we won't have any access, nor control on the vmware part. It's even harder without a tunnel.

                I will need you to look at your journalctl and check for errors during migration . Also are the failing disks sharing some specific configuration? what storage do they uses ? Is there something relevant on the xcp side ?

                1 Reply Last reply Reply Quote 0
                • F Online
                  farokh
                  last edited by

                  So just checking in to see if there's been any progress on being able to do a warm migration (e.g. with the VM running)?

                  Thanks.

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

                    It does work now since the latest version (at least for almost everyone except for people reporting issues in here)

                    F 1 Reply Last reply Reply Quote 0
                    • F Online
                      farokh @olivierlambert
                      last edited by

                      @olivierlambert OK, I guess I'm still waiting to hear why the VM that is being migrated is being shut down on the ESXi host...

                      Thanks.

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

                        Question for @florent

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

                          @farokh
                          have you got a snapshot on the source VM ?
                          XO won't take a snapshot for you, the snapshot need to be present before starting the migration

                          Also, we release a more complete documentation of V2V : https://github.com/vatesfr/xen-orchestra/blob/master/docs/docs/v2v-migration-guide.md

                          F 1 Reply Last reply Reply Quote 0
                          • F Online
                            farokh @florent
                            last edited by

                            @florent Yes, I had a snapshot, that isn't the issue. The issue is that the VM is powered off and then the transfer begins.

                            Thanks.

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

                              @farokh can you post a task log ( the json ) , even one of a running import, as long as it is after the power down ?

                              F 1 Reply Last reply Reply Quote 0
                              • F Online
                                farokh @florent
                                last edited by

                                @florent Next time I attempt one, I can do that, but again, my question is why is the VM being powered down?

                                Thanks.

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

                                  @farokh AFAIK it is powered off to transfer the data after the snapshot, since the active disk is locked ( unreadable) as long as the VM is running

                                  To be able to do a better answer I will need to see what's happening, so the task log

                                  F 1 Reply Last reply Reply Quote 0
                                  • F Online
                                    farokh @florent
                                    last edited by

                                    @florent I guess I'm confused. What then does "Warm migration for all ESXi versions" mean exactly?

                                    Powering off a running machine is really a problem since that can lead to all kinds of corruption/data loss issues.

                                    D florentF 2 Replies Last reply Reply Quote 0
                                    • D Offline
                                      DustinB @farokh
                                      last edited by

                                      @farokh said in Xen Orchestra 5.110 V2V not working:

                                      Powering off a running machine is really a problem since that can lead to all kinds of corruption/data loss issues.

                                      Not if you properly shutdown your VM, your applications should get to finalize all of their writes and gracefully close and if going "Start > Shutdown" causes data corruption you have some severe application issues that aren't related to the hypervisor.

                                      F 1 Reply Last reply Reply Quote 0
                                      • F Online
                                        farokh @DustinB
                                        last edited by

                                        @DustinB That's my point. The "Warm Migration" powers off the running machine.

                                        D 1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          DustinB @farokh
                                          last edited by

                                          @farokh said in Xen Orchestra 5.110 V2V not working:

                                          @DustinB That's my point. The "Warm Migration" powers off the running machine.

                                          Are you stating that it forcibly powers the VM off, or does it gracefully execute a shutdown, IE "Start > Shutdown"?

                                          F 1 Reply Last reply Reply Quote 0
                                          • F Online
                                            farokh @DustinB
                                            last edited by

                                            @DustinB It forcibly powers off the VM.

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