defect 3750

This commit is contained in:
lissav 2013-09-13 08:00:12 -04:00
parent 643952493a
commit 42af194434
4 changed files with 16 additions and 6 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 ) { # if compute nodes broadcast to all servicenodes
return xCAT::Scope->get_broadcast_scope($req,@_);
}
}
return [$req];
}

View File

@ -2,13 +2,15 @@
package xCAT_plugin::vsmppxe;
use Data::Dumper;
use Sys::Syslog;
use xCAT::Scope;
use xCAT::Utils;
use xCAT::NetworkUtils;
use Socket;
use File::Copy;
use Getopt::Long;
use xCAT::MsgUtils;
use xCAT::ServiceNodeUtils;
use xCAT::TableUtils qw(get_site_attribute);
use xCAT::TableUtils;
my $addkcmdlinehandled;
my $request;
my $callback;
@ -276,7 +278,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 ) { # if compute nodes broadcast to 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];
}