Virtualized XCP-ng reboots when trying to install Debian from an ISO from the local ISO store
-
@olivierlambert It´s Intel i3-10110U (NUC testing mini pc). It's probably pointless to compare, but on the same HW I tried virtualizing XCP-ng on ESXi 8u2 and then Debian can be installed normally in the nested XCP-ng
-
Because ESXi supports nested a lot more better than Xen, at least for now. Note that it wouldn't crash if you decide to use PV guests instead of HVM, but PV is less secure than HVM. I suppose that in your PV case, it might be enough though (lab/test).
-
Hello @lawrencesystems, I noticed in your videos that you use virtualized XCP-ng on XCP-ng for testing. What exact version are you using? Virtuals work normally in nested XCP-ng I assume?
-
@olivierlambert Yes, sure, PV is sufficient for testing. You mean to use PV for nested XCP-ng itself and for it´s VMs as well?
-
Xen itself "can't be PV" but the Dom0 is, so it's for the extra VMs on top of it. Debian in PV in nested mode should work pretty well.
-
@olivierlambert I switched Debian VM to PV and got this error when I try to run it:
vm.start { "id": "fadce86e-0f23-927a-8924-2c2ab3244779", "bypassMacAddressesCheck": false, "force": false } { "code": "INTERNAL_ERROR", "params": [ "xenopsd internal error: Domain.Could_not_read_file(\"\")" ], "call": { "method": "VM.start", "params": [ "OpaqueRef:09e98642-47ea-899f-83ee-94ea78b8bfb1", false, false ] }, "message": "INTERNAL_ERROR(xenopsd internal error: Domain.Could_not_read_file(\"\"))", "name": "XapiError", "stack": "XapiError: INTERNAL_ERROR(xenopsd internal error: Domain.Could_not_read_file(\"\")) at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202403272230/packages/xen-api/_XapiError.mjs:16:12) at file:///opt/xo/xo-builds/xen-orchestra-202403272230/packages/xen-api/transports/json-rpc.mjs:38:21" }
-
You probably have missing bootloader files. It's been a while since I did not created a PV VM. Worth creating a fresh VM in PV mode (I never converted an HVM to PV, only the opposite).
Let's see if people around it are doing it more often than me
-
I tried installing Ubuntu Server 22.04.4 and Windows Server 2022 Eval and both systems boot, install and work without any problems. It seems that Debian 12.5 specifically is causing the nested hypervisor to crash...
-
@abudef
I only did that in my video to make it easier to show how things work with XCP-ng hosts, I don't think the VM's would work inside the nested systems. -
@lawrencesystems I think this is quite common when you need to test certain scenarios with multiple hypervisors (backup, migrations, etc.). You only need a couple of HVs with a few tiny running VMs. We have done this setup with nested esxi many times for testing purposes. And since e.g. Ubuntu and Windows work this way, the problem is probably specific to Debian (and maybe others?).