Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 907465

Summary: engine: zombie tasks are not cleared when we cannot find master domain
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Yair Zaslavsky <yzaslavs>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.2CC: acathrow, bazulay, dyasny, hateya, iheim, lpeer, oourfali, pstehlik, Rhev-m-bugs, sgrinber, yeylon, ykaul, yzaslavs
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: sf8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 915537    
Attachments:
Description Flags
logs none

Description Dafna Ron 2013-02-04 13:28:10 UTC
Created attachment 692720 [details]
logs

Description of problem:

I had some tasks that became zombies and I moved my host to a different DC. 
the tasks, although zombie, could not be cleaned until I reconnected the pool about a week later. 

Version-Release number of selected component (if applicable):

si26.1

how reproducible:

Steps to Reproduce:
1. run several live storage migration tasks and restart vdsm 
2. put host in maintenance
3. create a new pool with the same host
4. wait for the tasks to become zombie tasks

Actual results:

engine fails to clean the zombie tasks if we cannot find master domain

Expected results:

we should be able to clean the tasks from the db since the tasks are already zombie tasks. 

Additional info: logs

Comment 1 Barak 2013-02-10 11:19:23 UTC
The problem is that when we reach a zombi state, we should not depend on whether there is an active SPM for clearing this task because:

- it should be cleaned ... too old
- in case no spm exist .. those tasks will not appear in it's task list there 
  for no cancel task API will be used.

Comment 3 Dafna Ron 2013-04-14 11:01:05 UTC
verified on sf13.1
I had zombie tasks and they were cleaned after 50 hours even after  I changed the DC. 
no errors in the engine log.

Comment 4 Itamar Heim 2013-06-11 09:27:54 UTC
3.2 has been released

Comment 5 Itamar Heim 2013-06-11 09:31:24 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 09:47:12 UTC
3.2 has been released