defect 3750

This commit is contained in:
lissav 2013-09-13 07:37:25 -04:00
parent bfd7e6c7ee
commit 48e922423a
4 changed files with 12 additions and 4 deletions

View File

@ -346,7 +346,9 @@ sub preprocess_request {
if ($req->{inittime}->[0]) {
return [$req];
}
return xCAT::Scope->get_broadcast_scope($req,@_);
if (@CN >0 ) { # there are computenodes then run on all servicenodes
return xCAT::Scope->get_broadcast_scope($req,@_);
}
}
return [$req];
}

View File

@ -276,7 +276,9 @@ sub preprocess_request {
if ($req->{inittime}->[0]) {
return [$req];
}
return xCAT::Scope->get_broadcast_scope($req,@_);
if (@CN >0 ) { # if there are compute nodes then broadcast to any servicenodes
return xCAT::Scope->get_broadcast_scope($req,@_);
}
}
return [$req];
}

View File

@ -366,7 +366,9 @@ sub preprocess_request {
if ($req->{inittime}->[0]) {
return [$req];
}
return xCAT::Scope->get_broadcast_scope($req,@_);
if (@CN >0 ) { # there are computenodes then run on all servicenodes
return xCAT::Scope->get_broadcast_scope($req,@_);
}
}
return [$req];
}

View File

@ -397,7 +397,9 @@ sub preprocess_request {
if ($req->{inittime}->[0]) {
return [$req];
}
return xCAT::Scope->get_broadcast_scope($req,@_);
if (@CN >0 ) { # if compute nodes broadcast to all servicenodes
return xCAT::Scope->get_broadcast_scope($req,@_);
}
}
return [$req];
}