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:
parent
2b28060936
commit
a07ee82026
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user