install etcd binaries failed: Failed to exec command: sudo -E /bin/bash -c "tar -zxf /tmp/kubekey/etcd-v3.4.13-linux-amd64.tar.gz && cp -f etcd-v3.4.13-linux-amd64/etcd* /usr/local/bin/ && chmod +x /usr/local/bin/etcd* && rm -rf etcd-v3.4.13-linux-amd64" tar: etcd-v3.4.13-linux-amd64/etcdctl: Cannot change ownership to uid 630384594, gid 600260513: Invalid argument #2016
Unanswered
ansleyzheth
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, how are you?
I'm having difficulty installing kubekey in an environment
when I run the line
./tools/kk create cluster -f ./config/cluster.yaml -y || exit 1
to create a cluster presents the error below
install etcd binaries failed: Failed to exec command: sudo -E /bin/bash -c "tar -zxf /tmp/kubekey/etcd-v3.4.13-linux-amd64.tar.gz && cp -f etcd-v3.4.13-linux-amd64/etcd* /usr/local/bin/ && chmod +x /usr/local/bin/etcd* && rm -rf etcd-v3.4.13-linux-amd64" tar: etcd-v3.4.13-linux-amd64/etcdctl: Cannot change ownership to uid 630384594, gid 600260513: Invalid argument
In some forums I noticed that passing the
--no-same-owner
parameter would worksudo -E /bin/bash -c "tar --no-same-owner -zxf /tmp/kubekey/etcd-v3.4.13-linux-amd64.tar.gz && cp -f etcd-v3.4.13-linux- amd64/etcd* /usr/local/bin/ && chmod +x /usr/local/bin/etcd* && rm -rf etcd-v3.4.13-linux-amd64"
However, I couldn't find the code where I can put this parameter
and this is my cluster.yaml
thanks for the help
Beta Was this translation helpful? Give feedback.
All reactions