Latest XCP-ng 8.2: Cannot import XVA, even with latest XOA
-
This is clearly not a client issue, but a host issue (or a XVA problem).
Why using
forcewithxeby the way? Let's talk withxeonly which is the safest best.- When you start the import, is there a task created?
- Check the usual logs (xensource.log)
-
@olivierlambert Yes, a task is created (in XOA), which never ends.
With
xe vm-importit creates a VM in yellow state, but never progresses beyond that.I just setup a fresh install of Ubuntu 20, I'll export it and try and re-import it as XVA.
-
Is the task having any progress?
-
This post is deleted! -
@olivierlambert Hang on there's a sliver of progress now!
-
@olivierlambert It's showing 1% but not doing much beyond that.
-
Anything happening in xensource or SMlog?
-
@olivierlambert Nothing out of the ordinary. Still 1%.
-
Then you have an issue on the storage or in the XVA file itself.
-
@olivierlambert it's definitely not the storage, will try a different XVA to isolate.
-
@olivierlambert Are there any compatibility issues, i.e. say exporting a XVA with an older version of XCPng and trying to import with a newer version?
-
No known issue with XVA import. Nor any recent tickets about this kind of problem.
-
@olivierlambert Thanks your comments got me thinking, it could be the NFS mount connection is dropping out; trying a test now to mount it via fstab in XCPng.
-
@olivierlambert here's another clue. If I mount my local CIFS share onto the XCPng host, after a while I cannot do
cd /mnt ls -la # it just hangs here. I have to kill the SSH session and SSH back inThis only happens after mounting the CIFS share the very first time after boot.
Thoughts?
-
@olivierlambert bit more info
[20:42 xcpng-host0 ~]# mount -t cifs //10.0.x.x/linux_data on /mnt/linux_data type cifs (rw,relatime,vers=3.0,cache=strict,username=myuser,uid=0,forceuid,gid=0,noforcegid,addr=10.0.x.x,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,noperm,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1) [20:42 xcpng-host0 ~]# cd /mnt/linux_data # it just hangs here. I have to kill the SSH session and SSH back in -
That's your problem: fix your storage (reboot your host to see), and then import will work

-
@olivierlambert Hah, indeed it was! CIFS is totally unstable, but I was able to get NFS working with these configs:
mount -o vers=3,soft,mountproto=tcp [IP]:/share /mnt/nfs_share/backup.xva
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