Open shailesh-vaidya opened 9 months ago
I am installing etcd by following instructions from https://github.com/etcd-io/etcd/releases/tag/v3.5.11 . tar command from the steps fails with below error
tar
controlplane ~ ➜ tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1 etcd-v3.5.11-linux-amd64/README.md tar: README.md: Cannot change ownership to uid 528287, gid 89939: Invalid argument etcd-v3.5.11-linux-amd64/READMEv2-etcdctl.md tar: READMEv2-etcdctl.md: Cannot change ownership to uid 528287, gid 89939: Invalid argument etcd-v3.5.11-linux-amd64/etcdutl tar: etcdutl: Cannot change ownership to uid 528287, gid 89939: Invalid argument etcd-v3.5.11-linux-amd64/etcdctl tar: etcdctl: Cannot change ownership to uid 528287, gid 89939: Invalid argument etcd-v3.5.11-linux-amd64/Documentation/ etcd-v3.5.11-linux-amd64/Documentation/README.md tar: Documentation/README.md: Cannot change ownership to uid 528287, gid 89939: Invalid argument etcd-v3.5.11-linux-amd64/Documentation/dev-guide/ etcd-v3.5.11-linux-amd64/Documentation/dev-guide/apispec/ etcd-v3.5.11-linux-amd64/Documentation/dev-guide/apispec/swagger/ etcd-v3.5.11-linux-amd64/Documentation/dev-guide/apispec/swagger/v3election.swagger.json tar: Documentation/dev-guide/apispec/swagger/v3election.swagger.json: Cannot change ownership to uid 528287, gid 89939: Invalid argument etcd-v3.5.11-linux-amd64/Documentation/dev-guide/apispec/swagger/rpc.swagger.json tar: Documentation/dev-guide/apispec/swagger/rpc.swagger.json: Cannot change ownership to uid 528287, gid 89939: Invalid argument etcd-v3.5.11-linux-amd64/Documentation/dev-guide/apispec/swagger/v3lock.swagger.json tar: Documentation/dev-guide/apispec/swagger/v3lock.swagger.json: Cannot change ownership to uid 528287, gid 89939: Invalid argument etcd-v3.5.11-linux-amd64/README-etcdutl.md tar: Documentation/dev-guide/apispec/swagger: Cannot change ownership to uid 528287, gid 89939: Invalid argument tar: Documentation/dev-guide/apispec: Cannot change ownership to uid 528287, gid 89939: Invalid argument tar: Documentation/dev-guide: Cannot change ownership to uid 528287, gid 89939: Invalid argument tar: Documentation: Cannot change ownership to uid 528287, gid 89939: Invalid argument tar: README-etcdutl.md: Cannot change ownership to uid 528287, gid 89939: Invalid argument etcd-v3.5.11-linux-amd64/README-etcdctl.md tar: README-etcdctl.md: Cannot change ownership to uid 528287, gid 89939: Invalid argument etcd-v3.5.11-linux-amd64/etcd tar: etcd: Cannot change ownership to uid 528287, gid 89939: Invalid argument tar: Exiting with failure status due to previous errors
Tar command in insalllation Instuctions should be updated to use --no-same-owner . Tar command should be -
--no-same-owner
tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1 --no-same-owner
Expected output should be -
controlplane ~ ➜ tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1 --no-same-owner etcd-v3.5.11-linux-amd64/README.md etcd-v3.5.11-linux-amd64/READMEv2-etcdctl.md etcd-v3.5.11-linux-amd64/etcdutl etcd-v3.5.11-linux-amd64/etcdctl etcd-v3.5.11-linux-amd64/Documentation/ etcd-v3.5.11-linux-amd64/Documentation/README.md etcd-v3.5.11-linux-amd64/Documentation/dev-guide/ etcd-v3.5.11-linux-amd64/Documentation/dev-guide/apispec/ etcd-v3.5.11-linux-amd64/Documentation/dev-guide/apispec/swagger/ etcd-v3.5.11-linux-amd64/Documentation/dev-guide/apispec/swagger/v3election.swagger.json etcd-v3.5.11-linux-amd64/Documentation/dev-guide/apispec/swagger/rpc.swagger.json etcd-v3.5.11-linux-amd64/Documentation/dev-guide/apispec/swagger/v3lock.swagger.json etcd-v3.5.11-linux-amd64/README-etcdutl.md etcd-v3.5.11-linux-amd64/README-etcdctl.md etcd-v3.5.11-linux-amd64/etcd
Install etcd by following instructions from https://github.com/etcd-io/etcd/releases/tag/v3.5.11
No response
cc @vivekpatani
Bug report criteria
What happened?
I am installing etcd by following instructions from https://github.com/etcd-io/etcd/releases/tag/v3.5.11 .
tar
command from the steps fails with below errorWhat did you expect to happen?
Tar command in insalllation Instuctions should be updated to use
--no-same-owner
. Tar command should be -Expected output should be -
How can we reproduce it (as minimally and precisely as possible)?
Install etcd by following instructions from https://github.com/etcd-io/etcd/releases/tag/v3.5.11
Anything else we need to know?
No response
Etcd version (please run commands below)
Etcd configuration (command line flags or environment variables)
Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)
Relevant log output
No response