Bug 999896

Summary: When RuntimeException occurs at endAction, the endAction part will be rerun over and over again
Product: Red Hat Enterprise Virtualization Manager Reporter: Yair Zaslavsky <yzaslavs>
Component: ovirt-engineAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Tareq Alayan <talayan>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.3.0CC: acathrow, amureini, iheim, lpeer, oourfali, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: CodeChange
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: si14 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: 998239, 999821    

Description Yair Zaslavsky 2013-08-22 10:49:39 UTC
Description of problem:

From CommandAsyncTask.EndCommandAction :

It can be seen vdcReturnValue  = Backend.getInstance().endAction is invoked in try catch block.
in case of RuntimeException the exception is just logged.
HandleEndActionResults gets vdcReturnValue as parameter, and if its null, the task is repolled.



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

endAction is run over and over again.


Expected results:

endAction should be run only once, log should clearly indicate that something wrong occured during running of endAction of the command.



Additional info:

Comment 6 Allon Mureinik 2013-09-01 08:34:29 UTC
Closing bug 998239 as a duplicate of this bug, since once this one is closed, there will be no additional actions to fix 998239.

When verifying, please take these step under consideration:

Steps to Reproduce:
Create NFS Data Center with two Storage Domain
Create VM with one disk
Start to install OS on this VM
During installation OS, run Live Storage Migration (LSM)


Actual results:
Failed run LSM

Expected results:
Succeed run LSM

Impact on user:
Failed run LSM

Comment 7 Allon Mureinik 2013-09-01 08:35:03 UTC
*** Bug 998239 has been marked as a duplicate of this bug. ***

Comment 9 Tareq Alayan 2013-09-18 07:09:44 UTC
verified.
is14

Comment 10 Itamar Heim 2014-01-21 22:33:06 UTC
Closing - RHEV 3.3 Released

Comment 11 Itamar Heim 2014-01-21 22:33:11 UTC
Closing - RHEV 3.3 Released