pshima / consul-snapshot

consul-snapshot is a backup and restore utility for Consul (https://www.consul.io). This is slightly different than some other utilities out there as this runs as a daemon for backups and ships them to S3. Also has integrated monitoring and backup health checks.
Apache License 2.0
116 stars 35 forks source link

Error Writing on GCP Bucket #25

Open consultricky opened 6 years ago

consultricky commented 6 years ago

[ERR] Could not upload to GCS!: googleapi: Error 403: Insuff icient Permission, insufficientPermissions"

I have already taken the below mentioned steps

1- Have checked and all permission seems to be in Place along with keys 2- Have tried to copy files using gsutil command into my GCP bucket and was able to successfully copy the same - I did created the GCP bucket so it does exist there 3- Backup files are getting generated properly so no issue there 4- I have already set the below mentioned environment variable before running it  export GCSBUCKET=testbackup ./consul-snapshot backup 5- while running the ./consul-snapshot backup command, in the last line when it is trying to copy files to GCS it is hitting with the Insufficient Permission access issue

pshima commented 6 years ago

Hi there,

I do not have a GCP account to test on but will try and get a trial account to check this out.