RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1028421 - Resource Agent "Delay" missing from updated resource-agents-3.9.2-21 package (RHEA-2013-1494)
Summary: Resource Agent "Delay" missing from updated resource-agents-3.9.2-21 package ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: resource-agents
Version: 6.6
Hardware: All
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: David Vossel
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks: 1032775 1032777
TreeView+ depends on / blocked
 
Reported: 2013-11-08 12:02 UTC by BugBuster666
Modified: 2014-10-14 04:59 UTC (History)
7 users (show)

Fixed In Version: resource-agents-3.9.2-41.el6
Doc Type: Bug Fix
Doc Text:
With this update, the "Delay" resource agent has been added to the resource-agent packages as an officially supported agent.
Clone Of:
Environment:
Last Closed: 2014-10-14 04:59:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 545873 0 None None None Never
Red Hat Product Errata RHBA-2014:1428 0 normal SHIPPED_LIVE resource-agents bug fix and enhancement update 2014-10-14 01:06:18 UTC

Description BugBuster666 2013-11-08 12:02:21 UTC
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

Comment 2 David Vossel 2013-11-08 15:30:25 UTC
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

Comment 3 BugBuster666 2013-11-08 16:13:48 UTC
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 :)

Comment 4 David Vossel 2013-11-20 19:35:56 UTC
This only requires a spec file change that removes the excludes line associated with the Delay agent and its man page.

Comment 10 michal novacek 2014-07-24 08:19:34 UTC
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

Comment 11 errata-xmlrpc 2014-10-14 04:59:56 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.

http://rhn.redhat.com/errata/RHBA-2014-1428.html


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