XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Virtualized XCP-ng reboots when trying to install Debian from an ISO from the local ISO store

    Scheduled Pinned Locked Moved XCP-ng
    12 Posts 3 Posters 1.1k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • abudefA Offline
      abudef @olivierlambert
      last edited by

      @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 🤔

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by olivierlambert

        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).

        abudefA 1 Reply Last reply Reply Quote 0
        • abudefA Offline
          abudef
          last edited by

          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?

          lawrencesystemsL 1 Reply Last reply Reply Quote 0
          • abudefA Offline
            abudef @olivierlambert
            last edited by

            @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?

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              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.

              abudefA 1 Reply Last reply Reply Quote 0
              • abudefA Offline
                abudef @olivierlambert
                last edited by

                @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"
                }
                
                1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  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 🙂

                  1 Reply Last reply Reply Quote 0
                  • abudefA Offline
                    abudef
                    last edited by

                    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...

                    1 Reply Last reply Reply Quote 0
                    • lawrencesystemsL Offline
                      lawrencesystems Ambassador @abudef
                      last edited by

                      @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.

                      abudefA 1 Reply Last reply Reply Quote 0
                      • abudefA Offline
                        abudef @lawrencesystems
                        last edited by

                        @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?).

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post