defect 3376989 -- fix problem where creating node with translated name in xcatd

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2011-07-25 22:40:28 +00:00
parent 94329453a0
commit f9259dfec6

View File

@ -2226,21 +2226,24 @@ sub runrollupdate {
}
if (($::scheduler eq "loadleveler") &&
($::ll_reservation_id)){
my @remove_res;
my @remove_res_LL;
my @remove_res_xCAT;
foreach my $bn (keys %ll_res) {
if (($ll_res{$bn}{remove}) && (! $ll_res{$bn}{removed}) ){
if ( defined($::XLATED{$bn}) ) {
push (@remove_res,$::XLATED{$bn});
push (@remove_res_LL,$::XLATED{$bn});
push (@remove_res_xCAT,$bn);
} else {
push (@remove_res,$bn);
push (@remove_res_LL,$bn);
push (@remove_res_xCAT,$bn);
}
$ll_res{$bn}{removed} = 1;
$ll_res{$bn}{not_done} = 0;
}
}
if (@remove_res) {
&remove_LL_reservations(\@remove_res);
xCAT::Utils->setAppStatus(\@remove_res,"RollingUpdate","update_complete");
if (@remove_res_LL) {
&remove_LL_reservations(\@remove_res_LL);
xCAT::Utils->setAppStatus(\@remove_res_xCAT,"RollingUpdate","update_complete");
}
}
if ($not_done) {