From 2ac5da13efc80d0ad5e3783c43944cfb6a2acacf Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 28 Mar 2017 11:11:36 -0400 Subject: [PATCH] Fix missing sessdata --- xCAT-server/lib/xcat/plugins/ipmi.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index ebc84ed99..47d9d68c4 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -2072,6 +2072,7 @@ sub abort_fpc_update { } sub fpc_update_aborted { + my $sessdata = $_[1]; 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);