Repository navigation
Closed
Labels
bugCategorizes issue or PR as related to a bug.good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.
Description
I am trying to fetch a chart using the new Helm 3.2.0 version but I obtain the following error:
$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈ Happy Helming!⎈
$ helm fetch bitnami/redis-cluster
Error: rename /tmp/redis-cluster-2.0.8.tgz770913527 redis-cluster-2.0.8.tgz: invalid cross-device linkthe same issue happens using pull instead of fetch:
$ helm pull bitnami/redis-cluster
Error: rename /tmp/redis-cluster-2.0.8.tgz205065242 redis-cluster-2.0.8.tgz: invalid cross-device linkBut, using the latest Helm 3.1.X, the command works as expected:
$ helm313 repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈ Happy Helming!⎈
$ helm313 fetch bitnami/redis-cluster
$ ls | grep redis
redis-cluster-2.0.8.tgzOutput of helm version:
$ helm version
version.BuildInfo{Version:"v3.2.0", GitCommit:"e11b7ce3b12db2941e90399e874513fbd24bcb71", GitTreeState:"clean", GoVersion:"go1.13.10"}
Output of kubectl version:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.9", GitCommit:"2e808b7cb054ee242b68e62455323aa783991f03", GitTreeState:"clean", BuildDate:"2020-01-18T23:33:14Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.11-gke.1", GitCommit:"aa93664bafe74f3c051e021b27a64e28ac34ab40", GitTreeState:"clean", BuildDate:"2020-03-18T22:49:35Z", GoVersion:"go1.12.17b4", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
GKE
Metadata
Metadata
Assignees
Labels
bugCategorizes issue or PR as related to a bug.good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.
Activity
carrodher commentedon Apr 24, 2020
Not 100% sure, but this PR can be related #7720.
It seems the temporary file must live in the same filesystem, in my case I have the
homeDirand/tmpin different volumes. If I execute the command from/tmpthere are no issues:Then, moving to a different directory:
But, the temporal file for the failed execution was created in
/tmpAs you can see, there are two files, the regular one fetched when I moved to
/tmpand the temporal file created in the failed execution.bacongobbler commentedon Apr 24, 2020
sounds like the same report in #2998, though in a different section of the code. Please feel free to submit a patch that fixes this. Have a look through #2998 for a more in-depth rundown of the issue.
RenameWithFallbackis now part of the project, so this should be a really quick fix. Have a look at #6750 for an example.Marking as a good first issue.
bacongobbler commentedon Apr 24, 2020
This should be fixed after #7954 is merged.
carrodher commentedon Apr 30, 2020
Thanks for the quick fix! I didn't have time to take a look in deep to try to send a PR