Closed ghost closed 10 years ago
@rickmendes I got the same error and logged a bug. I got mine when doing trying to list the instances against a stack that didn't exist, does your stack show up when you list stacks?
@keviny22 Yes. The stacks we were trying this against tonight all showed up in the list output.
This appears to be fixed in 0.8.2:
$ simple_deploy instances -n test123 preprod 2014-04-02 06:34:36 -0700 INFO : Stack 'test123' does not have any instances.
$ simple_deploy -v 0.7.1
$ simple_deploy instances -e preprod-search-us-west-1 -n ssp-pod-1-dev-1-spamham-2-pandhale2 2013-03-27 17:05:43 -0700 INFO : Stack 'ssp-pod-1-dev-1-spamham-2-pandhale2' does not have any instances.
$ simple_deploy -v 0.7.2
$ simple_deploy instances -e preprod-search-us-west-1 -n ssp-pod-1-dev-1-spamham-2-pandhale2 /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/gems/stackster-0.4.4/lib/stackster/aws/auto_scaling_groups.rb:18:in'
list_instances': undefined method
[]' for nil:NilClass (NoMethodError) from /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/gems/stackster-0.4.4/lib/stackster/instance/instance_reader.rb:13:inlist_stack_instances' from /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/gems/stackster-0.4.4/lib/stackster/stack/stack_reader.rb:39:in
instances' from /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/gems/stackster-0.4.4/lib/stackster/stack.rb:66:ininstances' from /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.2/lib/simple_deploy/stack.rb:83:in
instances' from /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.2/lib/simple_deploy/cli/instances.rb:38:inlist' from /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.2/lib/simple_deploy/cli.rb:47:in
start' from /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/gems/simple_deploy-0.7.2/bin/simple_deploy:6:in<top (required)>' from /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/bin/simple_deploy:19:in
load' from /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/bin/simple_deploy:19:in<main>' from /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in
eval' from /Users/rmonaghan/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `