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

    Cannot export OVAs

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    64 Posts 7 Posters 21.3k Views 3 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.
    • A Online
      Andrew Top contributor @olivierlambert
      last edited by

      @florent @olivierlambert Yes. It's a little different, but the end result is the same. XOA VM out of memory... Swap thrash... transfer slows to almost zero.

      - node: 18.12.1
      - npm: 8.19.2
      - xen-orchestra-upload-ova: 0.1.4
      - xo-server: 5.111.1
      - xo-server-telemetry: 0.5.0
      - xo-server-xoa: 0.19.0
      - xo-web-free: 5.114.0
      - xoa-cli: 0.35.0
      - xoa-updater: 0.45.1
      

      Also, curl seems to be out of date and does not deploy XOA. Also, the XOA it deploys is old...

      This worked for me: bash -c "$(wget -qO - https://xoa.io/deploy)" and then I updated to the latest XOA.

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

        Not sure to get it, what do you mean by "curl seems to be out of date"?

        Also, yes, XOA is not re-generated often, eg now we are waiting the next Debian 12 release. So it's normal to update it after deploy 🙂

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

          @olivierlambert On current XCP 8.2.1:

          # bash -c "$(curl -sS https://xoa.io/deploy)"
          curl: (35) Cannot communicate securely with peer: no common encryption algorithm(s).
          
          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            That's our official doc: https://xen-orchestra.com/docs/xoa.html#via-a-bash-script

            Maybe it's not updated somewhere else?

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

              @olivierlambert Curl is from my old notes, so my mistake... It's also still in the older blog posts:

              https://xen-orchestra.com/blog/one-line-to-deploy-xoa/

              https://xen-orchestra.com/blog/how-to-start-with-xen-orchestra/

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

                Thanks, fixed in both links 👍

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

                  @Andrew @sluflyer06 I am exporting VM since yesterday without problems
                  63cbaa0f-e4d7-4d25-86d9-5173142a1f3b-image.png

                  Did you make a yarn or npm install after updating code ? we rollbacked a dependency

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

                    @florent I still see the problem.

                    I did a cache clean:

                    yarn cache clean
                    npm cache clean --force
                    

                    and then did a XO source code update and rebuild. OVA export starts downloading at 2MBytes/sec and then fails.

                    I also see the problem on XOA (standard deploy):

                    - node: 18.12.1
                    - npm: 8.19.2
                    - xen-orchestra-upload-ova: 0.1.4
                    - xo-server: 5.111.1
                    - xo-server-telemetry: 0.5.0
                    - xo-server-xoa: 0.19.0
                    - xo-web-free: 5.114.0
                    - xoa-cli: 0.35.0
                    - xoa-updater: 0.45.1
                    

                    Download starts at 10MBytes/second and runs for a while before it fails.

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

                      @Andrew if this is in a XOA, could you open a support tunnel and allow me to try to download the same ova ?

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

                        @florent Open.

                        So, I did not see the failure on a 60G VM, but I do see it on the 120G VM. Both use up memory but it does not hit critical on the smaller VM.

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

                          @Andrew thanks you for the tunnel I found something

                          @sluflyer06 can you tests this branch ?
                          https://github.com/vatesfr/xen-orchestra/pull/6800

                          fbeauchamp opened this pull request in vatesfr/xen-orchestra

                          closed fix(xo-vmdk-to-vhd): wait for OVA stream to be written before reading more data #6800

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

                            @florent That works much better for me! I was able to quickly OVA export VMs that failed before. Memory usage on XO was normal and did not grow. Download speed was good most of the time at 30-35MBytes/sec. It would pause occasionally but toward the end it picked up to 50-60MBytes/sec.

                            1 Reply Last reply Reply Quote 2
                            • S Offline
                              sluflyer06 @Andrew
                              last edited by

                              @Andrew Exporting all my large VM's worked on that branch.

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

                                @sluflyer06 Today, XO source master has been updated with that fix.

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

                                  @Andrew 👏 Awesome.

                                  1 Reply Last reply Reply Quote 0
                                  • olivierlambertO olivierlambert marked this topic as a question on
                                  • olivierlambertO olivierlambert has marked this topic as solved on
                                  • olivierlambertO Offline
                                    olivierlambert Vates 🪐 Co-Founder CEO
                                    last edited by

                                    Thanks for your feedback lads!

                                    1 Reply Last reply Reply Quote 0

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    • First post
                                      Last post