XO CE migrate fails for VM - "Internal Error"
-
Do you have any CD plug to this VM?
-
thy for the reply Olivier - just checked, no cd inserted or DVD drive connected to VM - its the same VM every time for all different migrate methods
-
Do you have snapshots for this VM?
-
yes it has three normal snapshots
-
I have the feeling there's a connection between those snapshots and the error.
Could you deploy an XOA, open a support tunnel so we can take a look?
-
I could do that sure, is there a way to use the xoa ce for that support tunnel?
I dug deeper into the problem and tested a little bit:- removed all the snapshots from the above-mentioned VM and wow - no you can migrate it via XOA from local storage to local storage
- I removed all snapshots from my other VMS, besides the one from the nightly xoa backup job
- didn't work -> every VM logged the same error
- I removed all snapshots from all VMs
- now it works to migrate all the VMs via XOA but that is not really a solution, because xoa backup runs every night and i don't want to remove all snapshots from the VMs every time I move them to the other host
It also doesn't explain why the move works with snapshots via XCP-ng Center and CLI
any thoughts from your side?
thanks, guys! Ringo -
@vmpr I think the error is because you run out of space when moving. Try to use a larger SR or move one VM at a time, or serialize the operation if you don't have the space for.
P.S.: Every move creates snapshots for every disk. When moving from CLI or XCP-ng Center you move one VM at a time and needs less space. I think XOA starts to move all VM's at once (@olivierlambert correct me if I'm wrong), so the space required is more and soon exhausted. You can check this by starting a move from XOA and checking SR utilization (actual use, total and allocated space).
-
thanks @gn_ro - but Nah that's not the problem, its a 6TB storage and 1TB ist used ... 5TB space should be enough. I am also moving three vms at the same time via xcp-ng centre and cli, as XOA does ... that's the limit of how many VMS you can move simultaneous from local storage to local storage.
-
Yep, if it was an XCP-ng issue, it would also fails with
xe
command. -
@olivierlambert any idea what could be the problem?
-
I had this issue before, I couldn't migrate VM that was running from NFS storage to another host and store it in NFS storage as well, I had to migrate it to the new host's local storage first then move VDI to NFS storage later.
However I tried again with XCP-ng center and migrating VM stored on NFS to another host's NFS storage works fine.
-
@vmpr Please create an issue on Xen Orchestra GitHub repo, this way XO dev will see it