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

    Issue after latest host update

    Scheduled Pinned Locked Moved XCP-ng
    57 Posts 9 Posters 8.7k Views 9 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.
    • M Offline
      manilx @RealTehreal
      last edited by

      @RealTehreal Not being able to help BUT what I guess caused this was your point 4. You must restart/reboot the host after updates not restart toolstack.....

      RealTehrealR 1 Reply Last reply Reply Quote 0
      • RealTehrealR Offline
        RealTehreal @manilx
        last edited by

        @manilx
        The documentation states, that toolstack should be restarted after updates. That's why I always did it that way:

        https://docs.xcp-ng.org/management/updates/#from-command-line

        But anyway, the issues started after restarting the host.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          manilx @RealTehreal
          last edited by

          @RealTehreal I stand corrected. We always do the rolling pool update and let xoa take care of all of this 🙂

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

            Have you done a simple dmesg and check the output?

            RealTehrealR 1 Reply Last reply Reply Quote 0
            • RealTehrealR Offline
              RealTehreal @olivierlambert
              last edited by

              @olivierlambert I just did, but looks fine to me (dmesg.txt).

              I just tried to designate one of the slaves as the new master. Still cannot start VMs. I will now eject all slaves, reinstall XCP-NG on one of them, add it to the pool again and make it the new master. Then I'll try again. If that doesn't work as well, I'll reinstall on the third device, create a new pool for this device and try again.

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

                Could you do a mem test on the current master?

                What kind of storage are you using?

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

                  dmesg looks like, probably something else borked here.
                  You wrote in the reddit thread that you were able to start VM's but they never actually started and the task was stuck at 1.000 progress, is that still the case after electing a new master?

                  If yes, check "xentop" on the host where the VM was started to see if it's consuming resources.

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

                    Yeah I'm baffled because this is not something we've seen before on a "normal" setup, I really wonder where the problem lies 🤔

                    1 Reply Last reply Reply Quote 0
                    • RealTehrealR Offline
                      RealTehreal
                      last edited by

                      @olivierlambert The issue started on all three hosts after the latest update via yum update. I can't think of three devices having faulty memory, just one after another. Before the issue, I used a NFS share as VM storage. But I already deployed XOA on local storage (LVM). Same issue on all three hosts.

                      @nikade First, I'll redeploy XOA on the pool master and take a look at xentop. Regarding xsconfig, every VM runs with one vCore at 100% all the time and not responding to anything. xe vm-list always lists them as running, though. Being in this state, the only way to shut down VMs is forced shutdown, since they won't react to soft shutdown command.

                      I never had such issues, either. I'm running my setup for about a year now, did several updates via cli. Likewise, I'm baffled, that everything suddenly went down the flush, too.

                      1 Reply Last reply Reply Quote 0
                      • RealTehrealR Offline
                        RealTehreal
                        last edited by

                        xentop shows XOA consuming 100.0 CPU (%), meaning one core. But quick deployment is stuck at "almost there", until it times out. The VM is still consuming one CPU core, while not being accessible.

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

                          I cant really understand what happend to be honest, i've done this many times without issues.
                          What can you see in the console tab of the VM when u start it? Or in the stats tab?

                          RealTehrealR 1 Reply Last reply Reply Quote 0
                          • J Offline
                            john.c
                            last edited by

                            @RealTehreal What's the state of the network stack is it up and what's the activity percentage?

                            1 Reply Last reply Reply Quote 0
                            • RealTehrealR Offline
                              RealTehreal
                              last edited by

                              @nikade @john-c I'm not sure... how do I elaborate? At least, I can ssh into the hosts and never disconnect.

                              1 Reply Last reply Reply Quote 0
                              • RealTehrealR Offline
                                RealTehreal @nikade
                                last edited by

                                @nikade said in Issue after latest host update:

                                I cant really understand what happend to be honest, i've done this many times without issues.
                                What can you see in the console tab of the VM when u start it? Or in the stats tab?

                                I can'T see anything, because XOA itself is inaccessible, since it's a VM. And VMs won't start into a usable state.

                                J 1 Reply Last reply Reply Quote 0
                                • J Offline
                                  john.c @RealTehreal
                                  last edited by john.c

                                  @RealTehreal said in Issue after latest host update:

                                  @nikade said in Issue after latest host update:

                                  I cant really understand what happend to be honest, i've done this many times without issues.
                                  What can you see in the console tab of the VM when u start it? Or in the stats tab?

                                  I can'T see anything, because XOA itself is inaccessible, since it's a VM. And VMs won't start into a usable state.

                                  Anything in the XCP-ng 8.2.1 host logs for it attempting to start the VM and generally? It may hold clues, about any underlying issues.

                                  Also any appropriate logs for the NFS storage server would help, as that may reveal anything that can be causing issues on its end.

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

                                    Any specific MTU settings?

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

                                      A way to check if it's not network related would be using a local SR to boot a VM and see if it works.

                                      RealTehrealR 1 Reply Last reply Reply Quote 0
                                      • RealTehrealR Offline
                                        RealTehreal @john.c
                                        last edited by

                                        @john-c I already took a look at dmesg and /var/log/xensource.log (I crawled through >1k log lines) and couldn't find anything revealing. The NFS server is unrelated, because, as stated before, I currently only use host's local storage to eliminate possible external issues.

                                        1 Reply Last reply Reply Quote 0
                                        • RealTehrealR Offline
                                          RealTehreal @olivierlambert
                                          last edited by

                                          @olivierlambert That's what I'm doing, to make sure, it's not a network related issue.

                                          1 Reply Last reply Reply Quote 0
                                          • RealTehrealR Offline
                                            RealTehreal @olivierlambert
                                            last edited by

                                            @olivierlambert I didn't change anything, at least. Just yum update and it went down the flush.

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