Bug 1451413

Summary: Introduce limit on repeating end method on command callbacks
Product: [oVirt] ovirt-engine Reporter: Ravi Nori <rnori>
Component: Backend.CoreAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: bugs, lsvaty, masayag, mgoldboi, mperina
Target Milestone: ovirt-4.2.0Keywords: CodeChange
Target Release: 4.2.0Flags: rule-engine: ovirt-4.2+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 10:10:29 UTC 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:

Description Ravi Nori 2017-05-16 15:15:52 UTC
Description of problem: 

When command callback's onSucceeded or onFailed method throws an exception (like NullPointerException) and the callback has overridden shouldRepeatEndMethodsOnFail to return true, CommandCallbacksPoller keeps retrying the end method. This causes flooding in the logs for the failure to invoke the end method on the callback.


Expected results:

There should be a limit on the number of times CommandCallbacksPoller tries to execute the end method of the callback.

Comment 1 Sandro Bonazzola 2018-02-12 10:10:29 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.