From 244ef8d7914325d40cc7967f7471d0667d36b852 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 22 Apr 2026 15:24:56 -0400 Subject: [PATCH] Extend timeout for firmware inventory An XCC3 in some cases may take over a minute to provide full firmware inventory. Change-Id: I4507f5f5c4cec9aebd532c96a3f4c1be437b4a03 --- pyghmi/redfish/oem/lenovo/xcc3.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyghmi/redfish/oem/lenovo/xcc3.py b/pyghmi/redfish/oem/lenovo/xcc3.py index 9ee5851f..8b0f3737 100644 --- a/pyghmi/redfish/oem/lenovo/xcc3.py +++ b/pyghmi/redfish/oem/lenovo/xcc3.py @@ -1152,7 +1152,10 @@ class OEMHandler(generic.OEMHandler): pendingscm = None if pendinghpm == '*': pendinghpm = None + oldtimeout = fishclient.wc.mytimeout + fishclient.wc.mytimeout = 120 fwlist = fishclient._do_web_request(fishclient._fwinventory + '?$expand=.') + fishclient.wc.mytimeout = oldtimeout fwlist = copy.deepcopy(fwlist.get('Members', [])) self._fwnamemap = {} for redres in fwlist: