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

    VMware migration tool: we need your feedback!

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    318 Posts 37 Posters 175.9k Views 30 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.
    • F Offline
      Flying9167 @olivierlambert
      last edited by Flying9167

      @olivierlambert

      I'm running ESXi 6.7 update 3, trying to transfer a Windows 2019 Server, running or halted I get the same error, I have tried several other vms with the same result. Tried different storage and network options too, all same result.

      Import
      Property description must be an object: undefined
      

      Running XOA on latest with trial enabled fully up to date, two hosts in pool fully up to date.

      vm.importMultipleFromEsxi
      {
        "concurrency": 2,
        "host": "192.168.150.39",
        "network": "d41468b9-53d8-63af-b474-d3062625ce10",
        "password": "* obfuscated *",
        "sr": "1477ad1f-0d29-ec1f-fa8e-7b8d3bb04ae4",
        "sslVerify": false,
        "stopOnError": true,
        "stopSource": false,
        "thin": false,
        "user": "root",
        "vms": [
          "21",
          "20"
        ]
      }
      {
        "succeeded": {},
        "message": "Property description must be an object: undefined",
        "name": "TypeError",
        "stack": "TypeError: Property description must be an object: undefined
          at Function.defineProperty (<anonymous>)
          at Task.onProgress (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/combineEvents.js:51:16)
          at Task.#emit (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:130:21)
          at Task.#emit (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:124:17)
          at Function.set (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:47:17)
          at file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:1388:20
          at Task.runInside (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:149:22)
          at Task.run (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:134:20)
          at asyncEach.concurrency.concurrency (file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:1372:11)"
      }
      
      

      Even selecting just 1 vm at a time produces the same error

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates πŸͺ Co-Founder CEO
        last edited by

        Are you sure the halted VM doesn't have any snapshot?

        1 Reply Last reply Reply Quote 0
        • M Offline
          michmoor0725
          last edited by michmoor0725

          New user to XCP-NG.
          Testing the migration from ESXi and i am getting the following message in log.
          Property description must be an object: undefined

          ESXi client is version 8.0.0

          I am able to connect from XCP-NG and see my VMs but cant import any of them. Is there another workaround than using XOA?

          edit: I have tried suspending and shutdown my VM on ESXi and still get the same error.

          vm.importMultipleFromEsxi
          {
            "concurrency": 2,
            "host": "192.168.50.20",
            "network": "61289739-1df5-c88d-770c-78287d9d72a5",
            "password": "* obfuscated *",
            "sr": "0b002e97-e812-8626-f4e0-2c6267c62296",
            "sslVerify": false,
            "stopOnError": true,
            "stopSource": false,
            "thin": false,
            "user": "admin",
            "vms": [
              "1"
            ]
          }
          {
            "succeeded": {},
            "message": "Property description must be an object: undefined",
            "name": "TypeError",
            "stack": "TypeError: Property description must be an object: undefined
              at Function.defineProperty (<anonymous>)
              at Task.onProgress (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/combineEvents.js:51:16)
              at Task.#emit (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:130:21)
              at Task.#emit (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:124:17)
              at Function.set (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:47:17)
              at file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:1388:20
              at Task.runInside (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:149:22)
              at Task.run (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:134:20)
              at asyncEach.concurrency.concurrency (file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:1372:11)"
          }
          
          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates πŸͺ Co-Founder CEO
            last edited by

            You need to be sure the VM is halted and doesn't have any snapshot πŸ™‚

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              michmoor0725 @olivierlambert
              last edited by

              @olivierlambert to be clear as i mentioned in my post, the VMs are shut down.

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates πŸͺ Co-Founder CEO
                last edited by

                Are you using XOA on latest channel? My question holds regarding the presence of a snapshot for this VM πŸ™‚

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  michmoor0725 @olivierlambert
                  last edited by

                  @olivierlambert just about to edit my comment πŸ™‚
                  There are no snapshots. I shutdown the VM at the time.

                  bc1c3b03-51b5-4f98-9751-56fd04dded51-image.png

                  a8dd09ae-1b3a-4b15-8927-e0ae490a3e48-image.png

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates πŸͺ Co-Founder CEO
                    last edited by

                    @florent will take a look tomorrow (it's V-day here)

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      michmoor0725 @olivierlambert
                      last edited by

                      @olivierlambert Understood. I also have a support ticket open as well to track.

                      Has this been tested on ESXi 8.0.0 ?

                      1 Reply Last reply Reply Quote 0
                      • olivierlambertO Offline
                        olivierlambert Vates πŸͺ Co-Founder CEO
                        last edited by

                        I'm not sure, but without any delta mode (no snap and VM halted) the format (full) should work. Maybe there's something else in 8.0 πŸ€”

                        M 2 Replies Last reply Reply Quote 1
                        • M Offline
                          michmoor0725 @olivierlambert
                          last edited by

                          @olivierlambert the plot thickens. I’m still in POC mode so no production impact. With so many VMs I would like to transfer and test the migration tool would be helpful.
                          Anyways, I’ll wait for your testing. Enjoy the holiday

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            Flying9167
                            last edited by

                            yep I had no snapshots my side either and same error

                            1 Reply Last reply Reply Quote 2
                            • M Offline
                              michmoor0725 @olivierlambert
                              last edited by

                              @olivierlambert hello! I don’t have the patch pushed to my XOA. Do I need to do anything to get the fix? I have the support tunnel open

                              1 Reply Last reply Reply Quote 0
                              • olivierlambertO Offline
                                olivierlambert Vates πŸͺ Co-Founder CEO
                                last edited by olivierlambert

                                Well, you have to wait a bit for @florent to put the patch on your XOA, and since you are on the community forum and not with pro support, you have to be a bit patient until we can do that on our free time πŸ™‚ Stay tuned and keep the tunnel opened πŸ™‚ At worst, we'll have a patch release in XOA this week (Friday maybe).

                                @Flying9167 this is now fixed on master branch.

                                F M 2 Replies Last reply Reply Quote 0
                                • F Offline
                                  Flying9167 @olivierlambert
                                  last edited by Flying9167

                                  @olivierlambert woohooo! Thank you team - have just tested on XOA built from sources and its working!

                                  If I give my XOA more CPU and/or RAM will it speed up the import? Is it bound to the resources of XOA? I'm getting 7.5MiB and have got 20MiB before but no more. My hardware (both sides) does support reads and writes at over 500MiB across my 10Gb link.

                                  1 Reply Last reply Reply Quote 0
                                  • olivierlambertO Offline
                                    olivierlambert Vates πŸͺ Co-Founder CEO
                                    last edited by

                                    It's XO from the sources, XOA is Xen Orchestra virtual Appliance πŸ˜‰ (the turnkey thing you deploy as a VM directly)

                                    Regarding the speed, it depends but since we have to read from Vmware API, then convert it on the fly, then read twice to avoid thick provisioned, it's not fast. However, you can have warm migration if you have VMware 6.5, so it's kind of automatically spawn on destination when done.

                                    F 1 Reply Last reply Reply Quote 0
                                    • F Offline
                                      Flying9167 @olivierlambert
                                      last edited by

                                      @olivierlambert Oh roger that, I didn't realise the distinction!

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        michmoor0725 @olivierlambert
                                        last edited by

                                        @olivierlambert Ahh ok. Im still new to the whole process here so forgive me.
                                        Can you clarify something for me? I have premium support now but im on the community forums (here). Is there another channel i can use to get the issue addressed in accordance to my license level (community vs preimum). Does this affect the open ticket i have with support?

                                        1 Reply Last reply Reply Quote 0
                                        • olivierlambertO Offline
                                          olivierlambert Vates πŸͺ Co-Founder CEO
                                          last edited by

                                          If you have XOA with pro support, the first reflex is to go for the pro support and create a ticket. You have the guarantee to have an answer and dedicated resources given in a reduced timeframe.

                                          Here, it's only "a bonus", and we try to help, but there's 0 guarantee.

                                          M 1 Reply Last reply Reply Quote 2
                                          • florentF Offline
                                            florent Vates πŸͺ XO Team
                                            last edited by

                                            the test with @dumarjo showed that there is still a bug during the import. I am still investigating it and will keep you informed, hopefully today or tomorrow

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