-Fix bug with Table at-scale call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
67a33b5fcb
commit
71b7c1b735
@ -262,6 +262,7 @@ sub getdestiny {
|
||||
}
|
||||
my $node;
|
||||
$restab = xCAT::Table->new('noderes');
|
||||
my $chaintab = xCAT::Table->new('chain');
|
||||
my $chainents = $chaintab->getNodesAttribs(\@nodes,[qw(currstate chain)]);
|
||||
my $nrents = $restab->getNodesAttribs(\@nodes,[qw(tftpserver xcatmaster)]);
|
||||
$bptab = xCAT::Table->new('bootparams',-create=>1);
|
||||
@ -269,7 +270,6 @@ sub getdestiny {
|
||||
my $sitetab= xCAT::Table->new('site');
|
||||
(my $sent) = $sitetab->getAttribs({key=>'master'},'value');
|
||||
foreach $node (@nodes) {
|
||||
my $chaintab = xCAT::Table->new('chain');
|
||||
unless ($chaintab) { #Without destiny, have the node wait with ssh hopefully open at least
|
||||
$callback->({node=>[{name=>[$node],data=>['standby'],destiny=>[ 'standby' ]}]});
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user