Error importing vhd or VM
-
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
xe
directly 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 -
You can deploy XOA without XO. See https://xen-orchestra.com/#!/xoa for example.