Clearing Failed XO Tasks
-
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.
-
@doogie06
register cli:xo-cli --register http://url login
then remove all tasks:xo-cli rest del tasks
-
-
-
@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)
-
@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.