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

    After installing updates: 0 bytes free, Control domain memory = 0B

    Scheduled Pinned Locked Moved XCP-ng
    92 Posts 7 Posters 31.9k Views 5 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      Is it better now?

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        Dataslak @olivierlambert
        last edited by Dataslak

        @olivierlambert
        I can not see any change to the problem.
        The host still starts up in maintenance mode. Memory reports no space left despite no VMs running. Not even the host barebone OS itself is shown on the empty memory bar under the "General" tab.

        82d7f004-b3fb-48ba-a890-ed38e9eddba2-image.png

        0882f07a-3d06-4012-9fff-f72955f62eab-image.png

        8a1425c5-a916-45dd-a621-cb28bdac79b6-image.png

        3a8c9ebf-15b4-4645-a8c3-fbad945ce85a-image.png

        When trying to start a VM:

        46d96823-2db4-4f85-9a99-eddd35287a20-image.png

        8849a45d-c30f-423d-8663-a4286a4ea405-image.png

        The full message text:

        -1(list index out of range, , Traceback (most recent call last):
        File "/etc/xapi.d/plugins/xcpngutils/init.py", line 119, in wrapper
        return func(*args, **kwds)
        File "/etc/xapi.d/plugins/hyperthreading.py", line 17, in get_hyperthreading
        return json.dumps(int(lines[0]) > 1)
        IndexError: list index out of range

        When I google "AMD HyperThreading" (since this is not an Intel-system but AMD): Google says "Hyper-threading is the Intel technology name, and commonly known name, for the Computing concept known as simultaneous multithreading. AMD have an equivalent technology known as Cluster Multi-threading."
        This is enabled by default in BIOS (and I reset BIOS to defaults before upgrading BIOS just an hour ago).

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

          What's the output of xl dmesg

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            Dataslak @olivierlambert
            last edited by Dataslak

            @olivierlambert
            6222dd33-8819-441c-b834-bcc39e3d6c87-image.png

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

              You have an issue: I'm pretty sure you are using Xen 4.13 while using the 4.17 tooling around, causing this problem. So the question is "why are you booting on 4.13?". Double check your Grub menu when you boot, to see that you actually boots on Xen 4.17

              D nikadeN 2 Replies Last reply Reply Quote 1
              • D Offline
                Dataslak @olivierlambert
                last edited by Dataslak

                @olivierlambert
                https://xcp-ng.org/forum/assets/uploads/files/1714683479351-b73237cc-8f27-4789-a9d3-5e322c2cd244-image.png

                Answer to your question : I don't know 🙂
                Six servers have been running fine for months. Then i accepted XO's request to install these updates and the problem manifested on all six.
                I did nothing to XCP-ng for months before this happened. Did nothing other than reboot one host after, which then made me realize that something was seriously wrong since no VMs came up. I then also saw the other problems shown in screen clippings earlier in this chat.
                Luckily the VMs continued running on the other hosts. I am very happy I only rebooted one first. Or all VMs would have been down for days.

                Lacking in mental capacity to understand what has happened I am therefore hoping you and your eminent staff can "Sherlock Holmes" this :-).
                How can the abovementioned updates have triggered it?
                Can it happen to others?

                I may have waited too long between checking if updates were waiting to be installed. Could this have caused the problem? Were they installed in incorrect order?

                I can not find Xen 4.17 in the boot menu. How do I fix this? Should I create a new 8.3 installation media and try to upgrade the system? Can I do this safely without damaging VMs?

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

                  Well, first, you are on XCP-ng 8.3, right? It's still a beta, so by definition this could happen (especially a jump like this from Xen 4.13 to 4.17). If you want guarantee stability, you have to stick to our LTS version.

                  Anyway, to know which Xen version you are running, you can do a: cat /sys/hypervisor/version/minor. If it's 17, then you are on Xen 4.17 and that's your issue. I don't know how this could happen in the first place, like if the Grub file was never updated or tinkered before.

                  To check a bit more, when on Grub, press "e" key to edit the first entry and make a picture to see what's displayed there. I'm thinking on a way to regen Grub that will take the right Xen version into account (ping @stormi )

                  D 1 Reply Last reply Reply Quote 1
                  • D Offline
                    Dataslak @olivierlambert
                    last edited by

                    @olivierlambert
                    I had to use 8.3 on these newest 6 hosts since 8.2.1 gave me a black screen mid-way in the installation. I guess because of missing drivers. The forum adviced 8.3 and that worked wonderfully. It has been working fine for more than 1/2 year (forgot when I started using it).

                    I did not register well enough that i was running a risk by doing this. Mea culpa.

                    6947659b-9af6-41c5-8723-d590e3328b1d-image.png

                    8a59e273-aa51-431e-8e85-babf38a417b8-image.png

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

                      @Dataslak
                      I am late to a meeting with customers. I would much rather stay in the office to work with this. But when I come back in a couple of hours I will eagerly check for a recipe/howto on what to do next, and then carefully follow those.
                      I am very optimistic now. Thank you all for assisting and to @olivierlambert for the big development today.

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

                        So now we know the problem, the next step will be to solve it 🙂

                        Let's check what's going on in /boot with a ls -la /boot

                        D 1 Reply Last reply Reply Quote 1
                        • nikadeN Offline
                          nikade Top contributor @olivierlambert
                          last edited by

                          @olivierlambert said in After installing updates: 0 bytes free, Control domain memory = 0B:

                          You have an issue: I'm pretty sure you are using Xen 4.13 while using the 4.17 tooling around, causing this problem. So the question is "why are you booting on 4.13?". Double check your Grub menu when you boot, to see that you actually boots on Xen 4.17

                          Nice catch, this is what community is all about 🙂

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            Dataslak @olivierlambert
                            last edited by

                            @olivierlambert
                            I love and respect your attitude 🙂
                            f956c2c2-c3dd-4ae4-9204-b61fbdae202f-image.png

                            Agree wholeheartedly with @nikade 🙂

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

                              So /boot/xen.gz is pointing to xen-4.17.3-4.gz, which sounds correct. So why you are still running on Xen 4.13? 🤔 It's like you did not reboot, but since you showed me the Grub menu, I'm assuming you already did 🤔

                              It would be interesting to compare the existing xen file and see if it's the right one from our repo. Something is fishy here 🤔

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

                                Can you md5sum xen-4.17.3-4.gz

                                From the mirror & RPM, I have f011721be0c7b57563e29ed282558da3

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

                                  Adding @yann in the loop in case I'm missing something obvious

                                  1 Reply Last reply Reply Quote 0
                                  • yannY Offline
                                    yann Vates 🪐 XCP-ng Team @Dataslak
                                    last edited by

                                    @Dataslak what does lsblk -o name,mountpoint,label,size,uuid show?

                                    D 1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      Dataslak @olivierlambert
                                      last edited by

                                      @olivierlambert
                                      c08e011f-a210-471f-87c9-ed421595dac5-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        Dataslak @yann
                                        last edited by

                                        @yann
                                        Hello Yann, thank you for pitching in.
                                        7c30db11-59d4-4898-a19b-83a933e8f9ee-image.png

                                        yannY 1 Reply Last reply Reply Quote 0
                                        • yannY Offline
                                          yann Vates 🪐 XCP-ng Team @Dataslak
                                          last edited by

                                          @Dataslak can you please request a commandline from GRUB (hit c on the boot menu), and issue the following commands:

                                          echo $root
                                          search --label --set root root-eqjpzg
                                          echo $root
                                          
                                          D 1 Reply Last reply Reply Quote 1
                                          • olivierlambertO Offline
                                            olivierlambert Vates 🪐 Co-Founder CEO
                                            last edited by olivierlambert

                                            Also a cat /proc/mdstat in the Dom0 would help.

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