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

    Import from vmware esxi 6.0 or 6.5

    Scheduled Pinned Locked Moved Xen Orchestra
    13 Posts 5 Posters 969 Views 5 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.
    • dumarjoD Offline
      dumarjo
      last edited by dumarjo

      Hi,

      I just try to import a simple VM from ESXI 6.0 or 6.5 (I have both hosts). I juste update everything to latest (xcp-ng, XO and XOA). When I try to import the VM I get an instant error message:

      vm.importMultipleFromEsxi
      {
        "concurrency": 2,
        "host": "10.0.1.9",
        "network": "0029d5bd-a537-0d88-862c-edb0ff89948e",
        "password": "* obfuscated *",
        "sr": "a4c92ff0-5388-12f6-7b30-021b76f6bbb9",
        "sslVerify": false,
        "stopOnError": true,
        "stopSource": true,
        "thin": true,
        "user": "root",
        "vms": [
          "5"
        ]
      }
      {
        "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 (/etc/xen-orchestra/@vates/task/combineEvents.js:51:16)
          at Task.#emit (/etc/xen-orchestra/@vates/task/index.js:126:21)
          at Task.#maybeStart (/etc/xen-orchestra/@vates/task/index.js:133:17)
          at Task.runInside (/etc/xen-orchestra/@vates/task/index.js:152:21)
          at Task.run (/etc/xen-orchestra/@vates/task/index.js:138:31)
          at asyncEach.concurrency.concurrency (file:///etc/xen-orchestra/packages/xo-server/src/api/vm.mjs:1372:58)
          at next (/etc/xen-orchestra/@vates/async-each/index.js:90:37)"
      } 
      

      I tried by the web interface of XO and XOA.

      Anything I can do ?

      Regards

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

        Adding @florent in the loop, but we are about to go in a long weekend šŸ™‚ (Monday is off). If you have pro support, please open a ticket.

        dumarjoD 1 Reply Last reply Reply Quote 0
        • dumarjoD Offline
          dumarjo @olivierlambert
          last edited by

          @olivierlambert Not an urgent thing. First test on this.

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

            I get the same error after installing Orchestra yesterday. Using https://github.com/Jarli01/xenorchestra_installer on Ubuntu 20.04.xx LTS
            xo-server 5.113.0 - Xen Orchestra server
            xo-web 5.116.1 - Xen Orchestra web client

            $ sudo bash
            # bash -c "$(curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh)"
            

            Test by trying to import from ESXi version: 6.7.0 ESXi build number: 18828794 and not vCenter

            vm.importMultipleFromEsxi
            {
              "concurrency": 2,
              "host": "192.168.0.45",
              "network": "2c7b3460-99a0-4824-4533-a308d979bce1",
              "password": "* obfuscated *",
              "sr": "4b1dcb1a-4adf-929c-b972-f6deaee35f68",
              "sslVerify": false,
              "stopOnError": true,
              "stopSource": false,
              "thin": true,
              "user": "root",
              "vms": [
                "26",
                "27"
              ]
            }
            {
              "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 (/opt/xen-orchestra/@vates/task/combineEvents.js:51:16)
                at Task.#emit (/opt/xen-orchestra/@vates/task/index.js:126:21)
                at Task.#maybeStart (/opt/xen-orchestra/@vates/task/index.js:133:17)
                at Task.runInside (/opt/xen-orchestra/@vates/task/index.js:152:21)
                at Task.run (/opt/xen-orchestra/@vates/task/index.js:138:31)
                at asyncEach.concurrency.concurrency (file:///opt/xen-orchestra/packages/xo-server/src/api/vm.mjs:1372:58)
                at next (/opt/xen-orchestra/@vates/async-each/index.js:90:37)"
            }
            

            Thank you for the assist.

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

              Please try with XOA and report (XOA Free fully up to date on latest)

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

                @olivierlambert hmm seems to be an issue on the latest channel if esxi6.5 and from my thread where I’m on 8.0 fails?

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

                  Then try on stable to check if it works then šŸ™‚ @florent will investigate ASAP

                  1 Reply Last reply Reply Quote 0
                  • florentF Offline
                    florent Vates 🪐 XO Team
                    last edited by

                    hi @stilllearning @michmoor0725 @dumarjo we merged a fix in master.
                    For those who use a XOA, open a support tunnel and I will patch the installation

                    regards

                    Florent

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

                      @florent Thank you! Support tunnel opened.

                      Give this id to the support: 34781

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

                        I just updated XOA and import VMs from ESXi 6.7. I am confirming the latest XOA build (update) does work.

                        I will test the XO next and report.

                        Thank you @florent

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

                          @stilllearning I may have not received the patch yet? Still failing for me. @florent

                          florentF 1 Reply Last reply Reply Quote 0
                          • florentF Offline
                            florent Vates 🪐 XO Team @michmoor0725
                            last edited by

                            @michmoor0725 Can you open a tunnel and send me the tunnel number by chat ?
                            the patch won't be released before a few days

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

                              @florent Tunnel ID sent via chat. Thank you for your help.

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