Error importing vhd or VM
-
Hi
- yes, with the same version of XOCE
- I'll do that
I made a copy of that VM, from one server to another and it started ok.
I exported the new VM (copy one), but also without success on import. Same error on import -
After testing each commit, this behavior starts with f6fd1db1ef12633cc5bb8ec8ab5bc84682dd3fe7
This commit is ok, a1050882aeb5b9692282caafa810af587614243a, on both imports VM or VHD. Export was made with commit 7a5649510d1f796950d2d46ea0102ff683fbb539 -
FWIW, I had a similar issue with this same commit, but then the issue mysteriously went away.

-
I tested all day, on several VMs with XOCE, I installed one from scratch. if I put the mentioned commit the problem disappears.
-
Adding @julien-f in the loop, since it's like there's a specific commit causing problems, but I'm not sure we managed to reproduce last time

Maybe a rebuild wasn't truly done? Can you try after wiping the previous install?
-
@olivierlambert
I reinstalled XOCE from scratch. Starting with SO. Same result.
I also tested on a mini lab that is on another network where there are only the server and a computerSO = Ubuntu server 22.04.01
XOCE is reinstalled by hand following steps from the documentation, I don't use auto-scripts -
-
@Gheppy If by any chance you have time tot test with the REST API (https://xen-orchestra.com/docs/restapi.html#vdi-import), let me know the result

-
Good idea, indeed

-
I get this
IP in the photo is from XOCE commit 675405f7ace55411b1ca0bbed8b9e31504fcc387
-
Can you check the VHD with
vhdiinfo my.vhd -
-
Could you import this VHD with
xedirectly from the host? (this would tell if it's a VHD issue or XO issue).xe vdi-import -
@olivierlambert
steps are?- copy vhd to Xen local disk
- run command
xe vdi-imporrt "name".vhd
-
xe vdi-import uuid=uuid_of_vdi filename=filename_to_import_from --progress -
import is ok

-
Good, then it's maybe your XO build. Could you try on a fresh XOA fully up to date on
latest? -
@olivierlambert
XOA or XO form source ? -
I specifically said "XOA", so it's XOA
There's no "latest" on XO from the sources. -
@olivierlambert
For this I need to do a little more work, it gives the same error on import for xoa_unified.xva.
I'm going to bring the XOCE to a working version so I can import the 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