mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	Missing one possible error for node ip checking
This commit is contained in:
		| @@ -1353,14 +1353,8 @@ sub mkinstall | ||||
|             if ($::XCATSITEVALS{managedaddressmode} =~ /static/) { | ||||
|                 my ($ipaddr, $hostname, $gateway, $netmask) = xCAT::NetworkUtils->getNodeNetworkCfg($node); | ||||
|                 unless ($ipaddr) { | ||||
|                     $callback->( | ||||
|                         { | ||||
|                             error => [ | ||||
|                                 "cannot resolve the ip address of $node" | ||||
|                             ], | ||||
|                             errorcode => [1] | ||||
|                         } | ||||
|                     ); | ||||
|                     xCAT::MsgUtils->report_node_error($callback, $node, "cannot resolve the ip address of $node"); | ||||
|                     next; | ||||
|                 } | ||||
|  | ||||
|                 if ($gateway eq '<xcatmaster>') { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user