Open rubydev opened 10 years ago
In s3 configuration I have:
"Action": [ "s3:DeleteObject", "s3:PutObject", "s3:PutObjectAcl", "s3:GetObject", "s3:ListBucket" ],
Also I try:
"Action": [ "s3:*" ],
But always task ended with this:
Expected(200) <=> Actual(403 Forbidden) ... /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/middlewares/expects.rb:6:in `response_call' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/middlewares/response_parser.rb:26:in `response_call' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/connection.rb:398:in `response' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/connection.rb:268:in `request' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request' /app/vendor/bundle/ruby/2.1.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request' /app/vendor/bundle/ruby/2.1.0/gems/fog-1.20.0/lib/fog/xml/sax_parser_connection.rb:36:in `request' /app/vendor/bundle/ruby/2.1.0/gems/fog-1.20.0/lib/fog/core/deprecated/connection.rb:18:in `request' /app/vendor/bundle/ruby/2.1.0/gems/fog-1.20.0/lib/fog/aws/storage.rb:549:in `request' /app/vendor/bundle/ruby/2.1.0/gems/fog-1.20.0/lib/fog/aws/requests/storage/get_bucket.rb:44:in `get_bucket' /app/vendor/bundle/ruby/2.1.0/gems/fog-1.20.0/lib/fog/aws/models/storage/directories.rb:24:in `get' /app/vendor/bundle/ruby/2.1.0/gems/fog-1.20.0/lib/fog/aws/models/storage/files.rb:32:in `all' /app/vendor/bundle/ruby/2.1.0/bundler/gems/heroku-mongo-backup-4c149ca10614/lib/s3_helpers.rb:127:in `remove_old_backup_files' /app/vendor/bundle/ruby/2.1.0/bundler/gems/heroku-mongo-backup-4c149ca10614/lib/heroku-mongo-backup.rb:164:in `backup' /app/vendor/bundle/ruby/2.1.0/bundler/gems/heroku-mongo-backup-4c149ca10614/lib/tasks/heroku_mongo_backup.rake:8:in `block (2 levels) in ' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `call' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `block in execute' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `each' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `execute' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:175:in `block in invoke_with_call_chain' /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:161:in `invoke' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:149:in `invoke_task' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `block (2 levels) in top_level' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `each' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `block in top_level' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:115:in `run_with_threads' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:100:in `top_level' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:78:in `block in run' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:165:in `standard_exception_handling' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:75:in `run' /app/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/bin/rake:33:in `' /app/vendor/bundle/ruby/2.1.0/bin/rake:23:in `load' /app/vendor/bundle/ruby/2.1.0/bin/rake:23:in `' Tasks: TOP => mongo:backup
I tried updated fog to version 1.22. I use mongoid4 branch.
Can you help me? Thanks!
In s3 configuration I have:
Also I try:
But always task ended with this:
I tried updated fog to version 1.22. I use mongoid4 branch.
Can you help me? Thanks!