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

    OVA Import Hangs at 0%

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    13 Posts 3 Posters 1.2k 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.
    • S Offline
      silvxo
      last edited by

      Trying to import an OVA that was exported from esxi. I've tried both via XO and XOA. Each time I import the VM import just hangs at 0% for hours.

      Extracted the OVA, tried to import just the disk, same issue. I saw a forum post saying this was related to a recent commit, I tried rolling back to the suggested commit and still have issues. Leading me to think it's not the same issue. (https://xcp-ng.org/forum/topic/8627/importing-vm-from-vmware-esxi-fails/6)

      Copied the OVA to the XCP host, ran xe vm-import filename=import.va and received the error:

      The VM could not be imported because the XVA file is invalid: an unexpected file was encountered.
      filename_expected: ova.xml
      filename_found: import.ovf

      Unfortunately the direct import from esxi is not applicable so I need to be able to import a few OVAs manually.

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

        @silvxo What version of ESXi produced the OVA? Are you able to share a copy of any OVA that had this issue?

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          silvxo @Danp
          last edited by

          @Danp esxi 7.0. Unfortunately I cannot. I did import the OVA into Virtualbox and export again just to see if that made a difference, but unfortunately that did not.

          Is there logging somewhere I'm overlooking?

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

            @silvxo Any way to generate a generic one exhibiting the same behavior that you can share?

            For logs -- https://xen-orchestra.com/docs/troubleshooting.html#logs

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              silvxo @Danp
              last edited by

              @Danp Thanks. I'll check that out.

              I'll see if I can generate a VM that I can share. I also noticed during the import task, I see a lot of XO user authentication with a status of interrupted. Not sure if that's related.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                silvxo @silvxo
                last edited by silvxo

                @Danp Nothing in the logs. Watched them and kicked off an upload, nothing was logged against it. I have a few exported VMs, tried another still didn't work. Loaded it into VirtualBox, booted fine, exported, again same thing just hangs at import.

                29356858-86e6-427d-a62b-90cee065af20-image.png

                I may just have to try and build a VM and do the import, see if it fails, and share that with you. That won't really be 1 to 1 with what we're doing here though.

                1 Reply Last reply Reply Quote 0
                • A Offline
                  austinw
                  last edited by

                  How did you export it? I used the Vmware export tool on Esxi 6.5 and none of those exports worked for me. I ended up having to use clonezilla and it was able to make an OVA that worked.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    silvxo @austinw
                    last edited by

                    @austinw I used the esxi ovf tool to export the VMs. Even if the tool was the issue, I wouldn't think VirtualBox exports would have the same result.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      silvxo @silvxo
                      last edited by silvxo

                      As a last ditch effort, I installed XCP 8.2.0 instead of 8.2.1 and it worked! At this point I'll just import all VMs and then upgrade to 8.2.1.

                      Wish I could share an actual resolution, but I'm on a deadline so it's the best I've got!

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        austinw
                        last edited by

                        Oh, I didn't know you tried using virtual box to do an export. I haven't tried that before.

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          silvxo @austinw
                          last edited by

                          Well, I'm back. I imported all the VMs and they have been running fine.Upgraded to 8.2. Went to test the restore of a VM post-backup and it failed to import, stuck at 0. This was a VM backed up by XO, so I'm perplexed.

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            austinw
                            last edited by

                            I read a forum post about some of the xo community editions having issues with that. Something to do with invalid certificates or something. Did it ever fail or did it just stay at 0 forever?

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              silvxo @austinw
                              last edited by

                              @austinw It stayed at zero forever. I'll see if I can find that post.

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