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

    XCP-NG VMWare import starts but stays a 0%

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    11 Posts 2 Posters 652 Views 2 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.
    • K Offline
      kopeck
      last edited by

      So I'm one of the (many) jumping the VMWare ESXi ship and checking out XCP-NG (thank you for your development work, BTW).

      XCP-Ng 8.2.1
      XO (from sources) 85696
      VMWare ESXi 7.0.3

      The Hypervisor works just fine. I was able to roll a new VM (where XO is installed), and it's doing what it's supposed to do.

      When I import a VM from ESXi, things don't go quite well.

      It connects, sees the VMs, and lets me start the import, but it's getting hung up somewhere. On the ESXi side, in the data store log it shows the XO host is "doing stuff" (File download from path '[datastore1]BellHost/BellHost.vmsd' was initiated from 'node-fetch@192.168.10.4' and completed with status 'True') and on the XCP-NG machine actions are happening in the raw log but that's as far as it goes, progress at 0%. I've let it run overnight to make sure I wasn't being impatient.

      I've restarted the XO VM and the XCP-NG server without any changes.

      Thoughts?

      K

      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        It's a known issue caused by a recent commit on the Github repo. You can rollback to an earlier commit to get it working, or you can deploy a trial of XOA Premium.

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kopeck @Danp
          last edited by

          Ah, OK.

          In the previous tries, I used the CLI to remove the VM so its "ghost" didn't kick around. Is that the best procedure?

          K

          1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team
            last edited by

            You can delete it from either the CLI or the GUI. Was the VM stopped when you tried the import? This is currently a requirement with ESXi above 6.5.

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              kopeck @Danp
              last edited by

              @Danp

              Yes, the VM was stopped.

              The weird thing was I could see XO counting the VM (like seeing 1 of 2 on the VM page), but it wasn't something I could see/select and delete; that's why I used the CLI.

              K

              1 Reply Last reply Reply Quote 0
              • K Offline
                kopeck
                last edited by

                So, I spun up a Premium XOA and imported a Windows 10 VM without any issues.

                I then imported a Windows Server 2012R2 (the joys of supporting old software), and it will only show up in the VM list if it's running. When it's off, it disappears. XOA knows there's a VM, as at the top, it says it's showing 3 of 4 VMs.

                I also can access the VM's page if I use its UUID in the URL.

                So why is the UI dropping the VM? It acts the same way in home built XO as well.

                K

                DanpD 1 Reply Last reply Reply Quote 0
                • DanpD Offline
                  Danp Pro Support Team @kopeck
                  last edited by Danp

                  @kopeck Are you clearing the default filter of power_state:running, which shows only running VMs?

                  K 1 Reply Last reply Reply Quote 0
                  • K Offline
                    kopeck @Danp
                    last edited by

                    @Danp said in XCP-NG VMWare import starts but stays a 0%:

                    @kopeck Are you clearing the default filter of power_state:running, which shows only running VMs?

                    We're not going to talk about whether that worked or not. 🙂

                    At any rate, thank you.

                    I can't seem to get XOA to recognize that Xen tools are installed; I'll keep plugging away on that one.

                    K

                    DanpD 1 Reply Last reply Reply Quote 0
                    • DanpD Offline
                      Danp Pro Support Team @kopeck
                      last edited by

                      @kopeck 😝

                      What version of the tools are you trying to install? What OS?

                      K 1 Reply Last reply Reply Quote 0
                      • K Offline
                        kopeck @Danp
                        last edited by

                        @Danp

                        The XenServer VM Tools. I thought about using the XCP-NG ones for a few minutes, but they looked like they were a work in progress.

                        Crappy old Windows Server 2012R2, it's to support an older application.

                        The XenServer VM Tools worked fine on the Windows 10 VM that I imported earlier.

                        K

                        DanpD 1 Reply Last reply Reply Quote 0
                        • DanpD Offline
                          Danp Pro Support Team @kopeck
                          last edited by

                          @kopeck Sometimes it takes a few reboots for everything to settle down. 🙏

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