fix double reporting of node names when timeout occurs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e59c5f3c48
commit
494fd154c3
@ -449,7 +449,7 @@ sub _execute_dsh
|
||||
$rsp->{data}->[0] =
|
||||
" Timed out waiting for response from child processes for the following nodes. Terminating the child processes. ";
|
||||
$rsp->{data}->[1] = " @active_list";
|
||||
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
|
||||
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
|
||||
@targets_failed = keys(%targets_active);
|
||||
|
||||
&handle_signal_dsh('INT', 2);
|
||||
@ -561,8 +561,11 @@ sub _execute_dsh
|
||||
$rsp->{data}->[0] = "dsh> Remote_command_failed $user_target";
|
||||
$$options{'monitor'}
|
||||
&& xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
|
||||
|
||||
push @targets_failed, $user_target;
|
||||
if (!grep(/$user_target/, @targets_failed))
|
||||
{ # not already in list
|
||||
|
||||
push @targets_failed, $user_target;
|
||||
}
|
||||
push @{$dsh_target_status{'failed'}}, $user_target
|
||||
if !$signal_interrupt_flag;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user