-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:
		| @@ -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; } | ||||
|   | ||||
| @@ -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, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user