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

    XO CE migrate fails for VM - "Internal Error"

    Scheduled Pinned Locked Moved Xen Orchestra
    13 Posts 4 Posters 1.8k 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.
    • V Offline
      vmpr
      last edited by

      thy for the reply Olivier - just checked, no cd inserted or DVD drive connected to VM - its the same VM every time for all different migrate methods

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

        Do you have snapshots for this VM?

        1 Reply Last reply Reply Quote 0
        • V Offline
          vmpr
          last edited by

          yes it has three normal snapshots

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

            I have the feeling there's a connection between those snapshots and the error.

            Could you deploy an XOA, open a support tunnel so we can take a look?

            1 Reply Last reply Reply Quote 0
            • V Offline
              vmpr
              last edited by

              I could do that sure, is there a way to use the xoa ce for that support tunnel?
              I dug deeper into the problem and tested a little bit:

              • removed all the snapshots from the above-mentioned VM and wow - no you can migrate it via XOA from local storage to local storage
              • I removed all snapshots from my other VMS, besides the one from the nightly xoa backup job
                • didn't work -> every VM logged the same error 😞
              • I removed all snapshots from all VMs
                • 👍 now it works to migrate all the VMs via XOA 👎 but that is not really a solution, because xoa backup runs every night and i don't want to remove all snapshots from the VMs every time I move them to the other host

              It also doesn't explain why the move works with snapshots via XCP-ng Center and CLI 😞

              any thoughts from your side?
              thanks, guys! Ringo

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                gn_ro @vmpr
                last edited by

                @vmpr I think the error is because you run out of space when moving. Try to use a larger SR or move one VM at a time, or serialize the operation if you don't have the space for.

                P.S.: Every move creates snapshots for every disk. When moving from CLI or XCP-ng Center you move one VM at a time and needs less space. I think XOA starts to move all VM's at once (@olivierlambert correct me if I'm wrong), so the space required is more and soon exhausted. You can check this by starting a move from XOA and checking SR utilization (actual use, total and allocated space).

                1 Reply Last reply Reply Quote 0
                • V Offline
                  vmpr
                  last edited by

                  thanks @gn_ro - but Nah that's not the problem, its a 6TB storage and 1TB ist used ... 5TB space should be enough. I am also moving three vms at the same time via xcp-ng centre and cli, as XOA does ... that's the limit of how many VMS you can move simultaneous from local storage to local storage.

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

                    Yep, if it was an XCP-ng issue, it would also fails with xe command.

                    V 1 Reply Last reply Reply Quote 0
                    • V Offline
                      vmpr @olivierlambert
                      last edited by

                      @olivierlambert any idea what could be the problem?

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tony
                        last edited by

                        I had this issue before, I couldn't migrate VM that was running from NFS storage to another host and store it in NFS storage as well, I had to migrate it to the new host's local storage first then move VDI to NFS storage later.

                        However I tried again with XCP-ng center and migrating VM stored on NFS to another host's NFS storage works fine.

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

                          @vmpr Please create an issue on Xen Orchestra GitHub repo, this way XO dev will see it 🙂

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