-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
This commit is contained in:
jbjohnso 2009-03-17 18:00:44 +00:00
parent 016c152509
commit edb15ca364

View File

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