From 8605eddf2a4001059d9c6820b179f2a14317237f Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 6 Dec 2012 12:35:11 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/updatenode.pm | 28 ---------------------- 1 file changed, 28 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/updatenode.pm b/xCAT-server/lib/xcat/plugins/updatenode.pm index 3dc588452..447114cde 100644 --- a/xCAT-server/lib/xcat/plugins/updatenode.pm +++ b/xCAT-server/lib/xcat/plugins/updatenode.pm @@ -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