Hide Forgot
Description of problem: After updating to the latest pacemaker / resource agents release on RHEL (CentOS), (https://rhn.redhat.com/errata/RHEA-2013-1494.html) we found that the "Delay" Resource Agent is missing from the package. Before it was part of the resource-agents package. This missing resource agents leads to unexpected cluster behaviour after the update of pacemaker and resource-agents. Version-Release number of selected component (if applicable): resource-agents-3.9.2-21.el6_4.8 How reproducible: Upgrade the resource-agents package from resource-agents-3.9.2-21.el6_4.3 to resource-agents-3.9.2-21.el6_4.8. See if "Delay" resource agents is part of the package. Delay resource agent is missing, while it was part of resource-agents version resource-agents-3.9.2-21.el6_4.3. [root@SRV~]# LANG=C ls -al /usr/lib/ocf/resource.d/heartbeat/Delay ls: cannot access /usr/lib/ocf/resource.d/heartbeat/Delay: No such file or directory Steps to Reproduce: 1. install resource-agents-3.9.2-21.el6_4.3 2. verify /usr/lib/ocf/resource.d/heartbeat/Delay exists 3. upgrade resource-agents-3.9.2-21.el6_4.8 4. verify /usr/lib/ocf/resource.d/heartbeat/Delay missing Actual results: Resource agent /usr/lib/ocf/resource.d/heartbeat/Delay missing. Expected results: Resource agent /usr/lib/ocf/resource.d/heartbeat/Delay should be within the package, as during minor version upgrades no Resource Agents should be removed !! (this update is not even a real version inclease .. to much change within an enterprise distribution). Also the removal of the Agent was not listed in the errata (https://rhn.redhat.com/errata/RHEA-2013-1494.html). Additional info: Please add /usr/lib/ocf/resource.d/heartbeat/Delay to resource-agents again and provide an updates package. Regards, Robert
Delay is blind to whether or not the condition that is being waited on has completed or not. This is generally not a recommended approach. Can you describe your usage of Delay. This agent was removed because we were unable to come up with a supportable use-case for the agent. Thanks, -- Vossel
Hello, that's what Andrew B. also asked :) Use case details here: http://www.mail-archive.com/pacemaker@oss.clusterlabs.org/msg18189.html We have a setup of load balancing via OSPF (ECMP). We must make sure that some service is stopped not before 30 seconds (or better OSPF heartbeat timeout) after the stop of the OSPF deamon (quagga). This allows seamless failover without any downtime. - OSPF session active and traffic is routed to our load balancer - crm node standby - now OSPFD should be stopped (now ~<OSPF dead detection timeout> seconds, traffic is still routed to our node, which we want to service, in our case ~10sec) - we wait 30 seconds (with Delay) (after ~<OSPF dead detection timeout> seconds, no more traffic to our "standby node") - now the load balanced service should be stopped For this we need Delay :)
This only requires a spec file change that removes the excludes line associated with the Delay agent and its man page.
I have verified that Delay resource agent is present in resource-agents-3.9.5-11.el6.x86_64. ----- # rpm -q resource-agents resource-agents-3.9.5-11.el6.x86_64 # ls -l /usr/lib/ocf/resource.d/heartbeat/Delay -rwxr-xr-x. 1 root root 4761 Jul 7 20:17 /usr/lib/ocf/resource.d/heartbeat/Delay
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. http://rhn.redhat.com/errata/RHBA-2014-1428.html