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

    Hundreds of tasks stuck for months

    Scheduled Pinned Locked Moved Management
    10 Posts 4 Posters 1.8k 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.
    • T Offline
      tsrats
      last edited by

      On my instance of Xen-Orchestra, there is upwards of 880 tasks stuck and constantly refreshing/changing places in the list. There is not just one, but many:

      700+: "API call: sr.getAllUnhealthyVdiChainsLength"
      76: XO user authentication
      28: importing vms NNN
      21: xoa.licenses.getAll
      3: API call: session.getUser

      Some of these are recent, some like the importing vms are from last year. Is there some log or setting on XOA that retains these which can be cleared?

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        tsrats @tsrats
        last edited by

        @tsrats Meant to add, the XOA has been restarted multiple times during this issue, as have all XCP-ng connected hosts (as well as upgrades, all hosts and XOA are current)

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

          Question for @julien-f

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

            @tsrats Same here! Oldest one is from June 16th!

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              tsrats @manilx
              last edited by

              @manilx Mine go to Oct 2023 😉 in case its a contest haha.

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

                @tsrats It's a repeating issue: https://xcp-ng.org/forum/topic/8125/clear-xo-tasks/2

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

                  @manilx

                  Cleared the tasks by CLI in XO:

                  xo-cli register --allowUnauthorized http://XO_IP user
                  

                  entering password

                  and then:

                  xo-cli rest del tasks
                  
                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    tsrats @manilx
                    last edited by

                    @manilx said in Hundreds of tasks stuck for months:

                    xo-cli rest del tasks

                    Whew, thank you! Clearly my search skills failed me since I did not find that post myself 😞

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

                      @tsrats Actually had it bookmarked 😉 (like a few others)

                      1 Reply Last reply Reply Quote 1
                      • P Offline
                        piotrlotr1
                        last edited by

                        Hi,

                        Looks like we've got a similar problem on our newly deployed XOA (5.103.1).

                        There are approx. 500 tasks and some of them are "refreshing/changing places in the list".

                        Also, next to the "Tasks" button on the left inventory menu we can see "1" from time to time (screenshot: 03.PNG).

                        Haven't yet tried to clear it but would first understand why this is happening and maybe it can be perma fixed?

                        01
                        01.PNG

                        02
                        02.PNG

                        03
                        03.PNG

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post