bosh-init
bosh-init copied to clipboard
Failed to download because of "invalid cross-device link"
I mounted another disk to /tmp/ and then deployed the bosh. When bosh-init tried to download and rename the tarball, it failed just as the following. Command 'deploy' failed: Failed to download from 'http://cloudfoundry.blob.core.windows.net/bosh/bosh-168+dev.beta.tgz': Saving downloaded file in cache: Failed to save tarball path '/tmp/tarballProvider366191452' in cache: rename /tmp/tarballProvider366191452 /home/azureuser/.bosh_init/downloads/000807c34eda837d17bf2b8701dca8af96a971ca-363a42a0101b9cf822178a959ba36bd4de71c5f3: invalid cross-device link
c.fs.Rename (https://github.com/cloudfoundry/bosh-init/blob/master/installation/tarball/cache.go#L52) can not rename a file across different file system. And maybe c.fs.Move should be implemented.
same issue here, had to workaround by setting TMPDIR in same fs as the user homedir
Related story: https://www.pivotaltracker.com/story/show/93295812
@cppforlife Has the issue been fixed?