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

    OVA import failing

    Scheduled Pinned Locked Moved Xen Orchestra
    48 Posts 7 Posters 10.6k 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.
    • R Offline
      rennis
      last edited by

      Looks like it was installed using git from https://github.com/vatesfr/xen-orchestra
      Excuse the possibly stupid sounding question but how do I tell if that's stable or latest?

      1 Reply Last reply Reply Quote 0
      • R Offline
        rennis
        last edited by

        To answer your other question. Yes, the original OVA that failed to import with XO managed to import correctly with XOA. It has now finished its import process and appears to have completed the full import process correctly.

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

          Release channels are only available on XOA (in XOA left menu entry, there's a "card" Release Channel): see https://xen-orchestra.com/docs/updater.html#release-channel

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            tofaz @olivierlambert
            last edited by

            I confirm the same exact issue here using XO 5.60.0 from source with an .ova file of 10GB. If I import the file using XOA 5.59.0 stable it works without issues.

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

              @tofaz and in XOA? I'd like to find where is the issue.

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                tofaz @olivierlambert
                last edited by

                @olivierlambert in XOA 5.59.0 stable the import works without issues

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

                  And in latest, does it work?

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

                    XOA channel latest (5.60.0) reported the same issue as XO 5.60.0. So it looks like its a XOA issue appeared in latest version.

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

                      Do you have an error message @tofaz ?

                      Okay, ping @julien-f and @nraynaud

                      Any idea why OVA fails on latest?

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        tofaz @olivierlambert
                        last edited by

                        @olivierlambert Same as the one mentioned by the OP: Error: buffer grain directory address is too short, expecting 8 minimum, got 0

                        Thank you!

                        1 Reply Last reply Reply Quote 1
                        • nraynaudN Offline
                          nraynaud XCP-ng Team
                          last edited by

                          Hi Tofaz,

                          would you be able to transfer me the failing file please?

                          Thanks,

                          Nicolas.

                          T 1 Reply Last reply Reply Quote 0
                          • T Offline
                            tofaz @nraynaud
                            last edited by tofaz

                            @nraynaud Since my original VM had some confidential data I have created a new VM test in order to reproduce the issue. Well with this VM the problem does not occur even with XO 5.60. The only differences that I can think at the moment are Windows (before Windows Server 2019 and now Windows 10 pro) and the VMtools (before with tools and now without tools).

                            I will run more test and let you know.

                            Thank you!

                            nraynaudN 1 Reply Last reply Reply Quote 0
                            • nraynaudN Offline
                              nraynaud XCP-ng Team @tofaz
                              last edited by

                              @tofaz Thank you, it's really hard to find the bug without a reliable reproduction. Even for simple bugs.

                              T 1 Reply Last reply Reply Quote 0
                              • T Offline
                                tofaz @nraynaud
                                last edited by

                                @nraynaud I sent you the link of the VM via PM. It looks like the web interface is not complaining but then the VM is not able to find a bootable hard disk upon start.

                                1 Reply Last reply Reply Quote 0
                                • nraynaudN Offline
                                  nraynaud XCP-ng Team
                                  last edited by

                                  @tofaz thanks, I'll have a look at it.

                                  1 Reply Last reply Reply Quote 1
                                  • nraynaudN Offline
                                    nraynaud XCP-ng Team
                                    last edited by

                                    @tofaz I don't see the parsing problem with the .ova file you sent me.

                                    I have another test you could try: extract the .vmdk file from the ova, and try importing the disk itself, you should get the same error since it's the same .vmdk parser.

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

                                      I was having this problem too. I used OVFTool 4.3.0 to export a VM to ova. I am not sure if it's just coincidence or not, but the first ova imported fine using sources.

                                      However, I exported two more VMs using a different machine and I received the same error. I used XO from quick deploy on the main screen. Both of the VMs imported fine using the quick deploy. This was on a fresh install last week. (My First Time Using XCP-ng)

                                      The first VM was smaller than the other two. It was exported out on a Windows 10 machine. The other two VMs were on a Windows Server 2012R2 machine.

                                      I am sure other people have done this before as well, but I used Veeam Agent to import most of my larger VMs. I booted off the ISO and restored from my backups and had little problems with getting the machines to work. The only thing I changed was the NIC type to an intel because I wasn't getting gigabit speeds during the restore.

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        martinhorton
                                        last edited by

                                        I am having an identical problem. The error message is the same as stated right at the start. It is made up of English words but makes no sense at all.

                                        I have the appliance with latest stable and I have also built the latest available from sources and both fail identically.

                                        I have previously imported another VM from ESXi 5.5 without problem. This .ova is just about 50 GB.

                                        Maybe, just as a clue, someone could tell me, or us, what the error message is actually complaining about. I live in Texas so I am familiar with grain silos, but I don't recall ever having heard of a grain directory, and I certainly would have given it 8 had I known what it was looking for.

                                        nraynaudN 1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          tofaz @nraynaud
                                          last edited by

                                          @nraynaud I have imported the .vmdk file of the VM that I have sent you and it completed fine.

                                          1 Reply Last reply Reply Quote 0
                                          • nraynaudN Offline
                                            nraynaud XCP-ng Team @martinhorton
                                            last edited by

                                            @martinhorton Haha, sorry, it's the VMDK parser.

                                            OVA files are a tar files containing an XML file (.ovf) that describes the VM and .vmdk files that representing the disks. The VMDK file format uses a specific vocabulary, and each block of data is called a "grain" and there is a table that contains all the addresses of the "grains". The parser couldn't find it.

                                            Can someone please send me a .ova file that triggers this error? I really need to trigger it on my machine to fix it.

                                            thanks,

                                            Nicolas.

                                            M 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post