Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1115024

Summary: Pacemaker doesn't wait for systemd resource start
Product: Red Hat Enterprise Linux 7 Reporter: Jan Kurik <jkurik>
Component: pacemakerAssignee: Andrew Beekhof <abeekhof>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.0CC: abeekhof, cfeist, cluster-maint, djansa, dvossel, fdinitto, jeckersb, jherrman, mjuricek, pm-eus, rohara, tlavigne
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pacemaker-1.1.10-32.el7_0 Doc Type: Bug Fix
Doc Text:
Prior to this update, the systemd API was triggered immediately after a "start" action was initiated by the pacemaker utility, rather than when the action was completed. As a consequence, processes that depend on the completion of the "start" action were initiated but failed. With this update, the systemd API is only triggered when the service enters the "active" state or when a pre-configured timeout is reached. As a result, processes dependent on the completion of "start" now execute as expected.
Story Points: ---
Clone Of: 1111747 Environment:
Last Closed: 2014-07-21 08:08:20 UTC Type: ---
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: 1111747    
Bug Blocks:    

Description Jan Kurik 2014-07-01 12:48:43 UTC
This bug has been copied from bug #1111747 and has been proposed
to be backported to 7.0 z-stream (EUS).

Comment 3 Andrew Beekhof 2014-07-04 03:35:45 UTC
Build is done

Comment 6 Andrew Beekhof 2014-07-09 22:48:19 UTC
Martin: With the benefit of some sleep, I think this is a testing artefact.

Basically the service was sleeping for longer than pacemaker's default action timeout.
So pacemaker was legitimately reporting the operation as failed/timed out.

Can you try again, but this time change 'ExecStart=/usr/bin/sleep 20' to 'ExecStart=/usr/bin/sleep 15' please?

It should retry for about 15s and then report success.

Comment 7 Andrew Beekhof 2014-07-09 22:54:18 UTC
The reproducer service in https://bugzilla.redhat.com/show_bug.cgi?id=1111747#c3 is also a better one to follow :)

Comment 11 errata-xmlrpc 2014-07-21 08:08:20 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-0903.html