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.
Bug 2011142 - 'which' should be in the requires
Summary: 'which' should be in the requires
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: resource-agents
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Oyvind Albrigtsen
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-06 06:24 UTC by Michele Baldessari
Modified: 2022-05-17 12:19 UTC (History)
7 users (show)

Fixed In Version: resource-agents-4.9.0-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 12:18:28 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-98967 0 None None None 2021-10-06 09:27:48 UTC
Red Hat Product Errata RHBA-2022:2287 0 None None None 2022-05-17 12:18:37 UTC

Description Michele Baldessari 2021-10-06 06:24:17 UTC
Description of problem:

We've hit this while porting OSP to RHEL9. Our containers did not have the 'which' rpm installed and resource-agents would just start failing.
We'll fix it by adding it to the containers, but it should probably be pulled in as an rpm dep?
NodeUtilization:    xentool=$(which xl 2> /dev/null || which xm 2> /dev/null)
Xen:xentool=$(which xl 2> /dev/null || which xm)
aliyun-vpc-move-ip:	OCF_RESKEY_aliyuncli="$(which aliyuncli 2> /dev/null || which aliyun 2> /dev/null)"
clvm.in:vgtoolsdir=$(dirname $(which vgchange 2> /dev/null) 2> /dev/null)
mysql-common.sh:OCF_RESKEY_binary_default=$(which mysqld_safe 2> /dev/null)
mysql-common.sh:	OCF_RESKEY_binary_default=$(which safe_mysqld 2> /dev/null)
redis.in:	REDIS_CHECK_DUMP="$(which redis-check-dump 2>/dev/null)"
redis.in:	REDIS_CHECK_DUMP="$(which redis-check-rdb 2>/dev/null)"

Feel free to close this if this has already been discussed and the outcome was that we don't want to do it for whatever reason.

Comment 7 errata-xmlrpc 2022-05-17 12:18:28 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 (new packages: resource-agents), 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:2287


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