diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index ccede8c73..e054674f0 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -2065,6 +2065,10 @@ sub process_request { my $thishcp_type = xCAT::DBobjUtils->getnodetype($thishcp); if(!defined($thishcp_type)) { $request = {}; + $output{node}->[0]->{name} = [$node]; + $output{node}->[0]->{data} = ["the $node\'s hcp type is not defined in the 'ppc' table."]; + $output{errorcode} = '1'; + $callback-> (\%output); next; } #print "lasthcp_type:$lasthcp_type ;thishcp_type:$thishcp_type\n";