From df84c5da02f3f689da5cb8c7735de210554e3326 Mon Sep 17 00:00:00 2001 From: mellor Date: Wed, 10 Aug 2011 22:05:42 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/rollupdate.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/rollupdate.pm b/xCAT-server/lib/xcat/plugins/rollupdate.pm index a51050816..f70888bea 100644 --- a/xCAT-server/lib/xcat/plugins/rollupdate.pm +++ b/xCAT-server/lib/xcat/plugins/rollupdate.pm @@ -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); } }