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

    Every virtual machine I restart doesn't boot.

    Scheduled Pinned Locked Moved XCP-ng
    24 Posts 6 Posters 240 Views 4 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.
    • O Offline
      ohthisis
      last edited by

      I rebooted the server and now I got:
      Screenshot at 2026-02-11 12-34-45.png

      P nikadeN 2 Replies Last reply Reply Quote 0
      • P Offline
        Pilow @ohthisis
        last edited by Pilow

        @ohthisis you have no bootable disk on this VM, or boot order is wrong.
        could you screen the DISKS tab and the ADVANCED tab ?

        1 Reply Last reply Reply Quote 0
        • DanpD Offline
          Danp Pro Support Team
          last edited by

          It is difficult to know the source of the problem without more details from your logs. Can you run the following commands on your XCP-ng host and then attach the generated files here?

          grep -A 15 -B 15 -i error /var/log/xensource.log/xensource > xensource.txt
          grep -A 15 -B 15 -i exception /var/log/SMlog > smlog.txt
          dmesg -T|grep -Eiv 'guest|capacity|promiscuous' > dmesg.txt
          
          1 Reply Last reply Reply Quote 0
          • O Offline
            ohthisis
            last edited by ohthisis

            Hello,
            This issue was related to XPC-ng and caused me to delete and recreate and configure one of the most important virtual machines I have. As I said, every virtual machine I create is only 33% complete, and when I try to turn on virtual machines that are already turned off, I get the message "VM state is halted but should be running".
            I had to turn the server off and back on to fix the problem. To be honest, I'm afraid to test again to see if the problem is fixed, because I have a VPN server that has a number of users connected to it, and I also have a monitoring server.
            If it is a hardware problem, the green lights on the hard drive should change to orange or red, but all the hard drive lights on the server are green. I think the problem is related to the stability of XCP-ng.

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

              XCP-ng is rock stable. We have (and Citrix does too) many many automated test for such basic operations. So you clearly have an issue somewhere triggering that problem.

              O 1 Reply Last reply Reply Quote 0
              • O Offline
                ohthisis @olivierlambert
                last edited by

                @olivierlambert Where? How to find it? As you can see, I only have 4 virtual machines on the XCP-ng host.

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

                  Starting with the documentation is a good thing: https://docs.xcp-ng.org/troubleshooting/

                  This will give you (and us) hints on what's going on 🙂

                  1 Reply Last reply Reply Quote 0
                  • nikadeN Offline
                    nikade Top contributor @ohthisis
                    last edited by

                    @ohthisis Go to the Disks tab of the VM, what does it look like?

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      DustinB @nikade
                      last edited by

                      A few things can be implied from his last screenshot and comments.

                      0c0e8bf0-94d0-4cb7-9363-37f1e7994fdd-image.png

                      His boot order is set to PXE boot first, disk next.
                      He has no bootable disk attached to the VM.

                      It's possible that the disk is "detached" from the VM. IE it says disconnected or whatever under disks.

                      My Example
                      6ab7b09c-4c81-4f18-928a-81ab86e389d6-image.png

                      He earlier mentioned that he "created a VM with PXE as boot" but what is his PXE server doing? Why not just download the ISO or import the image directly to XCP-ng and build a VM from that as a template.

                      nikadeN 1 Reply Last reply Reply Quote 0
                      • nikadeN Offline
                        nikade Top contributor @DustinB
                        last edited by

                        @DustinB yeah im guessing the VDI isn't attached to the VM for some reason, based on the screenshot.

                        Im also wondering if he ever rebooted the VM's after installing them with PXE 😛

                        D 1 Reply Last reply Reply Quote 0
                        • D Offline
                          DustinB @nikade
                          last edited by

                          @nikade said in Every virtual machine I restart doesn't boot.:

                          @DustinB yeah im guessing the VDI isn't attached to the VM for some reason, based on the screenshot.

                          Im also wondering if he ever rebooted the VM's after installing them with PXE 😛

                          Right, it's a likely answer... but even then I would've expected his PXE server to just restart the installation process all over again... assuming that the disk is attached to the VM etc and that PXE boot isn't disabled automatically like it is with an ISO after first boot.

                          haha

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