error processing will be done in xdsh, code not needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14571 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
3aa724b5a4
commit
8605eddf2a
@ -588,34 +588,6 @@ sub preprocess_updatenode
|
||||
foreach my $snkey (keys %$sn)
|
||||
{
|
||||
|
||||
my @tmp_a = split(',', $snkey);
|
||||
foreach my $s1 (@tmp_a)
|
||||
{
|
||||
|
||||
# TODO fix the error handling, right now cause inf loop
|
||||
# should use the new --nodestatus capability
|
||||
# when getdata and updatenode_cb are registered LKV
|
||||
# if ( $::SECURITY
|
||||
# && !(grep /^$s1$/, @::good_sns) # is it good
|
||||
# && !(grep /^$s1$/, @MNip)) # is the MN
|
||||
# {
|
||||
# my $rsp;
|
||||
# push @{$rsp->{data}},
|
||||
# "The security update for service node $snkey encountered error, update security for following nodes will be skipped: @{$sn->{$snkey}}";
|
||||
# xCAT::MsgUtils->message("E", $rsp, $callback);
|
||||
# next;
|
||||
# }
|
||||
|
||||
# remove the service node which have been handled before
|
||||
#if ($::SECURITY && (grep /^$s1$/, @MNip))
|
||||
#{
|
||||
# delete @{$sn->{$snkey}}[@sns];
|
||||
# if (scalar(@{$sn->{$snkey}}) == 0)
|
||||
# {
|
||||
# next;
|
||||
# }
|
||||
#}
|
||||
}
|
||||
|
||||
# build request
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user