rollupdate defect 3396903: need to run llctl reconfig on MN with latest LL ptf1

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2011-08-31 13:22:30 +00:00
parent 18de725691
commit 47db3e0642

View File

@ -1856,6 +1856,11 @@ mxnode_loop: foreach my $mxnode ( xCAT::NodeRange::noderange($mxnodegroup) ) {
sub runrollupdate {
my $reboot_request = shift;
if ( ! $reboot_request->{arg} ) {
&runrollupdate_usage;
return;
}
my @reboot_args = @{$reboot_request->{arg}};
my $internal = 0;
if ( $reboot_args[0] eq "internal" ) { $internal = 1; }
@ -2534,6 +2539,8 @@ sub remove_LL_reservations {
}
}
}
# Send LL reconfig to all central mgrs and resource mgrs
llreconfig();
# Verify that the config change has been registered and that updatefeature
# has been removed according to what the LL daemons report
if (defined($::DATAATTRS{updatefeature}[0])) {
@ -2689,7 +2696,7 @@ sub change_LL_feature {
}
# Send LL reconfig to all central mgrs and resource mgrs
llreconfig();
# llreconfig();
return 0;
}
@ -2769,7 +2776,7 @@ sub remove_LL_updatefeature_only {
}
# Send LL reconfig to all central mgrs and resource mgrs
llreconfig();
# llreconfig();
return 0;
}
@ -2816,7 +2823,7 @@ sub llreconfig {
my @llms = split(/\s+/,$llcms." ".$llrms);
my %have = ();
my @llnodes;
my $runlocal=0;
my $runlocal=1; # need to always run reconfig at least on local MN
foreach my $m (@llms) {
my ($sm,$rest) = split(/\./,$m);
my $xlated_sm = $sm;