Bug 2157873

Summary: resource-agents: fix validate-all issue with new pcs/pacemaker by only running some checks when OCF_CHECK_LEVEL=10 (RHEL8)
Product: Red Hat Enterprise Linux 8 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.8CC: agk, cluster-maint, cluster-qe, dciabrin, fdinitto, jrehova, mjuricek, msmazova
Target Milestone: rcKeywords: Triaged
Target Release: 8.8Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: resource-agents-4.9.0-40.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2157872 Environment:
Last Closed: 2023-05-16 08:04:04 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:
Embargoed:
Bug Depends On: 2157872    
Bug Blocks: 1816852    

Description Oyvind Albrigtsen 2023-01-03 10:44:19 UTC
+++ This bug was initially created as a clone of Bug #2157872 +++

Description of problem:
Pacemaker has started running validate-all action before creating the resource. It doesnt provide notify/promotable settings while doing so, so we need to only run these checks when OCF_CHECK_LEVEL=10.

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


How reproducible:
100%

Steps to Reproduce:
1. pcs resource create IPsrcaddr ... on node where IPaddr2 resource isnt currently running
2.
3.

Actual results:
Fails.

Expected results:
Succeeds.

Additional info:
https://github.com/ClusterLabs/resource-agents/pull/1826

Comment 1 Oyvind Albrigtsen 2023-01-05 14:13:32 UTC
New build with additional patches:
https://github.com/ClusterLabs/resource-agents/pull/1831
https://github.com/ClusterLabs/PAF/pull/216

Comment 2 Oyvind Albrigtsen 2023-01-16 12:00:15 UTC
New build with additional patches:
https://github.com/ClusterLabs/resource-agents/pull/1834
https://github.com/ClusterLabs/PAF/pull/216

Comment 3 Martin Juricek 2023-01-23 11:04:47 UTC
*** Bug 2160185 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2023-05-16 08:04:04 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 (resource-agents 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:2735