simple_deploy icon indicating copy to clipboard operation
simple_deploy copied to clipboard

Catch, backoff and retry when receiving cloud formation rate exceeded error

Open weavenet opened this issue 12 years ago • 0 comments

this is a fairly common occurance and can provide for a improved user experience if inside the application.

/usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/aws/cloud_formation/error.rb:22:in process': Throttling => Rate exceeded (SimpleDeploy::Exceptions::CloudFormationError) from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/aws/cloud_formation.rb:45:inrescue in describe_stack' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/aws/cloud_formation.rb:43:in describe_stack' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/aws/cloud_formation.rb:61:instack_status' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/stack/stack_reader.rb:18:in status' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/stack/status.rb:46:incurrent' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/stack/status.rb:27:in create_failed?' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/stack/status.rb:31:instable?' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/stack/status.rb:40:in wait_for_stable' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/stack/stack_updater.rb:27:inupdate' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/stack/stack_updater.rb:17:in update_stack' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/stack.rb:54:inupdate' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/stack/deployment/status.rb:39:in set_deployment_in_progress' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/stack/deployment.rb:28:inexecute' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/stack.rb:83:in deploy' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/cli/deploy.rb:87:inblock in deploy' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/cli/deploy.rb:64:in each' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/cli/deploy.rb:64:indeploy' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/lib/simple_deploy/cli.rb:39:in start' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/gems/simple_deploy-0.8.0/bin/simple_deploy:6:in<top (required)>' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/bin/simple_deploy:19:in load' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/bin/simple_deploy:19:in

' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/bin/ruby_executable_hooks:15:in eval' from /usr/local/rvm/gems/ruby-2.0.0-p353@sts/bin/ruby_executable_hooks:15:in
'

weavenet avatar Jan 22 '14 17:01 weavenet