Bug 2224046 - Dampening ignored by attrd_updater -U for initial attribute creation
Summary: Dampening ignored by attrd_updater -U for initial attribute creation
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pacemaker
Version: 8.8
Hardware: All
OS: All
urgent
urgent
Target Milestone: rc
: 8.9
Assignee: Ken Gaillot
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks: 2224051 2224070
TreeView+ depends on / blocked
 
Reported: 2023-07-19 16:33 UTC by Ken Gaillot
Modified: 2023-08-10 15:39 UTC (History)
4 users (show)

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.
Clone Of:
: 2224051 2224070 (view as bug list)
Environment:
Last Closed:
Type: Bug
Target Upstream Version: 2.1.7
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CLUSTERQE-6834 0 None None None 2023-07-25 09:10:21 UTC
Red Hat Issue Tracker RHELPLAN-162774 0 None None None 2023-07-19 16:37:27 UTC

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


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