Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Package pcp-pmda-redis is missing a dependency on perl-autodie and perl-Time-HiRes packages.
Version-Release number of selected component (if applicable):
* pcp-pmda-redis-5.0.2-2.el8
How reproducible:
Always
Steps to Reproduce:
1. Install a fresh RHEL-8.2 system
2. Install pcp-pmda-redis RPM
# yum install -y pcp-pmda-redis pcp-zeroconf
3. Install the PMDA
# cd /var/lib/pcp/pmdas/redis/
# ./Install
Actual results:
# ./Install
Can't locate autodie.pm in @INC (you may need to install the autodie module) (@INC contains:/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /var/lib/pcp/pmdas/redis/pmdaredis.pl line 66.
...
Can't locate Time/HiRes.pm in @INC (you may need to install the Time::HiRes module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /var/lib/pcp/pmdas/redis/pmdaredis.pl line 71.
...
Expected results:
# ./Install
Updating the Performance Metrics Name Space (PMNS) ...
Terminate PMDA if already installed ...
Updating the PMCD control file, and notifying PMCD ...
Check redis metrics have appeared ... 2 warnings, 71 metrics and 69 values
Additional info:
* This is also reproducible on older RHEL-8 releases
* A workaround is to manually install perl-autodie and perl-Time-HiRes package
# yum install -y perl-autodie perl-Time-HiRes
commit 364e4011a8fbb1b8545b0f6840d9dd2ca4de5339
Author: Nathan Scott <nathans>
Date: Wed Feb 19 16:34:21 2020 +1100
build: update fedora.spec with perl-Time-HiRes package dep for pcp-pmda-redis
Resolves Red Hat BZ #1788519