Bug 2224046

Summary: Dampening ignored by attrd_updater -U for initial attribute creation
Product: Red Hat Enterprise Linux 8 Reporter: Ken Gaillot <kgaillot>
Component: pacemakerAssignee: Ken Gaillot <kgaillot>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 8.8CC: cfeist, cluster-maint, mjuricek, msmazova
Target Milestone: rcKeywords: Regression, Triaged, ZStream
Target Release: 8.9   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: pacemaker-2.1.6-5.el8 Doc Type: Bug Fix
Doc Text:
Cause: Since upstream version 2.1.5, a regression caused attrd_updater to ignore the -d/--delay option when combined with -U/--update. Consequence: A node attribute created with attrd_updater using the -U/-update and -d/--delay options would not have the desired delay. Fix: The -d/--delay option is again considered when used with -U/--update. Result: The desired delay is effective.
Story Points: ---
Clone Of:
: 2224051 2224070 (view as bug list) Environment:
Last Closed: 2023-11-14 15:32:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version: 2.1.7
Embargoed:
Bug Depends On:    
Bug Blocks: 2224051, 2224070    

Description Ken Gaillot 2023-07-19 16:33:54 UTC
Description of problem: When the attrd_updater tool is given the -U/--update option and the -d/--delay option, the behavior before RHEL 8.8 was that the delay would be used if the node attribute needed to be created, and ignored otherwise. Since RHEL 8.8, the delay is always ignored, due to a regression introduced in pacemaker upstream version 2.1.5.


Version-Release number of selected component (if applicable): 2.1.5-*

How reproducible: reliably

Steps to Reproduce:
1. Configure and start a cluster.
2. Create a new node attribute using attrd_updater with -U and -d.
3. Change the node attribute value a little later using any command.

Actual results: Value changes immediately.

Expected results: Value is not changed until after the specified delay.

Comment 1 Ken Gaillot 2023-07-19 16:41:45 UTC
Fixed by upstream commit ebac530c

Comment 12 errata-xmlrpc 2023-11-14 15:32:36 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 (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/RHEA-2023:6970