defect 3388864 - rollupdate - cancel LL reservation if bad appstatus

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2011-08-10 22:05:42 +00:00
parent dc4a420879
commit df84c5da02

View File

@ -1965,6 +1965,11 @@ sub runrollupdate {
"S",
"ROLLUPDATE failure: $::ug_name: Node $node appstatus not in valid state for rolling update "
);
if ($::ll_reservation_id){
my @remove_res;
$remove_res[0]='CANCEL_DUE_TO_ERROR';
&remove_LL_reservations(\@remove_res);
}
exit(1);
}
}