Author: arkurth Date: Thu May 17 16:46:14 2012 New Revision: 1339700 URL: http://svn.apache.org/viewvc?rev=1339700&view=rev Log: VCL-503 Reverted is_ssh_responding to previous call to run_ssh_command.
Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm?rev=1339700&r1=1339699&r2=1339700&view=diff ============================================================================== --- incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm (original) +++ incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm Thu May 17 16:46:14 2012 @@ -618,13 +618,21 @@ sub is_ssh_responding { if ($max_attempts) { # Run a test SSH command - my ($exit_status, $output) = $self->execute({ + #my ($exit_status, $output) = $self->execute({ + # node => $computer_node_name, + # command => "echo \"testing ssh on $computer_node_name\"", + # max_attempts => $max_attempts, + # display_output => 0, + # timeout_seconds => 30, + # ignore_error => 1, + #}); + + my ($exit_status, $output) = run_ssh_command({ node => $computer_node_name, command => "echo \"testing ssh on $computer_node_name\"", max_attempts => $max_attempts, - display_output => 0, + output_level => 0, timeout_seconds => 30, - ignore_error => 1, }); # The exit status will be 0 if the command succeeded