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

    Unable to import VMDK file

    Scheduled Pinned Locked Moved Xen Orchestra
    15 Posts 4 Posters 2.3k Views 2 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.
    • DanpD Offline
      Danp Pro Support Team
      last edited by

      I failure occurs around the 5 min mark on each attempt. I tried using HTTPS w/ XOA, but the result was the same. I was able to catch these errors that are briefly shown in the browser, but they aren't visible under Settings > Logs.

      eb62dc0d-c296-4eeb-b547-ff23d78446aa-image.png

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

        Hey 🙂

        What about XOA in stable, same issue?

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

          @olivierlambert Yes, the issue is the same in stable channel.

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

            Apparently I missed this earlier when I checked Settings > Logs --

            HTTP handler of vm.import
            undefined
            {
              "message": "Request aborted",
              "name": "Error",
              "stack": "Error: Request aborted
                at IncomingMessage.onReqAborted (/opt/xen-orchestra/node_modules/multiparty/index.js:197:17)
                at IncomingMessage.emit (node:events:513:28)
                at IncomingMessage.patchedEmit [as emit] (/opt/xen-orchestra/@xen-orchestra/log/configure.js:135:17)
                at IncomingMessage._destroy (node:_http_incoming:224:10)
                at _destroy (node:internal/streams/destroy:109:10)
                at IncomingMessage.destroy (node:internal/streams/destroy:71:5)
                at abortIncoming (node:_http_server:747:9)
                at socketOnClose (node:_http_server:741:3)
                at Socket.emit (node:events:525:35)
                at Socket.patchedEmit [as emit] (/opt/xen-orchestra/@xen-orchestra/log/configure.js:135:17)
                at TCP.<anonymous> (node:net:313:12)
                at TCP.callbackTrampoline (node:internal/async_hooks:130:17)"
            }
            
            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              I wonder what broke "recently" on this 🤔

              @Danp if you have the patience, could you test "older" XO version on Github? So see if at some point it worked?

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

                @olivierlambert I found this prior issue on GH. I reattempted the import from 7387ac, but it still fails.

                Starting to wonder if the issue is environmental. 🤔

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

                  Maybe it's specific to this file you have. @Darkbeldin when you can, can you download the file and try on your side?

                  We need to check on other VMDKs to see if it's a global issue, limited to this VMDK, or finally due to something else in the environment.

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

                    on it

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

                      This seems more like an HTTP timeout because it always occurs around the 5 minute mark.

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

                        @Danp I can confirm tried on latest and stable can't import this VMDK import cutting down in the middle, will have to llok at the xoa logs to see if I can spot any error.

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

                          We should try other VMDKs I think.

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

                            @olivierlambert I know it's not a part of this ticket but I'm not able to export ova (vmdk) files and get them to import into anything else. I've tried vmware workstation pro, vmware fusion, and vituralbox.

                            I get an OVA or if I download the vmdk from the disk menu but even if I added it to an existing vm they either can't read it or it's corrupt and can't be repaired.

                            These VMs boot and work fine on XCP-ng (I haven't tried to reimport an exported one).

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

                              This issue is no longer present when testing with latest sources.

                              1 Reply Last reply Reply Quote 1
                              • DanpD Danp referenced this topic on
                              • First post
                                Last post