From 5509f6ab485353f78c96ad3a3bddd3d8caaa1732 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 11 Nov 2013 09:18:00 -0500 Subject: [PATCH] Have rflash on fpc present a more readable error message --- xCAT-server/lib/xcat/plugins/ipmi.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index ffcb4be9e..aa4dc14d6 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -1256,6 +1256,11 @@ sub rflash { } sub fpc_firmup_config { + if ($_[0]->{code} == 0x91) { #ipmi error + xCAT::SvrUtils::sendmsg([1,"Invalid URL given"],$callback,$sessdata->{node},%allerrornodes); + abort_fpc_update($_[1]); + return; + } if (check_rsp_errors(@_)) { abort_fpc_update($_[1]); return;