Bug 1463033
Summary: | attrd_updater returns before the update is applied anywhere | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Andrew Beekhof <abeekhof> |
Component: | pacemaker | Assignee: | Chris Lumens <clumens> |
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 8.0 | CC: | cfeist, cluster-maint, kgaillot, msmazova |
Target Milestone: | pre-dev-freeze | Keywords: | Reopened, Triaged |
Target Release: | 8.8 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | pacemaker-2.1.5-4.el8 | Doc Type: | Enhancement |
Doc Text: |
Feature: The attrd_updater command now accepts a --wait option that can take "no" (to preserve current behavior of returning immediately), "local" (to not return until a local query would return the new value), or "cluster" (to not return until querying any node would return the new value).
Reason: Some use cases for node attributes have timing issues if they proceed before an attribute change is effective.
Result: Users (including resource agents) can now choose an attribute synchronization point appropriate to their use case.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-16 08:35:22 UTC | Type: | Enhancement |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | 2.1.6 |
Embargoed: |
Description
Andrew Beekhof
2017-06-20 00:52:54 UTC
Due to capacity constraints, this is unlikely to be addressed in the 7.5 timeframe It might make a useful command-line option, e.g. --sync=(no|local|cluster). A default of "no" would preserve current behavior, but affected RAs would all need to be modified to add --sync=cluster (but only when supported). A default of "cluster" would give the most correct behavior across all RAs automatically, but would lengthen response times, possibly surprising users with tight timeouts configured. Not sure which is better. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. An equivalent request has been filed upstream After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. attrd_updater supports a --wait option that can be set to "no" (the default, which maintains the previous behavior) or "local" (to wait until a local query would return the value), as of commit 281e3756 in the upstream main branch Support for "cluster" is in progress Fixed as of commit 57e79ffb in the upstream main branch verified as SanityOnly in pacemaker-2.1.5-4.el8 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 (pacemaker bug fix and enhancement update), 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-2023:2818 |