-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ironfan 4.12.3 || 5.0.0 = cluster_ssh = undefined method `length' for nil:NilClass (NoMethodError) #350
Comments
What command results in this error? |
knife cluster kick foo. Let me switch to 4.12.3 and get a little more detail. |
What happens if you replace
with
? |
let me give er a go. queue elevator music |
@meekmichael, can you think of a case where |
/Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/ironfan-4.12.3/lib/chef/knife/cluster_ssh.rb:77:in `*': negative argument (ArgumentError) |
so after this line:
add this:
|
Good. Too. Go. from some brief testing... Thank you again. I imagine this will get to HEAD at some point of which I am having issues testing in regards to realms, which are required in 6.x I believe. I will submit an issue to that as well. |
4.12.2 does not exhibit this behavior but 4.12.3 and 5.0.0 does. Not sure how to get around it.
Env
centos 6.5 64bit
chef 10.32.2
ruby 1.9.3-p545
rubygems 2.2.2
ironfan 4.12.3 || 5.0.0
ohai 6.22.0
/Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/ironfan-5.0.0/lib/chef/knife/cluster_ssh.rb:75:in
'print_data': undefined method
length' for nil:NilClass (NoMethodError)from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/ironfan-5.0.0/lib/chef/knife/cluster_ssh.rb:73:in
block in print_data' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/ironfan-5.0.0/lib/chef/knife/cluster_ssh.rb:73:in
each'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/ironfan-5.0.0/lib/chef/knife/cluster_ssh.rb:73:in
print_data' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/ironfan-5.0.0/lib/chef/knife/cluster_ssh.rb:96:in
block (3 levels) in ssh_command'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-2.8.0/lib/net/ssh/connection/channel.rb:569:in
call' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-2.8.0/lib/net/ssh/connection/channel.rb:569:in
do_data'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-2.8.0/lib/net/ssh/connection/session.rb:566:in
channel_data' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-2.8.0/lib/net/ssh/connection/session.rb:465:in
dispatch_incoming_packets'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-2.8.0/lib/net/ssh/connection/session.rb:221:in
preprocess' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-multi-1.1/lib/net/ssh/multi/server.rb:204:in
preprocess'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-multi-1.1/lib/net/ssh/multi/session.rb:449:in
block in preprocess' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-multi-1.1/lib/net/ssh/multi/server_list.rb:47:in
block in each'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-multi-1.1/lib/net/ssh/multi/server_list.rb:45:in
each' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-multi-1.1/lib/net/ssh/multi/server_list.rb:45:in
each'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-multi-1.1/lib/net/ssh/multi/session.rb:449:in
preprocess' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-multi-1.1/lib/net/ssh/multi/session.rb:430:in
process'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-multi-1.1/lib/net/ssh/multi/session.rb:417:in
block in loop' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-multi-1.1/lib/net/ssh/multi/session.rb:417:in
loop'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/net-ssh-multi-1.1/lib/net/ssh/multi/session.rb:417:in
loop' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/ironfan-5.0.0/lib/chef/knife/cluster_ssh.rb:110:in
ssh_command'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/ironfan-5.0.0/lib/chef/knife/cluster_ssh.rb:132:in
_run' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/ironfan-5.0.0/lib/chef/knife/ironfan_knife_common.rb:32:in
run'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/ironfan-5.0.0/lib/chef/knife/cluster_kick.rb:55:in
run' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/chef-10.32.2/lib/chef/knife.rb:408:in
run_with_pretty_exceptions'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/chef-10.32.2/lib/chef/knife.rb:168:in
run' from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/chef-10.32.2/lib/chef/application/knife.rb:125:in
run'from /Users/christian/.rbenv/versions/1.9.3-p545/lib/ruby/gems/1.9.1/gems/chef-10.32.2/bin/knife:25:in
<top (required)>' from /Users/christian/.rbenv/versions/1.9.3-p545/bin/knife:23:in
load'from /Users/christian/.rbenv/versions/1.9.3-p545/bin/knife:23:in `
The text was updated successfully, but these errors were encountered: