defect 3405123 - rollupdate change LL feature for down nodes

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2011-09-07 14:10:21 +00:00
parent 94ce223ef9
commit a6033e7bf9

View File

@ -2521,16 +2521,16 @@ sub remove_LL_reservations {
}
my @llnodes_removed;
foreach my $n (@{$nodes}) {
# change features for this node
if ($CANCEL_DUE_TO_ERROR) {
&remove_LL_updatefeature_only($n);
} else {
&change_LL_feature($n);
}
my @lln;
if ( (@lln=grep(/^$n$/,@llnodes)) | (@lln=grep(/^$n\./,@llnodes)) ) {
$remove_count++;
push (@llnodes_removed,$lln[0]);
# change features for this node
if ($CANCEL_DUE_TO_ERROR) {
&remove_LL_updatefeature_only($lln[0]);
} else {
&change_LL_feature($lln[0]);
}
if ( $remove_count < $llnode_count ) {
$remove_cmd .= " $lln[0]";
} else {