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

    Exports OVA Timeout...

    Scheduled Pinned Locked Moved Xen Orchestra
    37 Posts 7 Posters 7.3k Views 6 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.
    • julien-fJ Offline
      julien-f Vates 🪐 Co-Founder XO Team @Andrew
      last edited by

      @Andrew Should be fixed, please test and keep me posted 🙂

      https://github.com/vatesfr/xen-orchestra/commit/83690a4dd4457daf9ea402e623c9f3fe9ce9ab7f

      0 julien-f committed to vatesfr/xen-orchestra
      fix(xo-server/_importOvaVm): fix VM creation
      
      Fixes https://xcp-ng.org/forum/post/49920
      
      Introduced by 2af5328a0f69912f5c03f5a8894fd75633bd3655
      A 1 Reply Last reply Reply Quote 0
      • A Online
        Andrew Top contributor @julien-f
        last edited by

        @julien-f Still an issue... Two steps forward, one step back (commit 83690).

        Import now starts, no error, but it does not finish.

        The task is started, the VM is created, the data is uploaded, the task exits, but the import page does not finish and the VM name is left as [Importing...] NginX Test. No logs in the UI.

        I can force start the VM, so it looks like the data is ok.

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

          @Andrew I am reproducing the problem : if the VM has mulitple disks, the import only handle the first one and freeze

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

            @Andrew do you have more than 1 disk in your test VM?

            A 1 Reply Last reply Reply Quote 0
            • A Online
              Andrew Top contributor @olivierlambert
              last edited by

              @olivierlambert No. Just one disk.

              1 Reply Last reply Reply Quote 0
              • A Online
                Andrew Top contributor @florent
                last edited by

                @florent The only thing I see in the log is: yielded last VMDK block

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

                  @Andrew even this one disk ,there is some padding that freeze the import process

                  can you try the branch of this PR : https://github.com/vatesfr/xen-orchestra/pull/6284 ?

                  fbeauchamp opened this pull request in vatesfr/xen-orchestra

                  closed fix(ova import): drain disk entry completly #6284

                  A 1 Reply Last reply Reply Quote 0
                  • A Online
                    Andrew Top contributor @florent
                    last edited by

                    @florent That works now! (branch: fix_ova_import). I have not tested it with other OVA files, but it works for the one that failed (that was exported by XO).

                    1 Reply Last reply Reply Quote 0
                    • A Online
                      Andrew Top contributor @Andrew
                      last edited by

                      @florent It might also be worth looking into why the XO OVA export function created a file that had problems importing.

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

                        Was this never resolved? I'm trying to export to ova tonight and same symptoms as above, export starts, stalls until task is finished, then the download starts but fails after 100MB or so.
                        Xen Orchestra, commit 9da65
                        xo-server 5.102.3
                        Xen Orchestra server

                        xo-web 5.103.0
                        Xen Orchestra web client

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

                          I think @shinuza is now working on this. Don't forget to be sure you are using the latest commit.

                          Also, please try with XOA too in latest channel to compare the result.

                          S S 2 Replies Last reply Reply Quote 1
                          • S Offline
                            shinuza @olivierlambert
                            last edited by

                            @olivierlambert said in Exports OVA Timeout...:

                            I think @shinuza is now working on this. Don't forget to be sure you are using the latest commit.

                            Also, please try with XOA too in latest channel to compare the result.

                            I'm trying to find a way to schedule these long running tasks so we are not dependent on the browser staying opened and connected to XOA. Also we are looking at means to improve the export speed.

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

                              @olivierlambert i did update xoa again but no dice, i was wanting to export a couple VM's and do a head to head iscsi I/O test between vmware and xcp on identical hardware but not having much luck trying to get my VM's out of xcp. Guess I'll have to wait for this to work possibly.

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