Description of problem: When following disaster recovery procedure, if `INITIAL_CLUSTER` is not properly defined, `/usr/local/bin/etcd-snapshot-restore.sh` stops executing with no error message. Version-Release number of selected component (if applicable): 4.1.13 How reproducible: Consistently Steps to Reproduce: 1. Misconfigure INITIAL_CLUSTER 2. Run recovery script 3. Actual results: No error message is printed Expected results: Script should print an error message Additional info: Output from script: ~~~ Downloading etcdctl binary.. etcdctl version: 3.3.10 API version: 3.3 etcd-member.yaml found in ./assets/backup/ ~~~ URL to procedure: https://docs.openshift.com/container-platform/4.1/disaster_recovery/scenario-1-infra-recovery.html
Hello Sam, is there PR merged for fixing this bug?
Verified with 4.2.0-0.nightly-2019-09-15-052022 $ export export INITIAL_CLUSTER="foo=bar" $ sudo /usr/local/bin/etcd-snapshot-restore.sh ./assets/backup/snapshot.db $INITIAL_CLUSTER Downloading etcdctl binary.. etcdctl version: 3.3.10 API version: 3.3 etcd-member.yaml found in ./assets/backup/ Validating INITIAL_CLUSTER failed: etcd-0.qe-geliu0917-2.qe.devcluster.openshift.com is not found in foo=bar
Does this bug require doc text? The Doc Type/Text field is not currently set. Thanks!
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-2019:2922