kayobe/dev
Mark Goddard 3084cf67ce CentOS Stream 8: Use /usr/bin/which instead of bash function
A bug has been introduced to the which package in CentOS Stream 8 which
causes it to fail when used with the following bash options:

set -u
set -o pipefail

Then, when running which we see the following output:

environment: line 1: _declare: unbound variable

As found by Pierre, this seems to be caused by the implementation of
which as a bash function which references an unbound variable
(_declare). It's tracked in Fedora by
https://bugzilla.redhat.com/show_bug.cgi?id=1944877#.

This change works around the issue by using the /usr/bin/which binary.

Co-Authored-By: Pierre Riteau <pierre@stackhpc.com>

Change-Id: I468d4e0460c13791b9f01d5854ef45472528c6fe
Story: 2008795
Task: 42215
2021-04-06 12:29:33 +01:00
..
config.sh Install python-openstackclient using upper constraints 2020-04-02 16:58:50 +02:00
configure-firewall.sh Add tenks-deploy.sh dev script 2018-11-20 18:53:09 +00:00
dev-hosts Add container-image-builders group 2017-11-28 15:32:49 +00:00
dev-vagrant-network-allocation.yml Refactor Vagrantfile to support VMware 2017-11-29 11:30:25 +00:00
dev-vagrant.yml Support configuring tunnel network 2018-07-20 13:57:03 +01:00
environment-setup.sh Update development scripts for control plane deployment 2019-02-05 09:36:35 +00:00
functions CentOS Stream 8: Use /usr/bin/which instead of bash function 2021-04-06 12:29:33 +01:00
install-dev.sh Support complete installation of Kayobe as a python package 2019-02-01 12:55:27 +00:00
install.sh Add tenks-deploy.sh dev script 2018-11-20 18:53:09 +00:00
overcloud-deploy.sh Address dev environment review comments 2018-02-06 14:08:45 +00:00
overcloud-test-baremetal.sh Add tenks-deploy.sh dev script 2018-11-20 18:53:09 +00:00
overcloud-test-vm.sh Add tenks-deploy.sh dev script 2018-11-20 18:53:09 +00:00
overcloud-upgrade.sh Test upgrades in CI 2018-11-05 12:02:31 +00:00
ovs-vsctl Add tenks-deploy.sh dev script 2018-11-20 18:53:09 +00:00
seed-deploy.sh Address dev environment review comments 2018-02-06 14:08:45 +00:00
seed-hypervisor-deploy.sh Address dev environment review comments 2018-02-06 14:08:45 +00:00
seed-upgrade.sh Test upgrading seed services in CI 2018-12-21 15:21:47 +00:00
tenks-deploy-compute.sh Add alternative tenks deploy and teardown entrypoints. 2019-06-06 14:03:58 +01:00
tenks-deploy-config-compute.yml CI: add Ubuntu overcloud deploy job 2021-03-01 17:57:51 +00:00
tenks-deploy-config-overcloud.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
tenks-deploy-overcloud.sh Add alternative tenks deploy and teardown entrypoints. 2019-06-06 14:03:58 +01:00
tenks-deploy.sh Add tenks-deploy.sh dev script 2018-11-20 18:53:09 +00:00
tenks-teardown-compute.sh Add alternative tenks deploy and teardown entrypoints. 2019-06-06 14:03:58 +01:00
tenks-teardown-overcloud.sh Add alternative tenks deploy and teardown entrypoints. 2019-06-06 14:03:58 +01:00
tenks-teardown.sh Update development scripts for control plane deployment 2019-02-05 09:36:35 +00:00