Description of problem: openshift-recovery-tools script does not respect the cluster wide proxy setting. Script tries to download etcdctl directly from the internet and fails as it can't get the package from the DOWNLOAD_URL Version-Release number of selected component (if applicable): How reproducible: very easy Steps to Reproduce: 1. Configure cluster wide proxy / Install cluster without direct internet connection 2. Log in to master node and run etcd backup per documentation: sudo /usr/local/bin/etcd-snapshot-backup.sh ./assets/backup/snapshot.db Actual results: Command hangs on "Downloading etcdctl binary.." and eventually just exists Expected results: Successful run Additional info:
This bug should be closed a duplicate of 1775210. When the proxy is enabled, the related environment should be exported to the disaster recovery scripts. The relevant environment variables would be NO_PROXY, HTTP_PROXY, and HTTPS_PROXY. If the documentation is updated to include the additional steps needed to enable DR scripts to run in a proxied environment, then, DR should work as expected. The documentation is updated in bug 1775210.
Since https://bugzilla.redhat.com/show_bug.cgi?id=1775210 is verified can we close this issue?
I'm moving this issue to MODIFIED state per https://bugzilla.redhat.com/show_bug.cgi?id=1789299#c1
This is doc issue as mentioned above, and I tried it with 4.4, but http_proxy cluster installation blocked with bug: https://bugzilla.redhat.com/show_bug.cgi?id=1806403 so close it and try it after unblock.
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, 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-2020:0581