Description of problem:
With OCPBUGS-18274 we had to update the etcdctl binary. Unfortunately the script does not attempt to update the binary if it's found in the path already: https://github.com/openshift/cluster-etcd-operator/blob/master/bindata/etcd/etcd-common-tools#L16-L24 This causes confusion as the binary might not be the latest that we're shipping with etcd. Pulling the binary shouldn't be a big deal, etcd is running locally anyway and the local image should be cached already just fine. We should always replace the binary
Version-Release number of selected component (if applicable):
any currently supported release
How reproducible:
always
Steps to Reproduce:
1. run cluster-backup.sh to download the binary 2. update the etcd image (take a different version or so) 3. run cluster-backup.sh again
Actual results:
cluster-backup.sh will simply print "etcdctl is already installed"
Expected results:
etcdctl should always be pulled
Additional info:
- blocks
-
OCPBUGS-19499 [4.14] Avoid caching etcdctl on cluster-backup.sh
- Closed
- is cloned by
-
OCPBUGS-19499 [4.14] Avoid caching etcdctl on cluster-backup.sh
- Closed
- links to
-
RHEA-2023:7198 rpm