Bug 1115024
| Summary: | Pacemaker doesn't wait for systemd resource start | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Kurik <jkurik> |
| Component: | pacemaker | Assignee: | Andrew Beekhof <abeekhof> |
| Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 7.0 | CC: | abeekhof, cfeist, cluster-maint, djansa, dvossel, fdinitto, jeckersb, jherrman, mjuricek, pm-eus, rohara, tlavigne |
| Target Milestone: | rc | Keywords: | 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
Build is done 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. The reproducer service in https://bugzilla.redhat.com/show_bug.cgi?id=1111747#c3 is also a better one to follow :) 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 |