6:04PM <
:~/chef-repo 0 %> knife ec2 server list
DEBUG: Using configuration from /Users/kelp/chef-repo/.chef/knife.rb
[WARN] Fog::AWS::Compute.new is deprecated, use Fog::Compute.new(:provider => 'AWS') instead (/Users/kelp/.rvm/gems/
/gems/fog-0.6.0/lib/fog/core/service.rb:58:in `new')
[WARN] Fog::AWS::Compute::Server => #ip_address is deprecated, use #public_ip_address instead (/Users/kelp/.rvm/gems/
/gems/fog-0.6.0/lib/fog/compute/models/aws/server.rb:9)
[WARN] Fog::AWS::Compute::Server => #ip_address is deprecated, use #public_ip_address instead (/Users/kelp/.rvm/gems/
/gems/fog-0.6.0/lib/fog/compute/models/aws/server.rb:9)
"running"
INFO: Server state:
[WARN] Fog::AWS::Compute::Server => #ip_address is deprecated, use #public_ip_address instead (/Users/kelp/.rvm/gems/
/gems/fog-0.6.0/lib/fog/compute/models/aws/server.rb:9)
"running"
INFO: Server state:
[WARN] Fog::AWS::Compute::Server => #ip_address is deprecated, use #public_ip_address instead (/Users/kelp/.rvm/gems/
/gems/fog-0.6.0/lib/fog/compute/models/aws/server.rb:9)
[WARN] Fog::AWS::Compute::Server => #ip_address is deprecated, use #public_ip_address instead (/Users/kelp/.rvm/gems/
/gems/fog-0.6.0/lib/fog/compute/models/aws/server.rb:9)
[{}]
INFO: Server state:
/Users/kelp/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/erb.rb:330:in `scan_line': private method `scan' called for {}:Hash (NoMethodError)
from /Users/kelp/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/erb.rb:318:in `call'
from /Users/kelp/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/erb.rb:318:in `percent_line'
from /Users/kelp/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/erb.rb:308:in `scan'
from /Users/kelp/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/erb.rb:307:in `each'
from /Users/kelp/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/erb.rb:307:in `scan'
from /Users/kelp/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/erb.rb:500:in `compile'
from /Users/kelp/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/erb.rb:668:in `initialize'
from /Users/kelp/.rvm/gems/
/gems/highline-1.6.1/lib/highline.rb:376:in `new'
from /Users/kelp/.rvm/gems/
/gems/highline-1.6.1/lib/highline.rb:376:in `list'
from /Users/kelp/.rvm/gems/
/gems/highline-1.6.1/lib/highline.rb:375:in `map'
from /Users/kelp/.rvm/gems/
/gems/highline-1.6.1/lib/highline.rb:375:in `list'
from /Users/kelp/.rvm/gems/
/gems/chef-0.9.14/lib/chef/knife/ec2_server_list.rb:83:in `run'
from /Users/kelp/.rvm/gems/
/gems/chef-0.9.14/lib/chef/knife.rb:127:in `run'
from /Users/kelp/.rvm/gems/
/gems/chef-0.9.14/lib/chef/application/knife.rb:121:in `run'
from /Users/kelp/.rvm/gems/
/gems/chef-0.9.14/bin/knife:25
from /Users/kelp/.rvm/gems/
/bin/knife:19:in `load'
from /Users/kelp/.rvm/gems/
/bin/knife:19
Then it works. One of my instances seems to be returning an empty state.