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

    Cannot export OVAs

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

      @olivierlambert Trying it now I keep you updated

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

        I tried an export on Edge (vs chrome), it got to 475MB before it failed, which is further than it gets in chrome...doesn't seem very helpful though.

        tjkreidlT 1 Reply Last reply Reply Quote 0
        • tjkreidlT Offline
          tjkreidl Ambassador @sluflyer06
          last edited by

          @sluflyer06 Any details in any of the logs?

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

            @tjkreidl if you can do me a favor and paste the path to the various logs to look at, i'm happy to, just not sure the right places to make sure i catch

            i just tried firefox as well, exports at about 1.4MB/s for about 440MB and then beings to slowly slow down until it hits 0 and then fails

            tjkreidlT 1 Reply Last reply Reply Quote 0
            • tjkreidlT Offline
              tjkreidl Ambassador @sluflyer06
              last edited by

              @sluflyer06 Storage I/O logs should go to /var/log/SMlog if I recall correctly.

              DarkbeldinD S 3 Replies Last reply Reply Quote 0
              • DarkbeldinD Offline
                Darkbeldin Vates 🪐 Pro Support Team @tjkreidl
                last edited by

                @tjkreidl After around 1 hour I'm still exporting on my side
                a7f5ddc4-95ef-4518-a5a1-f92feb8d1192-image.png

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

                  @tjkreidl not seeing anything, it looks like the same text repeated more or less through the log over the hours i manually scrolled through and tried some searches.

                  I searched for W(w)arn, W)warning, (E)error

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

                    @tjkreidl http vs https? How are you exporting with http? The URL I get is https, i tried manually changing that to http but that didn't work

                    I also tried from a W10 VM and Ubuntu desktop VM, same results.

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

                      @olivierlambert

                      Dec  8 09:43:34 xen-730xd xapi: [error||1163154 HTTP 10.10.10.40->:::80|[XO] Exporting content of VDI KASM Disk R:1716c671a4c2|vhd_tool_wrapper] vhd-tool failed, returning VDI_IO_ERROR
                      Dec  8 09:43:34 xen-730xd xapi: [error||1163154 HTTP 10.10.10.40->:::80|[XO] Exporting content of VDI KASM Disk R:1716c671a4c2|vhd_tool_wrapper] vhd-tool output: vhd-tool: internal error, uncaught exception:\x0A          Unix.Unix_error(Unix.ECONNRESET, "write", "")\x0A          \x0A
                      
                      Dec  8 09:43:35 xen-730xd xapi: [debug||1163154 HTTP 10.10.10.40->:::80|[XO] Exporting content of VDI KASM Disk R:1716c671a4c2|taskhelper] the status of R:1716c671a4c2 is failure; cannot set it to `failure
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] [XO] Exporting content of VDI KASM Disk R:1716c671a4c2 failed with exception Server_error(VDI_IO_ERROR, [ Device I/O errors ])
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] Raised Server_error(VDI_IO_ERROR, [ Device I/O errors ])
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 1/13 xapi Raised at file ocaml/xapi/vhd_tool_wrapper.ml, line 77
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 2/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 3/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 4/13 xapi Called from file ocaml/xapi/export_raw_vdi.ml, line 50
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 5/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 6/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 7/13 xapi Called from file ocaml/xapi/export_raw_vdi.ml, line 90
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 8/13 xapi Called from file ocaml/xapi/export_raw_vdi.ml, line 116
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 9/13 xapi Called from file ocaml/xapi/server_helpers.ml, line 101
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 10/13 xapi Called from file ocaml/xapi/server_helpers.ml, line 122
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 11/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 12/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 13/13 xapi Called from file lib/backtrace.ml, line 177
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace]
                      Dec  8 09:43:35 xen-730xd xapi: [debug||1164861 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.logout D:29e6026e7e06 created by task D:d1b3995b0263
                      Dec  8 09:43:35 xen-730xd xapi: [ info||1164861 /var/lib/xcp/xapi|session.logout D:7523bcca94fa|xapi_session] Session.destroy trackid=c968b6dc084a017a6452cb2381301d9d
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] VDI.export_raw_vdi D:d1b3995b0263 failed with exception Server_error(VDI_IO_ERROR, [ Device I/O errors ])
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] Raised Server_error(VDI_IO_ERROR, [ Device I/O errors ])
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 1/13 xapi Raised at file lib/debug.ml, line 227
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 2/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 3/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 4/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 5/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 6/13 xapi Called from file ocaml/xapi/xapi_http.ml, line 201
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 7/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 8/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace]
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] VDI.export_raw_vdi D:14ad56338491 failed with exception Server_error(VDI_IO_ERROR, [ Device I/O errors ])
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] Raised Server_error(VDI_IO_ERROR, [ Device I/O errors ])
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace] 1/1 xapi Raised at file (Thread 1163154 has no backtrace table. Was with_backtraces called?, line 0
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||backtrace]
                      Dec  8 09:43:35 xen-730xd xapi: [error||1163154 :::80||xapi_http] Unhandled Api_errors.Server_error(VDI_IO_ERROR, [ Device I/O errors ])
                      Dec  8 09:43:35 xen-730xd xapi: [debug||515 ||xenops] Event on VM bb987a49-84c2-40f5-b979-bd1c84d733c6; resident_here = true
                      Dec  8 09:43:35 xen-730xd xapi: [debug||515 ||dummytaskhelper] task timeboxed_rpc D:fb413298ca81 created by task D:8f9e0052bcc3
                      Dec  8 09:43:35 xen-730xd xapi: [debug||1164862 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:event.from D:9e1155c8ead5 created by task D:8f9e0052bcc3
                      Dec  8 09:43:39 xen-730xd xapi: [debug||1164863 HTTP 10.10.10.40->:::80|session.login_with_password D:f8a89f148638|xapi_session] Success: local auth, user root from HTTP request from Internet with User-Agent: unknown
                      Dec  8 09:43:39 xen-730xd xapi: [ info||1164863 HTTP 10.10.10.40->:::80|session.login_with_password D:f8a89f148638|xapi_session] Session.create trackid=ee78e2f6b58e76414d999de124ea2a35 pool=false uname=root originator= is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
                      Dec  8 09:43:39 xen-730xd xapi: [debug||1164864 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:cd6ae8df6525 created by task D:f8a89f148638
                      Dec  8 09:43:39 xen-730xd xapi: [debug||1164868 :::80||api_effect] pool.add_to_other_config
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 HTTP 10.10.10.40->:::80|pool.add_to_other_config D:096f5b4f5c05|sql] Duplicate key in set or map: table pool; field other_config; ref OpaqueRef:95f6dc30-a79e-44c0-8aaa-bbde3a47f2f4; key xo:clientInfo:a1fa4c05-e866-50dd-1254-c1edfe2615ec
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 :::80||backtrace] pool.add_to_other_config D:096f5b4f5c05 failed with exception Db_exn.Duplicate_key("pool", "other_config", "OpaqueRef:95f6dc30-a79e-44c0-8aaa-bbde3a47f2f4", "xo:clientInfo:a1fa4c05-e866-50dd-1254-c1edfe2615ec")
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 :::80||backtrace] Raised Db_exn.Duplicate_key("pool", "other_config", "OpaqueRef:95f6dc30-a79e-44c0-8aaa-bbde3a47f2f4", "xo:clientInfo:a1fa4c05-e866-50dd-1254-c1edfe2615ec")
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 :::80||backtrace] 1/8 xapi Raised at file ocaml/database/db_cache_impl.ml, line 316
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 :::80||backtrace] 2/8 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 :::80||backtrace] 3/8 xapi Called from file ocaml/xapi/rbac.ml, line 233
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 :::80||backtrace] 4/8 xapi Called from file ocaml/xapi/server_helpers.ml, line 101
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 :::80||backtrace] 5/8 xapi Called from file ocaml/xapi/server_helpers.ml, line 122
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 :::80||backtrace] 6/8 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 :::80||backtrace] 7/8 xapi Called from file map.ml, line 135
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 :::80||backtrace] 8/8 xapi Called from file src/sexp_conv.ml, line 156
                      Dec  8 09:43:39 xen-730xd xapi: [error||1164868 :::80||backtrace]
                      
                      S 1 Reply Last reply Reply Quote 0
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        Hmm might be unrelated to XO.

                        Can you export the VM in XVA?

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

                          Apparently the download failed on my side I think recreating the file after download.
                          I will retry tomorrow.

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

                            @sluflyer06 XVA worked

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

                              It's seems I'm able to reproduce the issue with OVA i'm unable to export without an error.

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

                                @Darkbeldin Checking in on if any progress has been made here, i think I tried either on the latest release or the one before and still could not export OVA. Just seeing where things stand with this, there's seems to be a huge amount of focus on being able to bring people INTO xcp-ng with frequent new features and warm migrations and everything but then once we're in we're trapped.

                                Thanks for all the great stuff.

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

                                  "trapped" 😆

                                  I think we fixed a problem on master recently, please try again.

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

                                    @olivierlambert I mean, it's a good kind of trapped right, XCP-NG is nice. It's still nice to know you can test other options easily without rebuilding from scratch though.

                                    Will that be in the next official monthly drop?

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

                                      If you are using XOA, yes, it will be available in latest in 2 weeks.

                                      If you are using the sources, just git pull from master, yarn && yarn build and you are set 🙂

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

                                        @olivierlambert Is this recent enough to capture it?
                                        Xen Orchestra, commit a2451

                                        If so, it still fails to export for me.

                                        -Anthony

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

                                          It's a recent commit, however the simple answer is be always up to date to HEAD (the latest commit) before reporting a problem 🙂

                                          As per https://xen-orchestra.com/docs/community.html#report-a-bug

                                          Otherwise, we lose valuable time to check your commit and understand if something changed before.

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

                                            @olivierlambert I think it was latest when I ran it, but i just retried on f012d12 with same effect. I hope I did that right, it is not my intention to waste anyones time.

                                            Edit: Also wanted to add I tried from sources, and also the XOA appliance.

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