Created attachment 1427103 [details]
Description of problem:
When trying to fence a host with unreachable first agent (not concurrent) the fencing now takes 3 times as long as with the first agent reachable.
Before this took about the same as it tried to use the second agent right after 3 attempts between which were no timeouts, now there is a 3 minute timeout after failed fence action after which it tries the same agent again (4 times), thus fencing takes 20 minutes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. add fake fencing agent to a host
2. add second fencing agent to a host (this one should work)
3. execute fence action restart
host takes 20 minutes to be fenced
this action should not try the same fencing agent so often and with so large timeouts between retries
Verified on: ovirt-engine-220.127.116.11-0.1.el7.noarch
2nd fencing device used if 1st one was faulty
This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018.
Since the problem described in this bug report should be
resolved in oVirt 4.2.4 release, it has been closed with a resolution of CURRENT RELEASE.
If the solution does not work for you, please open a new bug report.