-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
The README doesn't describe a working process, and the steps for the creds may be unclear, but here's the error when I pull it and try to install it after cloning and then generating a cred from the bundle in MASTER, as below.
My current guess is that I'm munging the concepts of the "do access key" -- for which I apparently only pass the name? in addition, the current porter.yaml file has this:
--host-bucket=%(bucket)s.{{bundle.parameters.region}}.digitaloceanspaces.com"
Um, don't we mean to escape the "bucket)s" part?
🔋 44% (1:50) porter install --tag jeremyrickard/porter-do-bundle:v0.3.10 -c spring-music --param space_name=cnab --param namespace=cnab 1 ↵ 9011 09:54:50
installing spring-music...
executing install action from spring-music (bundle instance: spring-music) defined in /cnab/app/porter.yaml
s3cmd create bucket
ERROR: S3 error: 400 (InvalidRequest): Malformed request
Error: error running command /usr/bin/s3cmd s3cmd mb s3://******* --access_key=*******-storage --secret_key=******* --host=nyc3.digitaloceanspaces.com --host-bucket=%(bucket)s.nyc3.digitaloceanspaces.com: exit status 11
err: error running command /usr/bin/s3cmd s3cmd mb s3://******* --access_key=*******-storage --secret_key=******* --host=nyc3.digitaloceanspaces.com --host-bucket=%(bucket)s.nyc3.digitaloceanspaces.com: exit status 11
Error: mixin execution failed: exit status 1
Error: failed to install the bundle: container exit code: 1, message: <nil>
and if I build it from scratch, and THEN install:
🔋 42% (1:47) porter install spring-music -c spring-music --param space_name=cnab --param namespace=cnab ✔ 9016 09:58:46
installing spring-music...
executing install action from spring-music (bundle instance: spring-music) defined in /cnab/app/porter.yaml
s3cmd create bucket
ERROR: S3 error: 400 (InvalidRequest): Malformed request
err: error running command /usr/bin/s3cmd s3cmd mb s3://******* --access_key=*******-storage --secret_key=******* --host=nyc3.digitaloceanspaces.com --host-bucket=%(bucket)s.nyc3.digitaloceanspaces.com: exit status 11
Error: error running command /usr/bin/s3cmd s3cmd mb s3://******* --access_key=*******-storage --secret_key=******* --host=nyc3.digitaloceanspaces.com --host-bucket=%(bucket)s.nyc3.digitaloceanspaces.com: exit status 11
Error: mixin execution failed: exit status 1
Error: failed to install the bundle: container exit code: 1, message: <nil>
Metadata
Metadata
Assignees
Labels
No labels