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

    Can not start VM migration to other pool from XOA

    Scheduled Pinned Locked Moved Management
    15 Posts 2 Posters 1.4k 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.
    • rvreugdeR Offline
      rvreugde
      last edited by

      When I start a migration of a VM from one pool to the other, I got the following error.

      	
      id	"0m2vs9n41"
      properties	
      method	"vm.migrate"
      params	
      mapVdisSrs	
      c943a1e8-4f48-4127-8ab3-53c90e999d42	"66fc4777-39d5-48de-79fd-4ef489d1267e"
      mapVifsNetworks	
      023926a5-88e1-1ae8-0dec-53be015876ec	"863a34d3-e7f4-585f-ec8f-9fcbad68d8ca"
      9d446505-bc89-cb64-a443-d2e674cea6bf	"2f1dbbb9-7a3a-e327-c332-6a69ea962392"
      migrationNetwork	"0fc3ada6-5df3-7f95-bae2-6e7e7de34a21"
      sr	"66fc4777-39d5-48de-79fd-4ef489d1267e"
      targetHost	"9fdcfa08-3155-4f21-9db1-5854d5517f14"
      vm	"42caf63a-d9cb-1b55-c214-ad0aee29b527"
      name	"API call: vm.migrate"
      userId	"9b0fe680-c0f0-444d-9392-5b78154796e0"
      type	"api.call"
      start	1730287105345
      status	"failure"
      updatedAt	1730287105497
      end	1730287105497
      result	
      code	"VDI_NOT_IN_MAP"
      params	
      0	"OpaqueRef:2806f8f1-9bd0-49da-8355-d17e3d2a4eba"
      task	
      uuid	"3c4d30d9-8ca4-4363-ee2e-a60900185d97"
      name_label	"Async.VM.assert_can_migrate"
      name_description	""
      allowed_operations	[]
      current_operations	{}
      created	"20241030T11:18:25Z"
      finished	"20241030T11:18:25Z"
      status	"failure"
      resident_on	"OpaqueRef:685b98b6-758d-4171-a75b-5bebe43be748"
      progress	1
      type	"<none/>"
      result	""
      error_info	
      0	"VDI_NOT_IN_MAP"
      1	"OpaqueRef:2806f8f1-9bd0-49da-8355-d17e3d2a4eba"
      other_config	{}
      subtask_of	"OpaqueRef:NULL"
      subtasks	[]
      backtrace	"(((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))"
      message	"VDI_NOT_IN_MAP(OpaqueRef:2806f8f1-9bd0-49da-8355-d17e3d2a4eba)"
      name	"XapiError"
      stack	"XapiError: VDI_NOT_IN_MAP(OpaqueRef:2806f8f1-9bd0-49da-8355-d17e3d2a4eba)\n    at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12)\n    at default (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_getTaskResult.mjs:13:29)\n    at Xapi._addRecordToCache (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1041:24)\n    at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1075:14\n    at Array.forEach (<anonymous>)\n    at Xapi._processEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1065:12)\n    at Xapi._watchEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1238:14)"
      

      Migrating from XCP-ng is not a problem.
      add499c5-4c87-4858-9c4f-ed45168d64c1-image.png

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

        Check if you have left an ISO in the CD drive.

        rvreugdeR 1 Reply Last reply Reply Quote 0
        • rvreugdeR Offline
          rvreugde @olivierlambert
          last edited by

          No ISO in the CD drive.

          I tried this with different VM's, all with the same error: "VDI_NOT_IN_MAP"

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

            Do you have snapshots on this VM?

            rvreugdeR 1 Reply Last reply Reply Quote 0
            • rvreugdeR Offline
              rvreugde @olivierlambert
              last edited by

              Yes, all VM's have about 5 snapshots.
              0f4de913-12b0-4897-81d5-fc1e1ab443ff-image.png

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

                I would strongly advise to remove the VM snapshot before migrating it.

                rvreugdeR 1 Reply Last reply Reply Quote 0
                • rvreugdeR Offline
                  rvreugde @olivierlambert
                  last edited by rvreugde

                  No snaps available, problem persists
                  a27127d6-d60a-408b-b6ee-8fe92e97a9c4-image.png

                  vm.migrate
                  {
                    "mapVdisSrs": {
                      "5ebca28b-e870-4475-87b3-19a3ba6cff81": "70895525-ee2e-659b-970f-d43ea3a5991a"
                    },
                    "mapVifsNetworks": {
                      "0648c623-a09c-ee65-4d43-c008315c2bbc": "21166b7f-048e-be22-8d8d-38e6695ad8c6",
                      "28a137b5-3b56-6549-dd20-b51c9ce9aced": "863a34d3-e7f4-585f-ec8f-9fcbad68d8ca",
                      "af156628-b126-6845-009f-9ff8ae325ec0": "21166b7f-048e-be22-8d8d-38e6695ad8c6"
                    },
                    "migrationNetwork": "0fc3ada6-5df3-7f95-bae2-6e7e7de34a21",
                    "sr": "70895525-ee2e-659b-970f-d43ea3a5991a",
                    "targetHost": "9fdcfa08-3155-4f21-9db1-5854d5517f14",
                    "vm": "eeac308a-0fa5-9e24-d7af-b3eb44cbc616"
                  }
                  {
                    "code": "VDI_NOT_IN_MAP",
                    "params": [
                      "OpaqueRef:3244cfb3-e6cf-4587-916f-21f07c65ddf6"
                    ],
                    "task": {
                      "uuid": "e660f16a-70bd-a387-30ca-9437bb9c2f91",
                      "name_label": "Async.VM.assert_can_migrate",
                      "name_description": "",
                      "allowed_operations": [],
                      "current_operations": {},
                      "created": "20241030T15:51:22Z",
                      "finished": "20241030T15:51:22Z",
                      "status": "failure",
                      "resident_on": "OpaqueRef:685b98b6-758d-4171-a75b-5bebe43be748",
                      "progress": 1,
                      "type": "<none/>",
                      "result": "",
                      "error_info": [
                        "VDI_NOT_IN_MAP",
                        "OpaqueRef:3244cfb3-e6cf-4587-916f-21f07c65ddf6"
                      ],
                      "other_config": {},
                      "subtask_of": "OpaqueRef:NULL",
                      "subtasks": [],
                      "backtrace": "(((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))"
                    },
                    "message": "VDI_NOT_IN_MAP(OpaqueRef:3244cfb3-e6cf-4587-916f-21f07c65ddf6)",
                    "name": "XapiError",
                    "stack": "XapiError: VDI_NOT_IN_MAP(OpaqueRef:3244cfb3-e6cf-4587-916f-21f07c65ddf6)
                      at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12)
                      at default (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_getTaskResult.mjs:13:29)
                      at Xapi._addRecordToCache (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1041:24)
                      at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1075:14
                      at Array.forEach (<anonymous>)
                      at Xapi._processEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1065:12)
                      at Xapi._watchEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1238:14)"
                  }
                  
                  • XO Server restarted from XOA: still a problem
                  • XOA server restarted (reboot): still a problem
                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Online
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    Can you screenshot the "Disks" tab please?

                    rvreugdeR 1 Reply Last reply Reply Quote 0
                    • rvreugdeR Offline
                      rvreugde @olivierlambert
                      last edited by

                      ccd05592-d873-43f4-a754-36bd804450c2-image.png @olivierlambert

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

                        Is your XOA up to date? Which release channel?

                        rvreugdeR 1 Reply Last reply Reply Quote 0
                        • rvreugdeR Offline
                          rvreugde @olivierlambert
                          last edited by

                          7f80b259-1589-47a2-a1ab-9f1f125b27ae-image.png

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

                            Can you screenshot the pop up menu when you do the migration?

                            edit: filled with your choices, just before clicking on "OK"

                            rvreugdeR 1 Reply Last reply Reply Quote 0
                            • rvreugdeR Offline
                              rvreugde @olivierlambert
                              last edited by rvreugde

                              Before I have migrated 100+ systems this way, with the same options. Now, it suddenly quits with the error.
                              bdd44453-7eb5-48bb-b3e0-bee137a700cb-image.png

                              rvreugdeR 1 Reply Last reply Reply Quote 0
                              • rvreugdeR Offline
                                rvreugde @rvreugde
                                last edited by

                                Could the "source" pool (Citrix Hypervisor) be the origin of this error?

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

                                  The issue is there's a VDI that's not in the right map. It's hard to tell why without having a deeper look.

                                  1 Reply Last reply Reply Quote 0

                                  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