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

    Clearing Failed XO Tasks

    Scheduled Pinned Locked Moved Solved Management
    4 Posts 3 Posters 1.1k Views 2 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
      doogie06
      last edited by

      How can I clear these XO failed tasks? I have a small xcp-ng cluster, 2 hosts and an xoa from source build on Ubuntu Server. I haven't been able to find a way to clear these tasks.

      f6adde93-5eb4-41c6-a8ba-ce80260cfd4f-CleanShot 2024-05-07 at 23.58.03@2x.png

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

        @doogie06
        register cli: xo-cli --register http://url login
        then remove all tasks: xo-cli rest del tasks

        D 1 Reply Last reply Reply Quote 4
        • olivierlambertO olivierlambert marked this topic as a question on
        • olivierlambertO olivierlambert has marked this topic as solved on
        • D Offline
          doogie06 @Tristis Oris
          last edited by

          @Tristis-Oris Thank you so much! I had been pounding my head on this one; all other research I had uncovered didn't get me to this solution.

          Note: I did have to add --allowUnauthorized as my XOA interface is only available on HTTPS and I'm using a self-signed. (xo-cli --register --allowUnauthorized https://url login)

          X 1 Reply Last reply Reply Quote 0
          • X Offline
            XCP-ng-JustGreat @doogie06
            last edited by

            @doogie06 Thank you too! I also have XO setup for self-signed TLS access. I knew about the xo-cli task deletion command, but always had to disable TLS in my /root/.config/xo-server/config.toml file and then restart xo-server.service to delete the orphaned tasks. The allowUnauthorized parameter was just what I needed. That's why this community is really wonderful. Thanks again.

            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