Bug 1388854

Summary: ocf:heartbeat:Delay might have better tuned defaults
Product: Red Hat Enterprise Linux 7 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: agk, cluster-maint, cluster-qe, fdinitto, idevat, mnovacek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: resource-agents-3.9.5-84.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1386187 Environment:
Last Closed: 2017-08-01 14:55:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1386187    
Bug Blocks:    

Comment 2 michal novacek 2017-05-17 12:50:56 UTC
I have verified that the startdelay is shorter than the monitor delay by
default which allow ocf:heartbeat:Delay to start correctly with
resource-agents-3.9.5-98.el7

-----

before the fix resource-agents-3.9.5-81.el7
===========================================

[root@virt-135 ~]# pcs resource create delay ocf:heartbeat:Delay stopdelay=15 

[root@virt-135 ~]# sleep 31

[root@virt-135 ~]# pcs status
...
 delay  (ocf::heartbeat:Delay): FAILED (virt-135)
...
Failed Actions:
* delay_start_0 on virt-137 'unknown error' (1): call=293, status=Timed Out, exitreason='none',
    last-rc-change='Wed May 17 14:41:43 2017', queued=0ms, exec=30004ms
* delay_start_0 on virt-135 'unknown error' (1): call=77, status=Timed Out, exitreason='none',
    last-rc-change='Wed May 17 14:42:28 2017', queued=0ms, exec=30012ms
* delay_monitor_0 on virt-136 'unknown error' (1): call=64, status=Timed Out, exitreason='none',
    last-rc-change='Wed May 17 14:41:13 2017', queued=0ms, exec=30004ms

after the fix resource-agents-3.9.5-98.el7
==========================================

[root@virt-135 ~]# pcs resource create delay ocf:heartbeat:Delay stopdelay=15 

[root@virt-135 ~]# sleep 31

[root@virt-135 ~]# pcs resource
> delay  (ocf::heartbeat:Delay): Started virt-135

Comment 3 errata-xmlrpc 2017-08-01 14:55:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2017:1844