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

    xo vm-export / vm-import issue with latest XCP-Ng 8.3

    Scheduled Pinned Locked Moved XCP-ng
    10 Posts 3 Posters 569 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.
    • P Offline
      Pix
      last edited by

      Hi, i'm basically trying to migrate a windows VM ( but i'm not sure it's relevant) between two different Pools.

      After trying unsuccessfully using both their XO, i went down in the stack and tried directly from 2 HVs.

      Both HVs are on different Pools, both have a NFS share mounted ( for the transfer ), both up to date ( yum update/upgrade )

      And here what happens:

      [13:53 XenStaging1 ~]# xe vm-export uuid=3a177607-d851-0f5b-901d-1660c7bdd8d4 filename=/mnt/transfer/staging/mcaffee.xva compress=zstd
      Export succeeded
      [14:18 XenStaging1 ~]#
      
      [14:26 xenprodpp ~]# xe vm-import filename=/mnt/transfer/staging/mcaffee.xva preserve=true
      The import failed because this export has been created by a different (incompatible) product version
      [14:26 xenprodpp ~]# xe vm-import filename=/mnt/transfer/staging/mcaffee.xva
      The import failed because this export has been created by a different (incompatible) product version
      [14:26 xenprodpp ~]#
      

      Did i miss an obvious step ?

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

        Is one of these pools still running XCP-ng 8.2.1? Have you tried using warm migration?

        P 1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates πŸͺ Co-Founder CEO
          last edited by olivierlambert

          As a general rule: you can always move things forward in terms of version (eg old to new, 8.2 to 8.3) not the other way around. Like the CPUs too (older to newer).

          Warm migration can overcome this.

          P 2 Replies Last reply Reply Quote 0
          • P Offline
            Pix @Danp
            last edited by Pix

            @Danp Nope, Staging pool have 3 hosts running same 8.3 up to date, and production pool runs 1 host running also 8.3 up to date

            Gonna try warm migration between two CE XOs ( i don't think my yet-to-be-licensed actual XOs will allow it)

            1 Reply Last reply Reply Quote 0
            • P Offline
              Pix @olivierlambert
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • P Offline
                Pix @olivierlambert
                last edited by

                @olivierlambert Stupid question, how do i warm migrate between two different pools using the same NFS SR ? when it's done, i move the vhd file from one uuid-pool directory to the other ?

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  Pix @Pix
                  last edited by

                  @Pix Ok i'm self replying here: just connect one XO to both pools, and then migrate.

                  alt text

                  1 Reply Last reply Reply Quote 1
                  • olivierlambertO Offline
                    olivierlambert Vates πŸͺ Co-Founder CEO
                    last edited by

                    haha no worries πŸ™‚ Glad you figure it out!

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      Pix @olivierlambert
                      last edited by

                      @olivierlambert Hm well maybe i talked to quickly, task started 18mn ago, 0%, VM is very small..
                      I'll wait πŸ™‚

                      and my first post still stands: an xva exported in 8.3 could not be reimported on 8.3 ( host cpu on source HV is smaller that the one on destination HV, both Xeon v3 Intels)

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        Pix @Pix
                        last edited by

                        @Pix Capture d’écran 2024-08-23 aΜ€ 16.36.56.png

                        Looks like the different HW or Pool is an issue, i'll make more tests and report here if it's ok πŸ™‚

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