mariash / learn-bosh-release

Release for BOSH tutorial

Home Page:http://mariash.github.io/learn-bosh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bosh create-release Access Denied (Status Code 403)

lxndracl opened this issue · comments

When attempting to bosh create-release in my clone of this repo I ran into the following error:

Blob download 'ruby/bundler-1.6.3.gem' (id: 2cbdd2bc-bc00-4b4b-b617-2433cea68a02) failed

- Getting blob '2cbdd2bc-bc00-4b4b-b617-2433cea68a02' for path 'ruby/bundler-1.6.3.gem':
    Getting blob from inner blobstore:
      Getting blob from inner blobstore:
        AccessDenied: Access Denied
	status code: 403, request id: 243BF06355B31F25, host id: ygS+GWefkWI/ndzLef7aYzcjj6nCp8z47WT8+sATUf+prwfcp4s3Dq551b95VN1L4Yhp2sxKBfg=

Exit code 1

Not sure if this error could mean I'm doing something wrong on my end.

I resolve this issue by downloading the bundler-1.6.3.gem file and adding this file to the blobs folder by this command
bosh add-blob ~/Downloads/bundler-1.6.3.gem ruby/bundler-1.6.3.gem

To provide more detail on what hmanukyanVMw said, I did the following and it worked.

mkdir downloads
cd downloads
wget https://rubygems.org/downloads/bundler-1.6.3.gem
wget https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz
cd ..
bosh add-blob downloads/bundler-1.6.3.gem ruby/bundler-1.6.3.gem
bosh add-blob downloads/ruby-2.1.4.tar.gz ruby/ruby-2.1.4.tar.gz
bosh create-release