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

    Unable to export OVA

    Scheduled Pinned Locked Moved Xen Orchestra
    62 Posts 7 Posters 9.8k 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.
    • DarkbeldinD Offline
      Darkbeldin Vates 🪐 Pro Support Team @olivierlambert
      last edited by

      @olivierlambert 624eb3d1-c46a-489a-b9e7-5a67474cd747-image.png

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

        @Darkbeldin said in Unable to export OVA:

        And download still failing with chrome or FF

        Did you happen to check the logs to see if this was caused by the same out of memory issue.

        FWIW, tested again using latest sources and export still fails for me.

        DarkbeldinD 1 Reply Last reply Reply Quote 0
        • DarkbeldinD Offline
          Darkbeldin Vates 🪐 Pro Support Team @Danp
          last edited by

          @Danp Ok so my VM from sources as a bit more ressources than my XOA
          abdabc7d-3e69-499b-ab08-676979168d3b-image.png
          Let me try to increase ressources on my XOA to see what happen.

          DarkbeldinD 1 Reply Last reply Reply Quote 0
          • DarkbeldinD Offline
            Darkbeldin Vates 🪐 Pro Support Team @Darkbeldin
            last edited by olivierlambert

            @Darkbeldin Ok so I can confirm increasing the ressources on my XOA VM (4x vCPUS and 8GiB RAM) allowed me to export my VM to OVA

            DarkbeldinD 1 Reply Last reply Reply Quote 0
            • DarkbeldinD Offline
              Darkbeldin Vates 🪐 Pro Support Team @Darkbeldin
              last edited by

              @Darkbeldin Trying on my biggest VM to see if it works.

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

                @Darkbeldin I increased my resources to match yours, but the export still fails. Watching in htop, the memory usage balloons at the point that the export task reaches 100%.

                DarkbeldinD 1 Reply Last reply Reply Quote 0
                • DarkbeldinD Offline
                  Darkbeldin Vates 🪐 Pro Support Team @Danp
                  last edited by

                  @Danp My export is still running xo-server ram usage slowly increasing but still have around 1.75Go free

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

                    @Darkbeldin For me, memory usage remained fairly low / stable until the export task completed in XO. The memory usage then ballooned to 100%.

                    DarkbeldinD 1 Reply Last reply Reply Quote 0
                    • DarkbeldinD Offline
                      Darkbeldin Vates 🪐 Pro Support Team @Danp
                      last edited by

                      @Danp So export of a bigger VM failed through XOA with memory being at max
                      b654919d-2923-4e96-89d1-5c3930ecaec1-image.png
                      Testing it with XO from sources now

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

                        @Danp can you try on latest commit on master?

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

                          @olivierlambert Appears to be working correctly on the latest commit. 👍

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

                            Yay! @florent : your fix seems to be working 🙂

                            DanpD 2 Replies Last reply Reply Quote 0
                            • DanpD Offline
                              Danp Pro Support Team @olivierlambert
                              last edited by

                              @olivierlambert While exporting a stopped VM, it's not possible to start the VM until the export finishes. So it might be good to add some form of warning message.

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

                                That's a behavior you have for XVA exports too, since it XenServer exists (you can export a disk while it's live, because… that would export garbage)

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

                                  @olivierlambert Ran into an issue when I tried importing the newly exported OVA. Here's the error shown in the browser console --

                                  importVms 20230125T190404Z - Server.ova Error: Unsupported file, high order bits are too high in field grain directory address
                                      a vmdk-read-table.js:24
                                      i vmdk-read-table.js:49
                                      default vmdk-read-table.js:30
                                      parseOVAFile ova-read.js:237
                                      u index.js:24
                                      i index.js:2
                                      s index.js:2
                                      s index.js:2
                                      s index.js:2
                                      u index.js:27
                                      default index.js:23
                                      D index.js:191
                                      C index.js:24
                                      i index.js:24
                                      x index.js:24
                                      x index.js:24
                                      j index.js:188
                                      r index.js:260
                                      mapPlus utils.js:175
                                      Lodash 2
                                      mapPlus utils.js:175
                                      r index.js:252
                                      C index.js:24
                                      i index.js:24
                                      x index.js:24
                                      x index.js:24
                                      B index.js:268
                                      value index.js:206
                                  index.js:1757:16
                                  
                                  olivierlambertO florentF 2 Replies Last reply Reply Quote 0
                                  • DanpD Offline
                                    Danp Pro Support Team @olivierlambert
                                    last edited by

                                    @olivierlambert One way around that would be to optionally take a snapshot even if the VM is stopped.

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

                                      @Danp That's for @florent

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

                                        @Danp hi

                                        what is the mdisk size of the VM ? we're limited to 2TB per disk

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

                                          @florent Nothing large. Either 10 or 20GB. I'm thinking it's due to the same issue as here.

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