bosh icon indicating copy to clipboard operation
bosh copied to clipboard

bosh upload release is broken

Open fraenkel opened this issue 11 years ago • 12 comments

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.

fraenkel avatar Oct 27 '15 12:10 fraenkel

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

nader-ziada avatar Oct 27 '15 18:10 nader-ziada

I am more than happy to give you a debug log. Where is it on my local machine?

fraenkel avatar Oct 27 '15 18:10 fraenkel

can you run: bosh task {the_failed_task_number} --debug

nader-ziada avatar Oct 27 '15 19:10 nader-ziada

There is no task since it didn't get that far.

fraenkel avatar Oct 27 '15 19:10 fraenkel

is it possible to share the release tarball you were trying to upload? and are you running on mac?

nader-ziada avatar Oct 27 '15 19:10 nader-ziada

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.

fraenkel avatar Oct 28 '15 01:10 fraenkel

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?

nader-ziada avatar Oct 28 '15 16:10 nader-ziada

I can no longer recreate the issue.

fraenkel avatar Oct 31 '15 16:10 fraenkel

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 avatar Dec 02 '15 16:12 fraenkel

@fraenkel please try 3148. we believe https://github.com/cloudfoundry/bosh/commit/dddb47433d75f3087d650d71d9ff47030b562980 fixes this problem. reopen if problem persists.

cppforlife avatar Dec 07 '15 19:12 cppforlife

@cppforlife I am using 3215 and run into the exact problem. I am using the default BSD tar that shipped with mac.

simonleung8 avatar Apr 11 '16 23:04 simonleung8

@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.

cppforlife avatar Apr 12 '16 00:04 cppforlife