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.
    • A Offline
      atig @Danp
      last edited by

      @Danp Hopefully I get some way forward, because so far it's not been fun.

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

        Yesterday, we found a bug due to a breaking change in NodeJS (in Node 18) which is fixed now in our master branch. If you still have the issue in latest, please open a ticket with a support tunnel so we can backport the fix to your XOA.

        There's some chances it's related to your current issue.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          atig @olivierlambert
          last edited by

          @olivierlambert Thank you for the update. Just a quick question, switching to latest (master branch) will we be pulling lot of unstable features that is being worked upon?

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

            So in XOA, there's no equivalent to latest commit of master. In short:

            • XOA got 2 release channel: stable and latest. Latest is "just" our monthly release available after our internal QA. Stable is the release from a month ago. Both are tested.
            • On the sources, there's no QA possible since we only test in a controlled environment (which is the point of XOA). And latest commit from master is only available on the sources.

            However if you open a ticket with a support tunnel, we can patch your XOA in live for you, so you can test it and validate the fix 🙂

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              atig @olivierlambert
              last edited by

              @olivierlambert Okay thanks. Let me try the latest channel, and will bother support if I am still stuck.

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

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  Please do so, I think you will still have the issue for any export longer than 5 minutes, and if it's the case, create the ticket so we can try the fix on your XOA 🙂

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    atig @olivierlambert
                    last edited by

                    @olivierlambert Spot on. That is the case. Basically, I was able to go past my previous number of 180mb - where there is total disconnection and I got "Failed - Network Error".

                    Now, I was able to reach to about 235 MB in download but then, XOA became completely unresponsive although there was no "Failed - Network Error"
                    The export slowed down to a snail's pace and I am on a network is 10Gb network with XOA being a single hop away.

                    I waited for 15-20 minutes and finally the XOA was completely unresponsive but the upload still seemed to be going but eventually I had to cancel it as I couldn't access anything at all.

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

                      FWIW, I just tried an OVA export using the latest sources and it failed because the OS killed the process due to low memory (XO VM has 4GB of memory).

                      This is what appeared in the log --

                      Jan 12 08:41:54 ubuntuxo systemd[1]: xo-server.service: A process of this unit has been killed by the OOM killer.
                      Jan 12 08:41:54 ubuntuxo systemd[1]: xo-server.service: Main process exited, code=killed, status=9/KILL
                      Jan 12 08:41:54 ubuntuxo systemd[1]: xo-server.service: Failed with result 'oom-kill'.
                      Jan 12 08:41:54 ubuntuxo systemd[1]: xo-server.service: Consumed 8min 37.581s CPU time.
                      Jan 12 08:41:55 ubuntuxo systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 1.
                      Jan 12 08:41:55 ubuntuxo systemd[1]: Stopped XO Server.
                      Jan 12 08:41:55 ubuntuxo systemd[1]: xo-server.service: Consumed 8min 37.581s CPU time.
                      Jan 12 08:41:55 ubuntuxo systemd[1]: Started XO Server.
                      Jan 12 08:42:00 ubuntuxo xo-server[124628]: 2023-01-12T14:42:00.761Z xo:main INFO Configuration loaded.
                      

                      There plenty of free memory prior to the export starting --

                      # free -h
                                     total        used        free      shared  buff/cache   available
                      Mem:           3.8Gi       580Mi       3.0Gi       2.0Mi       252Mi       3.0Gi
                      
                      A 1 Reply Last reply Reply Quote 0
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        🤔

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          atig @Danp
                          last edited by

                          @Danp Which log is this?

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

                            @atig It's the output from the following command, which reads from the systemd logs in real time --
                            journalctl -u xo-server -f -n 50

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              atig @olivierlambert
                              last edited by

                              @olivierlambert seems like there is some issue - how should I proceed?

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

                                We need more data to be sure it's a bug. We also did some fixes about a 5 minute timeout in NodeJS last week, so please -as asked in the doc- to rebuild everything from latest commit on master 🙂

                                A 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  atig @olivierlambert
                                  last edited by atig

                                  @olivierlambert Can I please confirm, do you mean upgrade the XOA from the latest channel?

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

                                    If you are on XOA, then open a ticket with a support tunnel so we can put you the fix so you can test again 🙂

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

                                      I think I have exactly the same issue here.
                                      I saw, that xoa was using extremely much RAM memory and then finally crashed, after the disk was exported. wget showed me the message "Error decoding the received TLS packet" during the download. So I increased RAM of the XOA VM up to 22 GB, but still the same issue.

                                      When I read, that there was some NodeJS under the hood, I had the idea, that it could be related to the name of the VM, which I was trying to export. My VM had the name "[XOA Export] Somename" because it had been previously exported from another pool and imported here.

                                      After changing the name into just "Somename" I could successfully export in OVA format.

                                      Maybe this helps you to find and fix the bug?

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

                                        Hi,

                                        As usual, the same question: are you using XOA or XO from the sources, and which version exactly?

                                        And thanks for the feedback 🙂

                                        C 1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          cgrd_de @olivierlambert
                                          last edited by

                                          @olivierlambert
                                          I am using xoa
                                          xo-server 5.107.3 Xen Orchestra server
                                          xo-web 5.108.0 Xen Orchestra web client

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

                                            Anyone else with the issue could confirm by having a name without non-alphanum char is working?

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