2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-31 16:49:11 +00:00

Revert afflicting 'cleanup' on x86 nodediscover

When doing node discovery, the 'cleanup' would tremendously
slow down most environments.  This cleanup is not needed, and
so I am relegating it to POWER only again.
This commit is contained in:
Jarrod Johnson
2016-05-09 14:31:28 -04:00
parent b55ed38935
commit b8824410f3

View File

@@ -371,8 +371,11 @@ sub process_request {
$callback->({error=> ["The node [$node] should have a correct IP address which belongs to the management network."], errorcode=>["1"]});
return;
}
# Other arch such as IBM system x need also to go into this function.
xCAT::Utils->cleanup_for_powerLE_hardware_discovery($request, $doreq);
if ($request->{arch}->[0] =~ /ppc/ and $request->{platform}->[0] =~ /PowerNV/) {
# This is a slow thing to do, and frequently breaks things thoroughly
xCAT::Utils->cleanup_for_powerLE_hardware_discovery($request, $doreq);
}
my $restartstring = "restart";
if (scalar @forcenics > 0) {