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

    Import from VMWare - Error: Can't import delta of a running VM without its parent vdi

    Scheduled Pinned Locked Moved Solved Advanced features
    vmwarexcp-ngmigrationerror
    34 Posts 6 Posters 5.8k 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.
    • DanpD Offline
      Danp Pro Support Team @DustinB
      last edited by

      @DustinB said in Import from VMWare - Error: Can't import delta of a running VM without its parent vdi:

      Should I just power off the VM's before migrating?

      That's one option. Are there any snapshots involved?

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        DustinB @Danp
        last edited by

        @Danp not on the system I was testing with, no.

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          DustinB @DustinB
          last edited by

          For laughs I am testing with a VM that is powered off and its going, albeit slowly (likely due to a 10FDx port on the ESXi host).

          J 1 Reply Last reply Reply Quote 1
          • J Offline
            jkissane @DustinB
            last edited by jkissane

            @DustinB We're currently looking at xcp as a potential vmware replacement. I get this same error when I try to import a VM running Linux from VC, also it powers off the source VM! Lucky this is a VM that doesn't really matter. No snapshots on the VM itself. It imports ok if I power it off before running the import.

            Edit: I also tried direct from the ESXi host rather than via VC but got the same error.

            Did you find any solution?

            Thanks!

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              DustinB @jkissane
              last edited by

              @jkissane said in Import from VMWare - Error: Can't import delta of a running VM without its parent vdi:

              @DustinB We're currently looking at xcp as a potential vmware replacement. I get this same error when I try to import a VM running Linux from VC, also it powers off the source VM! Lucky this is a VM that doesn't really matter. No snapshots on the VM itself. It imports ok if I power it off before running the import.

              Edit: I also tried direct from the ESXi host rather than via VC but got the same error.

              Did you find any solution?

              Thanks!

              Yes, my issue was a matter of a ESXi licensing issue. In order to import with the VM being powered on, you need the higher tiers of licensing which isn't going to happen, because you're presumable leaving VMWare due to licensing cost.

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

                @jkissane said in Import from VMWare - Error: Can't import delta of a running VM without its parent vdi:

                I also tried direct from the ESXi host rather than via VC but got the same error.

                AFAIK, this doesn't work when connecting to vCenter. You are supposed to connect directly to the ESXi host.

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  DustinB @Danp
                  last edited by

                  @Danp said in Import from VMWare - Error: Can't import delta of a running VM without its parent vdi:

                  @jkissane said in Import from VMWare - Error: Can't import delta of a running VM without its parent vdi:

                  I also tried direct from the ESXi host rather than via VC but got the same error.

                  AFAIK, this doesn't work when connecting to vCenter. You are supposed to connect directly to the ESXi host.

                  This too, you have to migrate from each individual hosts, though I hear rumors that the Vates team is working on migrating from vCenter, I could be wrong though..

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jkissane @DustinB
                    last edited by

                    @DustinB What licenses do we need I wonder? We have VC standard which means we can both vmotion & storage vmotion on the VMware platform.

                    We're licensed with VMware 'til the end of the year so exploring options at the moment.

                    M D 2 Replies Last reply Reply Quote 0
                    • M Offline
                      manilx @jkissane
                      last edited by manilx

                      @jkissane Moved away from the Broadcom mess one year ago with 2yrs worth of Vmware/Vcenter and Veeam license valid. What an excellent decision.

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        DustinB @jkissane
                        last edited by

                        @jkissane said in Import from VMWare - Error: Can't import delta of a running VM without its parent vdi:

                        @DustinB What licenses do we need I wonder? We have VC standard which means we can both vmotion & storage vmotion on the VMware platform.

                        We're licensed with VMware 'til the end of the year so exploring options at the moment.

                        You need to be licensed for their Live Migration feature, not sure if standard includes that or not any more. It's been a while since dealing with VMWare's licensing crap.

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          jkissane @DustinB
                          last edited by

                          @DustinB That would appear to be vMotion from reading on the VMware site. I thought the XCP method worked by taking a snapshot of a running VM & then copying that.

                          D 1 Reply Last reply Reply Quote 0
                          • D Offline
                            DustinB @jkissane
                            last edited by

                            @jkissane said in Import from VMWare - Error: Can't import delta of a running VM without its parent vdi:

                            @DustinB That would appear to be vMotion from reading on the VMware site. I thought the XCP method worked by taking a snapshot of a running VM & then copying that.

                            Only if you're licensed for the live vMotion. Otherwise you need to power off the VM, migrate it to XCP-ng and then it'll work.

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              jkissane @DustinB
                              last edited by jkissane

                              @DustinB We use live vMotion regularly on the ESX side, think the last time was when we were upgrading the servers. It's not vMotion if the VM is powered off, you're just starting it on a different host.

                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                DustinB @jkissane
                                last edited by

                                @jkissane Are you connecting to vCenter or to each host individually?

                                J 1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jkissane @DustinB
                                  last edited by

                                  @DustinB I tried both, same error each time & the source VM gets powered off.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    DustinB @jkissane
                                    last edited by

                                    @jkissane said in Import from VMWare - Error: Can't import delta of a running VM without its parent vdi:

                                    @DustinB I tried both, same error each time & the source VM gets powered off.

                                    There was a version issue recently that may be causing the issue you're experiencing (from ESXi).

                                    What version of VMWare are you using?

                                    https://xcp-ng.org/forum/topic/8590/vmware-v7-warm-migration/12?_=1712681819057

                                    J 1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jkissane @DustinB
                                      last edited by

                                      @DustinB The version of ESXi is 6.5 & the iSCSI datastores are VMFS 5.

                                      J 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jkissane @jkissane
                                        last edited by

                                        I tried another other option of cloning a running Windows VM & then trying to import the powered off clone. This didn't work either but a different error this time. Does importing from ESXi to xcp actually work as I can't see at this moment how it would be possible for us to migrate to xcp? I'm pretty certain it worked at least once with a powered down Linux but I'm starting to doubt myself now 🙂

                                        vm.importMultipleFromEsxi
                                        {
                                          "concurrency": 1,
                                          "host": "vc.XXXXX",
                                          "network": "c448fd53-503a-0241-7104-0a1b287a7e5a",
                                          "password": "* obfuscated *",
                                          "sr": "98a52525-862f-3bb1-3403-3dc334f2509d",
                                          "sslVerify": false,
                                          "stopOnError": true,
                                          "stopSource": false,
                                          "user": "john.kissane@XXXXX",
                                          "vms": [
                                            "vm-19874"
                                          ]
                                        }
                                        {
                                          "cause": {
                                            "size": 0
                                          },
                                          "succeeded": {},
                                          "message": "404 Not Found https://vc.XXXXX/folder/nmrc3-clone/emptyBackingString?dcPath=ITS&dsName=Unity_vm_vol01",
                                          "name": "Error",
                                          "stack": "Error: 404 Not Found https://vc.XXXXXX/folder/nmrc3-clone/emptyBackingString?dcPath=ITS&dsName=Unity_vm_vol01
                                            at Esxi.#download (file:///usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/vmware-explorer/esxi.mjs:95:21)
                                            at Esxi.download (file:///usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/vmware-explorer/esxi.mjs:113:21)
                                            at Esxi.#inspectVmdk (file:///usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/vmware-explorer/esxi.mjs:221:21)
                                            at Esxi.getTransferableVmMetadata (file:///usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/vmware-explorer/esxi.mjs:307:17)
                                            at Task.runInside (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:158:22)
                                            at Task.run (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:141:20)
                                            at MigrateVm.migrationfromEsxi (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/migrate-vm.mjs:178:28)
                                            at file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:1432:30
                                            at Task.runInside (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:158:22)
                                            at Task.run (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:141:20)
                                            at asyncEach.concurrency.concurrency (file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:1430:11)"
                                        }
                                        
                                        DanpD 1 Reply Last reply Reply Quote 0
                                        • olivierlambertO Offline
                                          olivierlambert Vates 🪐 Co-Founder CEO
                                          last edited by

                                          @jkissane said in Import from VMWare - Error: Can't import delta of a running VM without its parent vdi:

                                          emptyBackingString

                                          There's something fishy here 🙂 Ping @florent

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

                                            @jkissane Did the source VM have an existing snapshot when you tried the import?

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