Skip to content

Instantly share code, notes, and snippets.

@iainsproat
Last active December 8, 2017 10:01
Show Gist options
  • Save iainsproat/694c3df544ae45a03d7e6d8746ac7fae to your computer and use it in GitHub Desktop.
Save iainsproat/694c3df544ae45a03d7e6d8746ac7fae to your computer and use it in GitHub Desktop.
Clean up Bosh Director locks (with bbl)
  1. bbl director-ssh-key > director-ssh-key.pem
  2. Open director-ssh-key.pem and copy contents into buffer
  3. bbl ssh-key > jumpbox-ssh-key.pem
  4. chmod 600 jumpbox-ssh-key.pem
  5. ssh -i jumpbox-ssh-key.pem -t jumpbox@$(bbl jumpbox-address) bash
  6. You should now be on the jumpbox
  7. vi director-ssh-key.pem
  8. paste the director key contents (which you copied earlier) into the file and save
  9. chmod 600 director-ssh-key.pem
  10. ssh -vvv 10.0.0.6 -i director-ssh-key.pem #Replace 10.0.0.6 with the internal IP address of your bosh director
  11. You should now be ssh'd into the bosh director
  12. sudo -i
  13. monit summary
  14. Follow instructions in http://www.starkandwayne.com/blog/unlocking-bosh-locks/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment