From edb15ca364f4c36bc9d36e3a7943b2ff9b01c17e Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 17 Mar 2009 18:00:44 +0000 Subject: [PATCH] -Fix problem where revacuate in KVM declared a bug git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/kvm.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index 1f8b9b4c7..74b6d6e71 100644 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -804,13 +804,12 @@ sub process_request { $command = 'rmigrate'; } - my $sitetab; + my $sitetab = xCAT::Table->new('site'); grab_table_data($noderange,$callback); if ($command eq 'revacuate' or $command eq 'rmigrate') { $vmmaxp=1; #for now throttle concurrent migrations, requires more sophisticated heuristics to ensure sanity } else { - $sitetab = xCAT::Table->new('site'); my $tmp; if ($sitetab) { ($tmp)=$sitetab->getAttribs({'key'=>'vmmaxp'},'value');