2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

nodediscover.pm: print error message when failed to open socket to 3001 port of the node under discovery

This commit is contained in:
yangsbj 2018-08-10 05:57:09 -04:00
parent 2b28060936
commit a07ee82026

View File

@ -510,7 +510,7 @@ sub process_request {
Timeout => '1',
Proto => 'tcp'
);
unless ($sock) { xCAT::MsgUtils->message("S", "xcat.discovery.nodediscover: Failed to notify $clientip that it's actually $node. $node has not been discovered."); return; }
unless ($sock) { xCAT::MsgUtils->message("S", "xcat.discovery.nodediscover: Failed to notify $clientip that it's actually $node. $node has not been discovered: $!"); return; }
print $sock $restartstring;
close($sock);