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

    Migration failed

    Scheduled Pinned Locked Moved Solved News
    14 Posts 4 Posters 2.3k 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.
    • S Offline
      Sergiu
      last edited by

      Hello,

      I want to move a vm from host to another(live migration) and i have this error..... how can i resolve this issue? Thank you!

      Log:
      vm.migrate
      {
      "vm": "8ad594c9-6c4a-db6e-a010-e788ace78201",
      "targetHost": "3055ab3a-c15a-4f6d-8bb7-b3d7ab81740d"
      }
      {
      "code": 21,
      "data": {
      "objectId": "8ad594c9-6c4a-db6e-a010-e788ace78201",
      "code": "VM_LACKS_FEATURE"
      },
      "message": "operation failed",
      "name": "XoError",
      "stack": "XoError: operation failed
      at operationFailed (/usr/local/lib/node_modules/xo-server/node_modules/xo-common/src/api-errors.js:21:32)
      at file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:482:15
      at Object.migrate (file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:469:3)
      at Api.callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:304:20)"
      }

      nikadeN AtaxyaNetworkA 2 Replies Last reply Reply Quote 0
      • nikadeN Offline
        nikade Top contributor @Sergiu
        last edited by

        Are the CPU's on the hosts different?
        In the past this has caused a lot of issues in our setup at work.

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

          @nikade I have the same hosts with the same configurations

          HPE Gen 9

          e7412f04-1639-4b55-9e66-04c0f0abab2e-image.png

          nikadeN 1 Reply Last reply Reply Quote 0
          • AtaxyaNetworkA Offline
            AtaxyaNetwork Ambassador @Sergiu
            last edited by

            @Sergiu Hi !

            Did you install the guest-tools in the VM ?

            S 3 Replies Last reply Reply Quote 0
            • nikadeN Offline
              nikade Top contributor @Sergiu
              last edited by

              @Sergiu What storage are you using? Local or Shared?

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

                @AtaxyaNetwork No because i see only for linux. I find this https://github.com/xcp-ng/win-pv-drivers/releases
                I will come back with updates after installation.

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

                  @nikade Shared
                  017f03a1-d0d8-43ce-99b9-1f43dfd0b58d-image.png

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

                    @AtaxyaNetwork And this: https://github.com/xcp-ng/win-pv-drivers/releases/tag/v8.2.2.200-RC1

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

                      @AtaxyaNetwork I installed tools, reboot vm , but the same error....

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

                        @Sergiu Are the tools being detected in XO? You can check under Dashboard > Health; there's a section at the bottom listing any VMs without the tools installed.

                        S 2 Replies Last reply Reply Quote 0
                        • S Offline
                          Sergiu @Danp
                          last edited by olivierlambert

                          @Danp After more research i found the problem... i delete network from vm and now when machine is 90% migrate i have another error:

                          vm.migrate
                          {
                            "vm": "8ad594c9-6c4a-db6e-a010-e788ace78201",
                            "targetHost": "3055ab3a-c15a-4f6d-8bb7-b3d7ab81740d"
                          }
                          {
                            "code": 21,
                            "data": {
                              "objectId": "8ad594c9-6c4a-db6e-a010-e788ace78201",
                              "code": "VM_FAILED_SUSPEND_ACKNOWLEDGMENT"
                            },
                            "message": "operation failed",
                            "name": "XoError",
                            "stack": "XoError: operation failed
                              at operationFailed (/usr/local/lib/node_modules/xo-server/node_modules/xo-common/src/api-errors.js:21:32)
                              at file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:482:15
                              at Object.migrate (file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:469:3)
                              at Api.callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:304:20)"
                          }
                          
                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            Sergiu @Danp
                            last edited by

                            @Danp
                            About tools 27a06f28-f7d1-410c-83da-711a6cb5ebba-image.png

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

                              After more restarts and destroy machines and reboot servers now is working............. i don t know what exactly i do but now is working.
                              Someone can mark this topic solved.
                              Thank you all!

                              nikadeN 1 Reply Last reply Reply Quote 1
                              • nikadeN Offline
                                nikade Top contributor @Sergiu
                                last edited by

                                @Sergiu Good job!
                                Hard to tell what was wrong, but Im happy you resolved it.

                                1 Reply Last reply Reply Quote 0
                                • olivierlambertO olivierlambert marked this topic as a question on
                                • olivierlambertO olivierlambert has marked this topic as solved on

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • First post
                                  Last post