2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-07 10:48:24 +00:00

Have FPC process handle failure to abort

This commit is contained in:
Jarrod Johnson
2017-03-27 17:13:23 -04:00
parent f4b33ef2ea
commit bebac9a567

View File

@@ -2072,8 +2072,12 @@ sub abort_fpc_update {
}
sub fpc_update_aborted {
if ($_[0]->{code}) {
xCAT::SvrUtils::sendmsg("Unexpected condition, restarting device", $callback, $sessdata->{node}, %allerrornodes);
$sessdata->{ipmisession}->subcmd(netfn => 0x2e, command => 0xcc, data => [0x2e, 0xcc, 0x5e, 0x2b, 0, 6, 0x43, 0], callback => \&fpc_update_aborted, callback_args => $sessdata);
}
check_rsp_errors(@_);
return;
exit 1;
}
sub fpc_firmxfer_watch {