So you know what makes me angry? Tasks that won’t stop running. This happened to me at work and it infuriated me. I had to go though mailing lists to figure it out, but here is the solution.
SSH into ovirt-engine as root, then run:
psql -d engine -U postgres
select * from job order by start_time desc;
This group of commands switches us to the postgres user, allowing access to the oVirt database. Then we access said database and list all the columns and rows in the job table.
Grab the job_id for the task you want to delete, then use the DeleteJob procedure:
Give the web GUI a minute or so to catch up with you. The tasks should be gone. If it is still running, make sure the UUID was correct.
If when you try and run
psql you get
command not found, try using this after switching to the postgres user:
scl enable rh-postgresql10 "psql -d engine -U postgres"
And then picking up at the select command.