bosh upload release is broken
Using 1.3115
Generated /var/folders/tp/mfydkfq136l964tfdb6fgh5c0000gn/T/d20151027-37913-p1lmaw/d20151027-37913-1a6nsjg/release.tgz
Release size: 2.2G
Cannot find file `/var/folders/tp/mfydkfq136l964tfdb6fgh5c0000gn/T/d20151027-37913-p1lmaw/d20151027-37913-18m9whn/release.MF'
If I look at the $TMPDIR, it should be/var/folders/tp/mfydkfq136l964tfdb6fgh5c0000gn/T/d20151027-37913-p1lmaw/release.MF
If I drop to 1.3100, it all works.
Hello
We can't seem to recreate the issue, tried to create and upload a release on both mac and linux without issues. Can you maybe give us more details about your environment and maybe a debug log?
Thanks
I am more than happy to give you a debug log. Where is it on my local machine?
can you run: bosh task {the_failed_task_number} --debug
There is no task since it didn't get that far.
is it possible to share the release tarball you were trying to upload? and are you running on mac?
It was the develop branch of cf-release with updated loggregator code. I am on a Mac. I was using 3115 but dropped to 3100 to get things working.
We still can't seem to recreate the problem. Did you create the tarball using create release? We have seen cases where this error happens when the tarball is created manually. Can you send the listing for tar -tvf against the tarball you are using?
I can no longer recreate the issue.
I located the source of the problem.
https://github.com/cloudfoundry/bosh/blob/master/bosh_cli/lib/cli/release_tarball.rb#L47
On my machine, I have gnu tar installed and --fast-read is a mac specific option which fails.
@fraenkel please try 3148. we believe https://github.com/cloudfoundry/bosh/commit/dddb47433d75f3087d650d71d9ff47030b562980 fixes this problem. reopen if problem persists.
@cppforlife I am using 3215 and run into the exact problem. I am using the default BSD tar that shipped with mac.
@simonleung8 this issue has been closed for a long time. please open a different issue and include necessary info like cli and director version, error stacktrace, etc.