mariash / learn-bosh

BOSH tutorial
Apache License 2.0
23 stars 24 forks source link

How to add blobs to the blobstore #23

Closed 1123 closed 7 years ago

1123 commented 7 years ago

Great tutorial! I guess many people will use this as a starting point for more involved bosh deployments.

I tried adding a new blob to the blob-store on bosh-lite:

Got the response

foo.txt uploading.../Library/Ruby/Gems/2.0.0/gems/blobstore_client-1.3262.4.0/lib/blobstore_client/s3_blobstore_client.rb:62:in `create_file': unsupported action (Bosh::Blobstore::BlobstoreError)

Also tried different file names, paths, file types without success. Any ideas?

mariash commented 7 years ago

check permissions on your s3 bucket, if you allowed to create files with s3 credentials you provided in config/blobs.yml. Try to use awscli directly to upload file.

1123 commented 7 years ago

Thanks. Good to know.