the execute order of "kitnodeadd" in "00kitnodebase.pm" and "01kitlsfconfig.pm" is not correct. 00kitnodebase.pm should be executed first and then 01kitlsfconfig.pm
the fix is listed below:
leo@office[work]:$cat diff.profilednodes.pm --- profilednodes.pm 2015-07-12 22:31:22.237715065 -0400 +++ profilednodes.pm.new 2015-07-12 22:32:10.194473976 -0400 @@ -1046,9 +1046,9 @@ setrsp_progress("Warning: failed to call kit commands."); }
setrsp_progress("Re-creating nodes...");
append new diff files
leo@office[xcat-xcat-core]:$git diff diff --git a/xCAT-server/lib/xcat/plugins/profilednodes.pm b/xCAT-server/lib/xcat/plugins/profilednodes.pm index d674c4c..5ea1a5f 100644 --- a/xCAT-server/lib/xcat/plugins/profilednodes.pm +++ b/xCAT-server/lib/xcat/plugins/profilednodes.pm @@ -1001,7 +1001,7 @@ Usage: }
the fix is listed below:
leo@office[work]:$cat diff.profilednodes.pm
--- profilednodes.pm 2015-07-12 22:31:22.237715065 -0400
+++ profilednodes.pm.new 2015-07-12 22:32:10.194473976 -0400
@@ -1046,9 +1046,9 @@
setrsp_progress("Warning: failed to call kit commands.");
}
$retstrref = parse_runxcmd_ret($retref);
if ($::RUNCMD_RC != 0){
setrsp_progress("Warning: failed to call kit commands.");
}
append new diff files
leo@office[xcat-xcat-core]:$git diff
diff --git a/xCAT-server/lib/xcat/plugins/profilednodes.pm b/xCAT-server/lib/xcat/plugins/profilednodes.pm
index d674c4c..5ea1a5f 100644
--- a/xCAT-server/lib/xcat/plugins/profilednodes.pm
+++ b/xCAT-server/lib/xcat/plugins/profilednodes.pm
@@ -1001,7 +1001,7 @@ Usage:
}
$retstrref = parse_runxcmd_ret($retref);
if ($::RUNCMD_RC != 0){
setrsp_progress("Warning: failed to call kit commands.");