mirror of
https://opendev.org/x/pyghmi
synced 2025-01-14 11:48:33 +00:00
Address another location where 108 may appear
108 indicates the XCC had a temporary problem trying to juggle the update internally. Change-Id: I8c444c04c05b5cfee475b0601e88144c6980cdf6
This commit is contained in:
parent
03aabc6fd3
commit
7004a1a4c5
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user