Fix problem where node specific errors in some ipmi scenarios are not associated with a node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -1058,7 +1058,7 @@ sub check_rsp_errors { #TODO: pass in command-specfic error code translation tab
 | 
			
		||||
	}
 | 
			
		||||
    if ($rsp->{code}) { #ipmi error
 | 
			
		||||
        if ($codes{$rsp->{code}}) {
 | 
			
		||||
            xCAT::SvrUtils::sendmsg([1,$codes{$rsp->{code}}],$callback);
 | 
			
		||||
            xCAT::SvrUtils::sendmsg([1,$codes{$rsp->{code}}],$callback,$sessdata->{node},%allerrornodes);
 | 
			
		||||
        } else {
 | 
			
		||||
             xCAT::SvrUtils::sendmsg([1,sprintf("Unknown error code %02xh",$rsp->{code})],$callback,$sessdata->{node},%allerrornodes);
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user