RHEV/ovirt - find stucked / zombie tasks

Posted on Sun 14 August 2016 in ovirt • 1 min read

Random notes

$ vdsClient -s 0 getAllTasksStatuses
$ vdsClient stopTask 
$ vdsClient clearTask 
$ su - postgres
$ psql -d engine -U postgres
> select * from job order by start_time desc;
> select DeleteJob('702e9f6a-e2a3-4113-bd7d-3757ba6bc4ef');

or

/usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "select * from job;"