-
Notifications
You must be signed in to change notification settings - Fork 133
Download etcd release abort and show error if package not found #145
Conversation
Hi @pytimer. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/lgtm Definitely makes sense to fail on 404s. Copying in the man page to show why
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dlipovetsky, pytimer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Use TLS for etcd itself
Use TLS for etcd itself
Download etcd release abort and show error if package not found
Use TLS for etcd itself
Use TLS for etcd itself
Use TLS for etcd itself
Fixes: #144
Add
--fail
when usingcurl
download etcd release package.If etcd release package not found,
etcdadm
will show below logs:[root@k8s-1 ~]# etcdadm init --name k8s --release-url http://192.168.10.108/tools/etcd --version 3.3.12 -l debug INFO[0000] [install] Artifact not found in cache. Trying to fetch from upstream: http://192.168.10.108/tools/etcd INFO[0000] [install] Downloading & installing etcd http://192.168.10.108/tools/etcd from 3.3.12 to /var/cache/etcdadm/etcd/v3.3.12 INFO[0000] [install] downloading etcd from http://192.168.10.108/tools/etcd/v3.3.12/etcd-v3.3.12-linux-amd64.tar.gz to /var/cache/etcdadm/etcd/v3.3.12/etcd-v3.3.12-linux-amd64.tar.gz +curl: (22) The requested URL returned error: 404 Not Found FATA[0000] [install] Unable to fetch artifact from upstream: unable to download etcd: exit status 22