Hello,
I'm struggling with an hanged task. I can see it from RestAPI (and UI) as:
<job href="/ovirt-engine/api/jobs/9326a95e-4686-4205-bbac-b552beae4d29"
id="9326a95e-4686-4205-bbac-b552beae4d29">
<actions>
<link
href="/ovirt-engine/api/jobs/9326a95e-4686-4205-bbac-b552beae4d29/clear"
rel="clear"/>
<link
href="/ovirt-engine/api/jobs/9326a95e-4686-4205-bbac-b552beae4d29/end"
rel="end"/>
</actions>
<description>Adding Disk</description>
<link
href="/ovirt-engine/api/jobs/9326a95e-4686-4205-bbac-b552beae4d29/steps"
rel="steps"/>
<auto_cleared>true</auto_cleared>
<external>false</external>
<last_updated>2018-11-23T18:40:59.466+01:00</last_updated>
<start_time>2018-11-23T18:06:18.512+01:00</start_time>
<status>started</status>
<owner href="/ovirt-engine/api/users/6f4573b6-0cf1-4cbb-ac03-bf8e126b394c"
id="6f4573b6-0cf1-4cbb-ac03-bf8e126b394c"/>
</job>
The job is hanged since user has killed fallocate process on the host. However, I
can't kill task from the hosts itself since vdsm-client returns zero task on any
host:
# vdsm-client Host getAllTasksInfo
{}
How can I deal with it? I already tried to restart ovirt-engine.service but task is still
there and prevent me to put the involved storage domain into maintenance.
I also tried the "clear" method for service "job" via RestAPI but it
fails since it's not an external job.
Thank you,
--
Stefano Stagnaro
Prisma Telecom Testing S.r.l.
Via Petrocchi, 4
20127 Milano – Italy
Tel. 02 26113507 int 339
e-mail: stefanos(a)prismatelecomtesting.com
skype: stefano.stagnaro