-Fix problem where stateless initialization phase encountering a transient error could leave a service node persistently corrupted

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-05-07 04:31:33 +00:00
parent 4ab629b3de
commit 737b55b76c
2 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,7 @@ sub setdestiny {
}
} elsif ($state =~ /^install$/ or $state eq "install" or $state eq "netboot" or $state eq "image" or $state eq "winshell") {
chomp($state);
$errored=0;
$subreq->({command=>["mk$state"],
node=>$req->{node}}, \&relay_response);
if ($errored) { return; }

View File

@ -313,6 +313,7 @@ sub process_request {
} else {
@args=($request->{arg});
}
$errored=0;
unless ($args[0] eq 'stat') { # or $args[0] eq 'enact') {
$sub_req->({command=>['setdestiny'],
node=>\@nodes,