ThoughtWorksStudios / eb_deployer

AWS Elastic Beanstalk blue-green deployment automation from ThoughtWorks Mingle Team
MIT License
400 stars 94 forks source link

Deployment fails with stock configuration (v0.4.4) #18

Closed stowns closed 10 years ago

stowns commented 10 years ago

repro:

  1. eb_deploy
  2. eb_deploy -p target/myapp.war -e dev
/Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/option_grammar.rb:585:in `block in validate': unexpected option tier (ArgumentError)
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/option_grammar.rb:583:in `each'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/option_grammar.rb:583:in `validate'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/option_grammar.rb:598:in `request_params'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/query_request_builder.rb:37:in `populate_request'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/client.rb:614:in `block (2 levels) in define_client_method'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/client.rb:503:in `build_request'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/client.rb:434:in `block (3 levels) in client_request'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/response.rb:180:in `call'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/response.rb:180:in `build_request'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/response.rb:108:in `initialize'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/client.rb:183:in `new'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/client.rb:183:in `new_response'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/client.rb:433:in `block (2 levels) in client_request'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/client.rb:334:in `log_client_request'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/client.rb:420:in `block in client_request'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/client.rb:316:in `return_or_raise'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/aws-sdk-1.8.0/lib/aws/core/client.rb:419:in `client_request'
    from (eval):3:in `create_environment'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/eb_deployer-0.4.4/lib/eb_deployer/aws_driver/beanstalk.rb:54:in `create_environment'
    from /Users/simon/.rvm/gems/ruby-1.9.3-p484/gems/eb_deployer-0.4.4/lib/eb_deployer/throttling_handling.rb:13:in `block in method_missing'
stowns commented 10 years ago

fixed by manually installing 'aws-sdk' gem @1.40.3