From b376bf0b70e7164aec917b029fcbd04dec78f658 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 24 Jun 2011 18:29:12 +0000 Subject: [PATCH] Further rectify forced migration error handling git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 66eec1308..bc2d7aa4c 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -492,8 +492,9 @@ sub process_request { } my @relevant_nodes = sort (keys %{$hyphash{$_}->{nodes}}); foreach (@relevant_nodes) { + if ($command eq "rmigrate" and grep /-f/,@exargs) { $limbonodes{$_}=1; } else { xCAT::SvrUtils::sendmsg([1,": hypervisor unreachable"], $output_handler,$_); - if ($command eq "rmigrate" and grep /-f/,@exargs) { $limbonodes{$_}=1; } + } } delete $hyphash{$_}; }