Cannot Import VMDK Through Import > Disk (migrating from ESXi, all methods not working)
-
I have a VMDK file with it's associated VMDK Flat file from a ESXi setup that I'd like to import into XCP-ng. I am trying to do so via Xen Orchestra's import feature, however when doing so I can select either (or both) files, and then I get this small spinning icon (see below) but it never actually imports anything or progresses and no new tasks are created within the Tasks section. I've given it over an hour before and still nothing.
Any ideas here? I suppose the other option would be to use XCP-ng Center since it sometimes works better for this stuff, but I don't see a way to import multiple disks and LATER attach them to a VM going that route (I have 6 disks that need to be imported for a single VM)
This is all coming after I have tried the new direct import feature with XOA (updated on the vmware branch) through CLI (which gives me an error and doesn't appear to even connect to my ESXi host), and trying to import an OVA which was exported from VCenter (it's 6 disks and it gets partially imported and then says "device already exists" and only seems to import 3 or 4 of the virtual disks within that OVA file.
-
@planedrop I'll also note that I haven't yet tried importing the OVA through XCP-ng center, this move is a one time thing for me so if that works I'd be happy. I will give that a shot when I have a chance but it may not happen for a few days, will report back if I have success going that route.
-
Hi,
Please open a support tunnel and a ticket so we can take a look on your XOA directly.
Also, the issue with the direct import feature, can you be more specific?
-
@olivierlambert Yes, I actually have a ticket open with this, but wanted to see if anyone public had any ideas too.
Ticket is Ticket#7711465 and has more info on the exact error I am seeing when trying the direct import feature.
-
Perfect thanks
- about a month later
-
Was this ever resolved? I noticed I can no longer import VHD files (that's all we have, we were a hyper v shop) through XOA or XO from the sources. Both of my servers are on the latest patches. It does the same thing with the spinning circle but I can see activity on my NIC that is uploading something. Nothing useful in the log that I could see. I'm not super well versed in Xen Orchestra yet so go easy on me
I spun up a brand new XOA last night and it still didn't work.
-
Hi,
XOA on
latest
full up to date? -
@olivierlambert Realized it was on stable, just updated it to latest but now I just get an error with no logs
-
Is it a generic VHD that we could grab somewhere to see if we can reproduce here?
-
@olivierlambert No, it is our unifi controller VM so it has some private info. I tried it this afternoon again with a different VHD and had the same result, this time a VHD I exported from our veeam backups, which I have done with XOA before without issue. Should I create my own thread?
I also just tried it again from my macbook with safari, same result. Weird how when I go to show logs, there is nothing.
Thank you so much for your assistance!
-
@caponate Have you tried importing it via XCP-ng center? It's older but may be worth a try.
-
@planedrop Is that even possible anymore? I cannot find the option to do that, it has been a long time since I used xcp-ng center.
Just tested it on my main desktop at home, I can import a generic windows server VHD I downloaded from microsoft. But not a copy of an Azure VM that I downloaded the other day (but it boots in hyper-V)... Very weird. I will try downloading it again and report back.
-
-
Just to double check: are you in HTTPS in your browser?
-
You could also try to import the VHD directly with
xe
on the host, and see if it works. -
@olivierlambert Yep. And I confirmed it today, it appears it is JUST the vhd files exported from Azure that don't work. I don't know what in the hell they do to them, but there's something messed up about them. Maybe I will export a generic one and post it for analysis.
-
Interesting Are you sure they are VHD and not VHDX? If it's possible to access the problematic VHD, we could take a look and see what's inside in terms of structure and headers.
- about a year later
-
@planedrop I have exactly the same issue. I've exported the disk as two files ( the flat one is 800GB) and the wheel is simply spinning 24 hours later. Did you manage to resolve this?
The direct import from ESXi didn't work for me either. My biggest criticism of this would be that there is no feedback to indicate whether it it working or not, an orange task appears, clicking to see the logs hangs indefinitely. I'm not sure if there is a way to upload the pair of files that make up the VMDK to the machine over SCP and then kick off the import from there.
- 19 days later
-
@alexredston Im stuck here too... did you get any where?
-
@scottieIP No, and it's entirely possible the issue has been fixed. I ended up just backing up the database from that VM and migrating it to a new VM on our cluster.