Bug 2203813

Summary: resource-agents-paf: perl-lib dependency missing
Product: Red Hat Enterprise Linux 9 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: VERIFIED --- QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: agk, cfeist, cluster-maint, fdinitto, mjuricek, phagara
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: resource-agents-4.10.0-38.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2209702 2209703 2209705 (view as bug list) Environment:
Last Closed: 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:    
Bug Blocks: 2209705, 2209702, 2209703    

Description Oyvind Albrigtsen 2023-05-15 10:28:43 UTC
Description of problem:
The perl-lib dependency that was pulled in from perl or any of the other perl-packages that are required by resource-agents-paf no longer gets installed.

Version-Release number of selected component (if applicable):
resource-agents-paf-4.10.0-34.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
1. pcs resource create PGSQL ocf:heartbeat:pgsqlms or OCF_ROOT=/usr/lib/ocf /usr/lib/ocf/resource.d/heartbeat/pgsqlms metadata
2.
3.

Actual results:
[root@rhel9-1 ~]# pcs resource create PGSQL ocf:heartbeat:pgsqlms
Error: Agent 'ocf:heartbeat:pgsqlms' is not installed or does not provide valid metadata: crm_resource: Metadata query for ocf:heartbeat:pgsqlms failed: No such device or address, Error performing operation: No such object, use --force to override
Error: Errors have occurred, therefore pcs is unable to continue

[root@rhel9-1 ~]# OCF_ROOT=/usr/lib/ocf /usr/lib/ocf/resource.d/heartbeat/pgsqlms metadata
Can't locate lib.pm in @INC (you may need to install the lib module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/lib/ocf/resource.d/heartbeat/pgsqlms line 35.
BEGIN failed--compilation aborted at /usr/lib/ocf/resource.d/heartbeat/pgsqlms line 35.

Expected results:
Creates resource.

Additional info: