From 372756a6adc5838668e5dff916dd4b490b4c0cc0 Mon Sep 17 00:00:00 2001 From: Bin Xu Date: Tue, 27 Mar 2018 15:12:21 +0800 Subject: [PATCH] (#4913) clear cache before run 'nodeset <> next' to avoid using the old IP address after IP address is modified. --- xCAT-server/sbin/xcatd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index b6b793eb6..9d5c6cbbc 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -469,6 +469,8 @@ sub do_installm_service { alarm(0); print $conn "done\n"; $text =~ s/\r//g; + # Clear IP-Name cache, Workaround (#4913) for IP changed cases. + xCAT::NetworkUtils->clearcache(); if ($text =~ /next/) { my %request = ( command => ['nodeset'],