-Clarify error output on template processing issues on noderanges
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -26,6 +26,7 @@ sub subvars { | ||||
|   my $self = shift; | ||||
|   my $inf = shift; | ||||
|   my $outf = shift; | ||||
|   $tmplerr=undef; #clear tmplerr since we are starting fresh | ||||
|   $node = shift; | ||||
|   my $pkglistfile=shift; | ||||
|  | ||||
|   | ||||
| @@ -197,7 +197,9 @@ sub setdestiny { | ||||
|     $errored=0; | ||||
|     $subreq->({command=>["mk$state"], | ||||
|               node=>$req->{node}}, \&relay_response); | ||||
|     if ($errored) { return; } | ||||
|     if ($errored) {  | ||||
|         $callback->({error=>"Some nodes failed to set up $state resources, aborting"}); | ||||
|         return; } | ||||
|       | ||||
|     my $ntents = $nodetypetable->getNodesAttribs($req->{node},[qw(os arch profile)]); | ||||
|     foreach (@{$req->{node}}) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user