-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:
jbjohnso 2010-11-03 18:05:12 +00:00
parent d485f74ed3
commit 253b7d4ae7
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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}}) {