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 @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