mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	-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:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user