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

    Can't copy or move VM from host with xen 6.5 to host xcp-ng 8.2

    Scheduled Pinned Locked Moved Xen Orchestra
    13 Posts 5 Posters 983 Views 4 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.
    • DanpD Offline
      Danp Pro Support Team @lukasz_s
      last edited by

      Similar issue found here, but no solution given. Maybe @stormi will have some additional thoughts on this.

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

        Or @julien-f maybe, dunno 🤷

        julien-fJ 1 Reply Last reply Reply Quote 0
        • L Offline
          lukasz_s
          last edited by

          when trying migration i've got only this error in xensource.log on xen 6.5 host:

          Server_helpers.exec exception_handler: Got exception INTERNAL_ERROR: [ Not_found ]
          

          when trying to copy vm:

          VM export R:8d962d9e711d|dispatcher] Server_helpers.exec exception_handler: Got exception CLIENT_ERROR: [ INTERNAL_ERROR: [ Unix.Unix_error(31, "write", "") ] ]
          
          |xapi] Unhandled Api_errors.Server_error(CLIENT_ERROR, [ INTERNAL_ERROR: [ Unix.Unix_error(31, "write", "") ] ])
          
          

          i wonder if this error could be connected with fact that this is only of my vms was crated years ago on xen 6.5 with template Windows 7 (than vm was upgraded to windows 10 when it became available) which template is absent on xcp-ng 8.2 (it has only windows 10 templates)
          Other vms are windows10 templates and there was no problem to copy them to xcp-ng.

          any thoughts on this ?

          1 Reply Last reply Reply Quote 0
          • julien-fJ Offline
            julien-f Vates 🪐 Co-Founder XO Team @olivierlambert
            last edited by

            @olivierlambert This looks like a host error, not an XO one.

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

              @lukasz_s what about warm migration?

              1 Reply Last reply Reply Quote 0
              • L Offline
                lukasz_s
                last edited by

                it's strange , target exist for sure all other vm's were copied to that sr on new host:

                vm.warmMigration
                {
                  "deleteSourceVm": false,
                  "sr": "1949fb9f-8730-508c-558d-dd7fe531b0c3",
                  "startDestinationVm": false,
                  "vm": "98361714-d7da-ea55-196b-3bad93f23422"
                }
                {
                  "message": "Vm target of warm migration not found for 98361714-d7da-ea55-196b-3bad93f23422 on SR 1949fb9f-8730-508c-558d-dd7fe531b0c3 ",
                  "name": "Error",
                  "stack": "Error: Vm target of warm migration not found for 98361714-d7da-ea55-196b-3bad93f23422 on SR 1949fb9f-8730-508c-558d-dd7fe531b0c3 
                    at MigrateVm.warmMigrateVm (file:///home/node/xen-orchestra/packages/xo-server/src/xo-mixins/migrate-vm.mjs:98:13)
                    at Xo.warmMigration (file:///home/node/xen-orchestra/packages/xo-server/src/api/vm.mjs:608:3)
                    at Api.#callApiMethod (file:///home/node/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:417:20)"
                }
                
                1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  I would restart the toolstack on the both sides, in case there's a host issue.

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    lukasz_s
                    last edited by

                    restarting toolstack does nothing 😞

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      dave.opc @lukasz_s
                      last edited by

                      @lukasz_s

                      If your Windows system restarts with no issues, you can try and go to Control Panel - File History - System Image Backup and create a copy of your system. Then create a new VM on 8.2 and Restore it there

                      1 Reply Last reply Reply Quote 0
                      • L Offline
                        lukasz_s
                        last edited by

                        thanks for all advices
                        just moved all services to new vm, that makes topic is closed.

                        for last try i updated xen 6.5 to 7.4 but problem remains

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