Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bbl 8.2.14 SHA mismatch #57

Open
petewall opened this issue Aug 27, 2019 · 5 comments
Open

bbl 8.2.14 SHA mismatch #57

petewall opened this issue Aug 27, 2019 · 5 comments

Comments

@petewall
Copy link

pwall@PivotalPete: $ brew install bbl
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (pivotal-cf/om and homebrew/cask).
==> Updated Formulae
pivotal-cf/om/om ✔

==> Installing bbl from cloudfoundry/tap
==> Downloading https://github.com/cloudfoundry/bosh-bootloader/releases/download/v8.2.14/bbl-v8.2.14_osx
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/50375366/82cf7780-c834-11e9-98f3-2165060bc684?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190827%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190827T183721Z&X-Amz-Expires=300&X-Amz-Signature=b86d6333f
######################################################################## 100.0%
Error: An exception occurred within a child process:
  ChecksumMismatchError: SHA256 mismatch
Expected: 42a7c74d8b85300ee642a8e68077d7b65b8d1f0cdfc74a33e49a3069bb180087
  Actual: d62710d0a9e65157f53e8e043c8e6ff355a9472fdceae4f2d5570f3361effb48
 Archive: /Users/pwall/Library/Caches/Homebrew/downloads/34ef45892bb22a420c83fff305d424e8cf711d809452f60350a55e22ca8162ba--bbl-v8.2.14_osx
To retry an incomplete download, remove the file above.
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@petewall
Copy link
Author

Looks like the SHA in bbl.rb is incorrect.

From https://github.com/cloudfoundry/bosh-bootloader/releases/tag/v8.2.14:

OSX sha256: d62710d0a9e65157f53e8e043c8e6ff355a9472fdceae4f2d5570f3361effb48

Which matches what my brew is downloading

@petewall
Copy link
Author

petewall commented Aug 27, 2019

Made pull request: #59
Tested on my repository:

pwall@PivotalPete:~/src/petewall/homebrew-tap $ brew tap petewall/tap
==> Tapping petewall/tap
Cloning into '/usr/local/Homebrew/Library/Taps/petewall/homebrew-tap'...
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 14 (delta 1), reused 6 (delta 0), pack-reused 0
Receiving objects: 100% (14/14), 9.10 KiB | 9.10 MiB/s, done.
Resolving deltas: 100% (1/1), done.
Tapped 7 formulae (37 files, 54KB).
pwall@PivotalPete:~/src/petewall/homebrew-tap $ brew install bbl
==> Installing bbl from petewall/tap
==> Tapping cloudfoundry/tap
Cloning into '/usr/local/Homebrew/Library/Taps/cloudfoundry/homebrew-tap'...
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 14 (delta 1), reused 6 (delta 0), pack-reused 0
Receiving objects: 100% (14/14), 9.10 KiB | 372.00 KiB/s, done.
Resolving deltas: 100% (1/1), done.
Tapped 7 formulae (37 files, 54KB).
==> Downloading https://github.com/cloudfoundry/bosh-bootloader/releases/download/v8.2.14/bbl-v8.2.14_osx
Already downloaded: /Users/pwall/Library/Caches/Homebrew/downloads/34ef45892bb22a420c83fff305d424e8cf711d809452f60350a55e22ca8162ba--bbl-v8.2.14_osx
🍺  /usr/local/Cellar/bbl/v8.2.14: 3 files, 109MB, built in 5 seconds
Removing: /Users/pwall/Library/Caches/Homebrew/bbl--v8.2.13... (109MB)
pwall@PivotalPete:~/src/petewall/homebrew-tap $ bbl version
bbl 8.2.14 (darwin/amd64)
pwall@PivotalPete:~/src/petewall/homebrew-tap $ 

@ipolyzos
Copy link
Contributor

I can confirm the current/latest version (v8.4.0) works as expected also.

➜  brew install cloudfoundry/tap/bbl                                                                                                                        git:(master|) 
==> Installing bbl from cloudfoundry/tap
==> Downloading https://github.com/cloudfoundry/bosh-bootloader/releases/download/v8.4.0/bbl-v8.4.0_linux_x86-64
Already downloaded: /home/ipolyzos/.cache/Homebrew/downloads/778ab94372411ac601d223ecee75b316dbcb7afc6733bca8a3174ed97635bf12--bbl-v8.4.0_linux_x86-64
🍺  /home/linuxbrew/.linuxbrew/Cellar/bbl/v8.4.0: 3 files, 101.3MB, built in 2 seconds
➜  bbl -h                                                                                                                                                   git:(master|) 
Usage:
  bbl [GLOBAL OPTIONS] COMMAND [OPTIONS]

Global Options:
  --help       [-h]        Prints usage. Use "bbl [command] --help" for more information about a command
  --state-dir  [-s]        Directory containing the bbl state                                            env:"BBL_STATE_DIRECTORY"
  --debug      [-d]        Prints debugging output                                                       env:"BBL_DEBUG"
  --version    [-v]        Prints version
  --no-confirm [-n]        No confirm

Basic Commands: A good place to start
  up                      Deploys BOSH director on an IAAS, creates CF/Concourse load balancers. Updates existing director.
  print-env               All environment variables needed for targeting BOSH. Use with: eval "$(bbl print-env)"

Maintenance Lifecycle Commands:
  destroy                 Tears down BOSH director infrastructure. Cleans up state directory
  rotate                  Rotates SSH key for the jumpbox user
  plan                    Populates a state directory with the latest config without applying it
  cleanup-leftovers       Cleans up orphaned IAAS resources

Environmental Detail Commands: Useful for automation and gaining access
  jumpbox-address         Prints BOSH jumpbox address
  director-address        Prints BOSH director address
  director-username       Prints BOSH director username
  director-password       Prints BOSH director password
  director-ca-cert        Prints BOSH director CA certificate
  env-id                  Prints environment ID
  ssh-key                 Prints jumpbox SSH private key
  director-ssh-key        Prints director SSH private key
  lbs                     Prints load balancer(s) and DNS records
  outputs                 Prints the outputs from terraform
  ssh                     Opens an SSH connection to the director or jumpbox

Troubleshooting Commands:
  help                    Prints usage
  version                 Prints version
  latest-error            Prints the output from the latest call to terraform

@bosh-admin-bot
Copy link

This issue was marked as Stale because it has been open for 21 days without any activity. If no activity takes place in the coming 7 days it will automatically be close. To prevent this from happening remove the Stale label or comment below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Inbox
Development

No branches or pull requests

4 participants