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

    Rolling Pool Update - host took too long to restart

    Scheduled Pinned Locked Moved Xen Orchestra
    36 Posts 9 Posters 7.5k Views 6 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.
    • D Offline
      DustinB @olivierlambert
      last edited by

      @olivierlambert said in Rolling Pool Update - host took too long to restart:

      20 minutes to reboot? Wow 😬 Do you know what is taking so much time? We can change the default obviously.

      There is likely a faulty disk involved here that simply isn't known about yet.

      I would look further at the host as a whole before making changes that would impact everyone else.

      D 1 Reply Last reply Reply Quote 0
      • planedropP Offline
        planedrop Top contributor
        last edited by

        That is a really long reboot time, I'd investigate why it's taking so long, any even remotely modern server should be ~5 minutes even for a pretty long POST time. Even my super old Supermicro storage server from like 2015 boots in less than 5 minutes.

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

          @DustinB Not a faulty disk. It appears to be memory testing at boot time and at other times after init doing the same thing,

          The cluster is a pair of HPE ProLiant DL580 Gen9 servers, each with 2TB of RAM.

          Yes, I could turn off memory checking during startup, but I'd rather not.

          Danny

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Online
            olivierlambert Vates πŸͺ Co-Founder CEO
            last edited by

            Ping @pdonias : what value do we have right now? How about raising it to even longer?

            pdoniasP 1 Reply Last reply Reply Quote 0
            • pdoniasP Offline
              pdonias Vates πŸͺ XO Team @olivierlambert
              last edited by

              @olivierlambert By default, it's 20 minutes. And it's already configurable through xo-server's config by adding:

              [xapiOptions]
              restartHostTimeout = '40 minutes'
              
              1 Reply Last reply Reply Quote 3
              • Tristis OrisT Offline
                Tristis Oris Top contributor
                last edited by

                got that issue too. Sometimes server restart takes longer than usual, so rolling is canceled by timeout.
                Why it's so long? i dunno. Maybe some startup checks. Can't restart production to notice any difference.

                Is the timeout really requried?

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

                  Our Dell R630's with 512Gb RAM also takes a while to reboot, so yeah being able to adjust the value is great.

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

                    @Tristis-Oris said in Rolling Pool Update - host took too long to restart:

                    got that issue too. Sometimes server restart takes longer than usual, so rolling is canceled by timeout.
                    Why it's so long? i dunno. Maybe some startup checks. Can't restart production to notice any difference.

                    Is the timeout really requried?

                    If they have ECC it will check the memory, collect diagnostics and so on, it is pretty common on enterprise servers.

                    1 Reply Last reply Reply Quote 0
                    • olivierlambertO Online
                      olivierlambert Vates πŸͺ Co-Founder CEO
                      last edited by

                      Thanks @pdonias I forgot about this πŸ™‚ I didn't check in the doc, have we documented that too?

                      pdoniasP 1 Reply Last reply Reply Quote 0
                      • pdoniasP Offline
                        pdonias Vates πŸͺ XO Team @olivierlambert
                        last edited by

                        @olivierlambert It doesn't look like we did. It's documented in the config file but we can add it to the RPU doc too if necessary.

                        1 Reply Last reply Reply Quote 1
                        • olivierlambertO Online
                          olivierlambert Vates πŸͺ Co-Founder CEO
                          last edited by

                          Let's do that then, this will reduce a potential thread or two in here πŸ™‚

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

                            @olivierlambert I've made the needed adjustment in the build script to override the default. Now I wait for another set of patches to test it.
                            Thanks all.

                            1 Reply Last reply Reply Quote 2
                            • Tristis OrisT Offline
                              Tristis Oris Top contributor
                              last edited by

                              just installed latest updates, rolling again was canceled by timeout. Since that never happens before, i think it begin after some updates about 2-3 months ago.

                              1 Reply Last reply Reply Quote 0
                              • olivierlambertO Online
                                olivierlambert Vates πŸͺ Co-Founder CEO
                                last edited by

                                It's hard to give an answer because we are not inside your infrastructure. How long your host took to reboot in the end?

                                Tristis OrisT 1 Reply Last reply Reply Quote 0
                                • Tristis OrisT Offline
                                  Tristis Oris Top contributor @olivierlambert
                                  last edited by Tristis Oris

                                  @olivierlambert according to monitoring it takes 10min. >.<
                                  maaaybe some disabled VMs is started after reboot, so it was not enough memory for rolling.

                                  But at previous time, reboot really takes very long.

                                  i see here lack of logs. Nothing tell me that rolling was canceled.

                                  1 Reply Last reply Reply Quote 0
                                  • olivierlambertO Online
                                    olivierlambert Vates πŸͺ Co-Founder CEO
                                    last edited by

                                    We are introducing an XO task to monitor the RPU process. That will be easier to track the whole process πŸ™‚

                                    nikadeN 1 Reply Last reply Reply Quote 1
                                    • Tristis OrisT Offline
                                      Tristis Oris Top contributor
                                      last edited by

                                      next pool, almost empty, enough memory for rolling, reboot takes 5min.
                                      2nd host not updated.

                                      012f7325-f92b-403a-bd4b-9c665f2ac7fc-ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅.png

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

                                        @olivierlambert said in Rolling Pool Update - host took too long to restart:

                                        We are introducing an XO task to monitor the RPU process. That will be easier to track the whole process πŸ™‚

                                        This should also be displayed in the pool overview to make sure other admins dont start other tasks by mistake.
                                        In a perfect world there would be a indicative icon by the pool name and also a warning in the general pool overview with some kind of notification ,like "Pool upgrade in progress - Wait for it to complete before starting new tasks" or similar in a very red/orange/other visible color that you cant miss:

                                        5700d1b2-a686-4ee4-a033-116e5795aefc-bild.png

                                        1 Reply Last reply Reply Quote 0
                                        • olivierlambertO Online
                                          olivierlambert Vates πŸͺ Co-Founder CEO
                                          last edited by

                                          Good idea for XO 6 likely (because they are not XAPI but XO tasks and I don't think we planned to use the task to have an impact on XAPI objects). But that's a nice idea πŸ™‚ Adding @pdonias in the loop

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

                                            @olivierlambert I finally had a chance to apply patches to the two ProLiant servers with the 20 minute boot time and everything worked as expected.

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