<div dir="ltr">Thanks Paul....</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 10, 2015 at 2:07 AM, Paul Heinlein <span dir="ltr">&lt;<a href="mailto:heinlein@madboa.com" target="_blank">heinlein@madboa.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 9 Apr 2015, Punit Dambiwal wrote:<br>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I have checked and found two tasks running from last 14 hours and there is no option to kill it...<br>
<br></span><span class="">
Inline image 1<br>
<br>
from the SPM host :- <br>
[root@cpu11 ~]# vdsClient -s 0 getAllTasksStatuses<br>
{&#39;status&#39;: {&#39;message&#39;: &#39;OK&#39;, &#39;code&#39;: 0}, &#39;allTasksStatus&#39;: {}}<br>
<br>
[root@cpu11 ~]#<br>
<br>
Please let me know how i can kill those processes...<br>
</span></blockquote>
<br>
There may be a officially blessed method for killing zombie tasks, but my experience is that all you can do is delete them from the database.<br>
<br>
On the ovirt-engine server, get a psql shell, e.g.,<br>
<br>
  psql -d engine -U postgres<br>
<br>
Data about running tasks are stored in the job table. You might find this query interesting:<br>
<br>
  select * from job order by start_time desc;<br>
<br>
Grab the job_id for the task you want to delete, then use the DeleteJob procedure, e.g.,<br>
<br>
  select DeleteJob(&#39;8424f7a9-2a4c-4567-<u></u>b528-45bbc1c2534f&#39;);<br>
<br>
Give the web GUI a minute or so to catch up with you. The tasks should be gone.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Paul Heinlein<br>
<a href="mailto:heinlein@madboa.com" target="_blank">heinlein@madboa.com</a><br>
45°38&#39; N, 122°6&#39; W</font></span></blockquote></div><br></div>