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

    Endless Xapi#getResource /rrd_updates in tasks list

    Scheduled Pinned Locked Moved XCP-ng
    85 Posts 10 Posters 27.5k Views 10 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

      You mean you don't have this issue since which commit exactly?

      MathieuM 1 Reply Last reply Reply Quote 0
      • MathieuM Offline
        Mathieu @olivierlambert
        last edited by

        @olivierlambert
        I mean if use commit 0ccfd4b, there is no issue, if I use a more recent one, like the latest 583c7, the issue is appearing.

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

          Can you find the exact one causing the issue? That might be very helpful 🙂

          1 2 Replies Last reply Reply Quote 0
          • 1 Offline
            14wkinnersley @olivierlambert
            last edited by

            @olivierlambert
            I am still testing but so far have been able to determine it started between the 0ccfd4b - Mar 14 commit (@Mathieu stated was working) and the 8e5d94d - Mar 15 commit (Xapi#getResource /rrd_update errors). I am testing each commit (six commits) between those individually and will report back, it's just taking some time to load each one and then wait for the logs to build.

            1 Reply Last reply Reply Quote 0
            • 1 Offline
              14wkinnersley @olivierlambert
              last edited by

              @olivierlambert
              Appears the issue started on commit 6c16055 for fix(xen-api): various undici fixes

              c6451cf - Mar 14 - Working, no hanging logs
              6c16055 - Mar 15 - Broken - Hanging logs for Xapi#getResource /rrd_update

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

                Ping @julien-f

                1 Reply Last reply Reply Quote 0
                • julien-fJ Offline
                  julien-f Vates 🪐 Co-Founder XO Team @14wkinnersley
                  last edited by

                  @14wkinnersley Commit 583c728 should have fixed the issue, please test with latest master.

                  1 1 Reply Last reply Reply Quote 1
                  • 1 Offline
                    14wkinnersley @julien-f
                    last edited by

                    @julien-f I updated to master, but still seeing hanging logs for Xapi#getResource /rrd_update

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

                      Even after restarting the toolstack to get rid of the previous tasks?

                      1 1 Reply Last reply Reply Quote 0
                      • 1 Offline
                        14wkinnersley @olivierlambert
                        last edited by

                        @olivierlambert Correct, toolstack has been restarted on the master. I have not tried any reboots yet of my hosts in the cluster, or of XO.

                        1 Reply Last reply Reply Quote 0
                        • 1 Offline
                          14wkinnersley
                          last edited by 14wkinnersley

                          Just wanted to provide some additional details/screenshots to help in anyway possible.

                          My configuration has the master host at 192.168.1.4
                          I have 3 hosts in the cluster.
                          XO is on a Ubuntu VM at 192.168.1.15
                          Firewall at my router is allowing all traffic in that same VLAN.
                          Seems to gain 1-2 hanging logs every 1-4 minutes. I can ping the hosts from XO VM using either IP or DNS name.

                          Task List:
                          Screenshot 2024-03-27 081251.png

                          Host - Master:
                          Screenshot 2024-03-27 081306.png

                          Commit:
                          Screenshot 2024-03-27 081333.png

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

                            Can you try to destroy your XO folder, re-pull, rebuid to be sure there's no leftovers?

                            1 2 Replies Last reply Reply Quote 0
                            • 1 Offline
                              14wkinnersley @olivierlambert
                              last edited by

                              @olivierlambert Will try it now and report back

                              1 Reply Last reply Reply Quote 0
                              • 1 Offline
                                14wkinnersley @olivierlambert
                                last edited by

                                @olivierlambert
                                No luck. Destroyed xo folder, rebooted, rebuilt xo from sources, restarted toolstack. Still having the logs building.

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

                                  Okay thanks, we'll try to see if we can reproduce it here.

                                  MathieuM 1 Reply Last reply Reply Quote 1
                                  • MathieuM Offline
                                    Mathieu @olivierlambert
                                    last edited by

                                    @olivierlambert
                                    I can also confirm that the issue is still there on my host with XO updated to master with latest commit a548a.

                                    1 Reply Last reply Reply Quote 0
                                    • U Offline
                                      uwood
                                      last edited by

                                      It is gone with a548a after I've restarted XO and toolstack.

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

                                        That's confusing. @Mathieu do you confirm?

                                        MathieuM U 2 Replies Last reply Reply Quote 0
                                        • MathieuM Offline
                                          Mathieu @olivierlambert
                                          last edited by

                                          @olivierlambert
                                          Yes, confusing, indeed 😄
                                          I just now restarted XO and the toolstack one more time to be sure. Yesterday, it was OK at the beginning but the issue reappeared after a few hours.
                                          I'll let you know ASAP.

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

                                            Thanks!

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