From 76aa2ca6667e493f87e5b3dfcf7893559cfa32a8 Mon Sep 17 00:00:00 2001 From: Bin Xu Date: Tue, 10 Oct 2017 12:51:38 +0800 Subject: [PATCH] Missing one possible error for node ip checking --- xCAT-server/lib/xcat/plugins/anaconda.pm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 440be7a27..83cd34afa 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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 '') {