From db94cc74796e5541ab25fc0dc2cf4892b3fe0fc3 Mon Sep 17 00:00:00 2001 From: immarvin Date: Thu, 11 May 2017 01:57:38 -0400 Subject: [PATCH] partial fix for [openbmc]xcatd reported "Died at /opt/xcat/sbin/xcatd" when openbmc nodes updated its status from "installing" to "booting" #3026 --- xCAT-server/lib/xcat/plugins/petitboot.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/petitboot.pm b/xCAT-server/lib/xcat/plugins/petitboot.pm index 04e565fb9..faa292721 100644 --- a/xCAT-server/lib/xcat/plugins/petitboot.pm +++ b/xCAT-server/lib/xcat/plugins/petitboot.pm @@ -501,7 +501,11 @@ sub process_request { if ($args[0] eq 'next') { $sub_req->({ command => ['rsetboot'], node => \@nodes, - arg => ['default'] }); + arg => ['default'], + #todo: do not need to pass the XCAT_OPENBMC_DEVEL after the openbmc dev work finish + #this does not hurt anything for other plugins + environment => {XCAT_OPENBMC_DEVEL=>"YES"} + }); xCAT::MsgUtils->message("S", "xCAT: petitboot netboot: clear node(s): @nodes boot device setting."); } my $chaintab = xCAT::Table->new('chain', -create => 1);