Bug 999896 - When RuntimeException occurs at endAction, the endAction part will be rerun over and over again
Summary: When RuntimeException occurs at endAction, the endAction part will be rerun o...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 3.3.0
Assignee: Ravi Nori
QA Contact: Tareq Alayan
URL:
Whiteboard: infra
Depends On:
Blocks: 998239 999821
TreeView+ depends on / blocked
 
Reported: 2013-08-22 10:49 UTC by Yair Zaslavsky
Modified: 2016-02-10 19:24 UTC (History)
8 users (show)

Fixed In Version: si14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 18609 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.