From 7004a1a4c5e1d3f381a98f001a8ae9ceabfa6980 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 11 Apr 2019 12:39:33 -0400 Subject: [PATCH] Address another location where 108 may appear 108 indicates the XCC had a temporary problem trying to juggle the update internally. Change-Id: I8c444c04c05b5cfee475b0601e88144c6980cdf6 --- pyghmi/ipmi/oem/lenovo/imm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index 859a2c85..85be1841 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -1533,6 +1533,8 @@ class XCCClient(IMMClient): {'UPD_WebVerifyUploadFile': 1})) if rsp.get('return', 0) == 115: raise Exception('Update image not intended for this system') + elif rsp.get('return', -1) == 108: + raise Exception('Temporary error validating update, try again') elif rsp.get('return', -1) != 0: errmsg = repr(rsp) if rsp else self.wc.lastjsonerror raise Exception('Unexpected return to verify: ' + errmsg)