openebs / openebsctl

`openebsctl` is a kubectl plugin to manage OpenEBS storage components.
Apache License 2.0
29 stars 21 forks source link

error while extracting from the install script #131

Closed survivant closed 3 years ago

survivant commented 3 years ago

this morning, I try to install the plugin on one of my cluster and I got this error message :

sudo: unable to resolve host test-pcl4014: Name or service not known

I'm executing the script as root and running sudo as root caused a error

root@test-pcl4014:~# wget https://raw.githubusercontent.com/openebs/openebsctl/develop/scripts/install-latest.sh -O - | bash
--2021-10-29 08:46:05--  https://raw.githubusercontent.com/openebs/openebsctl/develop/scripts/install-latest.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2340 (2.3K) [text/plain]
Saving to: ‘STDOUT’

-                                              100%[==================================================================================================>]   2.29K  --.-KB/s    in 0s

2021-10-29 08:46:05 (32.9 MB/s) - written to stdout [2340/2340]

Getting Latest Release ----->

Downloading Latest Release ----->

--2021-10-29 08:46:05--  https://github.com/openebs/openebsctl/releases/download/v0.4.0/kubectl-openebs_v0.4.0_Linux_x86_64.tar.gz
Resolving github.com (github.com)... 140.82.112.3
Connecting to github.com (github.com)|140.82.112.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/274539236/9ffeb711-13e0-4ef4-9b0d-8ffe8e728f4d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211029%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211029T124606Z&X-Amz-Expires=300&X-Amz-Signature=6eb1e24bd7b7bc581d9c844fc1dde822a0e7184ce6238a46da226bc81d6a8014&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=274539236&response-content-disposition=attachment%3B%20filename%3Dkubectl-openebs_v0.4.0_Linux_x86_64.tar.gz&response-content-type=application%2Foctet-stream [following]
--2021-10-29 08:46:06--  https://github-releases.githubusercontent.com/274539236/9ffeb711-13e0-4ef4-9b0d-8ffe8e728f4d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211029%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211029T124606Z&X-Amz-Expires=300&X-Amz-Signature=6eb1e24bd7b7bc581d9c844fc1dde822a0e7184ce6238a46da226bc81d6a8014&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=274539236&response-content-disposition=attachment%3B%20filename%3Dkubectl-openebs_v0.4.0_Linux_x86_64.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.108.154, 185.199.111.154, 185.199.110.154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.108.154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18140670 (17M) [application/octet-stream]
Saving to: ‘openebsctl.tar.gz’

openebsctl.tar.gz                              100%[==================================================================================================>]  17.30M  61.4MB/s    in 0.3s

2021-10-29 08:46:06 (61.4 MB/s) - ‘openebsctl.tar.gz’ saved [18140670/18140670]

LICENSE
README.md
kubectl-openebs

Extracted Latest Release ----->
sudo: unable to resolve host test-pcl4014: Name or service not known

Copied Latest Release to usr/local/bin ----->

Cleaning things ----->

Done
survivant commented 3 years ago

PR merged. closing this issue