Bug 2133830

Summary: pgsql agent fails at cluster shutdown due to crm_mon regression [rhel-8.7.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: pacemakerAssignee: Reid Wahl <nwahl>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 8.7CC: cfeist, cluster-maint, kgaillot, mjuricek, msmazova, sbradley
Target Milestone: rcKeywords: Regression, Triaged, ZStream
Target Release: 8.7Flags: pm-rhel: mirror+
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: pacemaker-2.1.4-5.el8_7.2 Doc Type: Bug Fix
Doc Text:
Cause: crm_mon returns a nonzero exit status at cluster shutdown. Consequence: Resource agents that call crm_mon in their monitor action, such as ocf:heartbeat:pgsql, may incorrectly return a failure at cluster shutdown. Fix: crm_mon returns success even if the cluster is in the process of shutting down. Result: Resources that call crm_mon stop cleanly at shutdown.
Story Points: ---
Clone Of: 2133497 Environment:
Last Closed: 2022-11-08 11:33:51 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.5
Embargoed:
Bug Depends On: 2133497    
Bug Blocks:    

Comment 1 Ken Gaillot 2022-10-12 21:42:42 UTC
Fixed in upstream main branch as of commit 2d4a36c0f

Comment 8 errata-xmlrpc 2022-11-08 11:33:51 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/RHBA-2022:7833