xo vm-export / vm-import issue with latest XCP-Ng 8.3
-
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 ?
-
Is one of these pools still running XCP-ng 8.2.1? Have you tried using warm migration?
-
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.
-
@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)
-
This post is deleted! -
@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 ?
-
@Pix Ok i'm self replying here: just connect one XO to both pools, and then migrate.
-
haha no worries Glad you figure it out!
-
@olivierlambert Hm well maybe i talked to quickly, task started 18mn ago, 0%, VM is very small..
I'll waitand 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)
-
Looks like the different HW or Pool is an issue, i'll make more tests and report here if it's ok