shieldproject / shield-boshrelease

BOSH Release for shield
MIT License
11 stars 17 forks source link

Delete 2.1 final release since bosh.io cannot make tarball for it? #12

Closed cppforlife closed 8 years ago

cppforlife commented 8 years ago

Looks like it fails to download a tarball:

Building release tarball from manifest '/mnt/tmp/downloader-GitDownloader598508896/releases/shield/shield-2.1.yml': Running bosh create release: Running command: 'bosh create release /mnt/tmp/downloader-GitDownloader598508896/releases/shield/shield-2.1.yml', stdout: 'Recreating release from the manifest

Copying packages
----------------
bsdtar (fe279cae5da0aa7b9cbf07238dad8afba6c8edc7) 
common (e401816a4748292163679fafcbd8f818ed8154a5) 
elasticsearch-cloud-aws-plugin (a8701cdd6895f248d4d51fd918e4d71daa678b4f) 
generated_agent_key (d130726fd279b4cfb8ef211daad7b64e62bb888d) 
generated_daemon_key (d130726fd279b4cfb8ef211daad7b64e62bb888d) 
golang (201283451505af9fc84d23998b96584a84a45e57) 
Downloading from blobstore (id=890933cd-bf31-4d77-a44c-54dcc0d8b030)...

', stderr: 'Blobstore error: sha1 mismatch expected=fd14409a79e30a47d04b4ab15bf96798fd7f3b37 actual=20d09c7867ecf27a8aefd614dc737266d405e45b': exit status 1
geofffranks commented 8 years ago

Not sure what would be wrong. I'm able to do this on a freshly cloned copy of the repo, with an empty ~/.bosh/cache without issue:

$ bosh create release releases/shield/shield-2.1.yml Recreating release from the manifest Downloading from blobstore (id=9c3a3f47-b329-4cf3-b638-a981aa55862d)... Downloading from blobstore (id=ef29492b-7e97-4181-80a9-3f85d44af791)... Downloading from blobstore (id=1ffec92c-86a4-42c6-988e-f33665a1c867)... Downloading from blobstore (id=ee558ae6-359b-4b5a-a236-8477c05645d5)... Downloading from blobstore (id=890933cd-bf31-4d77-a44c-54dcc0d8b030)... Downloading from blobstore (id=c33a80a7-3773-46c7-a9c5-0c4260db5a5f)... Downloading from blobstore (id=e59d3b19-5402-448c-a4c1-8a72cb9656e4)... Downloading from blobstore (id=c8dc764e-3a2b-41d8-8031-78e8e45a1ccc)... Downloading from blobstore (id=3b8887b0-c528-4a2f-8c18-255179f25f77)... Downloading from blobstore (id=67cc337d-3972-40b8-88da-99358e573c97)... Downloading from blobstore (id=92865b73-a32d-47cd-9c5e-ff51b6d88df8)... Downloading from blobstore (id=3d17d7ed-1956-412a-a830-7e999463eeee)... Downloading from blobstore (id=6847cbc3-3766-4eeb-b2f8-19fd62925109)... Downloading from blobstore (id=fa618413-a16d-4dc6-b96b-aefd9d33073c)... Downloading from blobstore (id=a1b3d539-9fa0-4a85-812b-3a28bd559ca8)...

Copying packages

bsdtar common elasticsearch-cloud-aws-plugin generated_agent_key generated_daemon_key golang plugins postgres-9.4 shield utils

Copying jobs

agent-pgtools postgres shield-agent shield-daemon smoke-tests

Copying license

license

Generated /Users/gfranks/code/shield-boshrelease/releases/shield/shield-2.1.tgz Release size: 111.0M

jhunt commented 8 years ago

If I download that blob (for golang) directly from s3, and sha1sum that, I get the correct fd14409a79e30a47d04b4ab15bf96798fd7f3b37 checksum.

@cppforlife any pointers on how we can fix this from our end?

jhunt commented 8 years ago

I am able to upload this release from bosh.io.

→  bosh upload release https://bosh.io/d/github.com/starkandwayne/shield-boshrelease?v=2.1
Acting as user 'admin' on 'Bosh Lite Director'
Using remote release `https://bosh.io/d/github.com/starkandwayne/shield-boshrelease?v=2.1'

Director task 3257
  Started downloading remote release > Downloading remote release. Done (00:00:20)

  Started extracting release > Extracting release. Done (00:00:00)

  Started verifying manifest > Verifying manifest. Done (00:00:00)

  Started resolving package dependencies > Resolving package dependencies. Done (00:00:00)

  Started creating new packages
  Started creating new packages > plugins/e955ff2fc80c2f7d7d01a8df92e5030cb0f0de59. Done (00:00:00)
  Started creating new packages > shield/258a0444bd20dd406350765aadc21421dd7dd55f. Done (00:00:00)
     Done creating new packages (00:00:00)

  Started processing 8 existing packages > Processing 8 existing packages. Done (00:00:00)

  Started processing 5 existing jobs > Processing 5 existing jobs. Done (00:00:00)

  Started release has been created > shield/2.1. Done (00:00:00)

Task 3257 done

Started     2016-03-10 23:49:13 UTC
Finished    2016-03-10 23:49:34 UTC
Duration    00:00:21

Release uploaded