fix defect 3267

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2013-01-03 14:42:56 +00:00
parent 97a8e6b7f8
commit c6eec9badd

View File

@ -224,7 +224,19 @@ sub preprocess_request
{
# if it is a good SN, one ready to service the nodes
if (grep(/$snkey/, @::good_SN))
# split if a pool
# if one in the pool is good, send the command to the
# daemon
my @sn_list = split ',', $snkey;
my $goodsn=0;
foreach my $sn (@sn_list) {
if (grep(/$sn/, @::good_SN)) {
$goodsn=1;
last;
}
}
# found a good service node
if ($goodsn == 1)
{
my $noderequests =
&process_nodes($req, $sn, $snkey,$synfiledir);