2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-23 01:53:28 +00:00

Friendlier error on read during update

Firmware update error now sends a more friendly error to client.
This commit is contained in:
Jarrod Johnson 2019-02-26 16:40:06 -05:00
parent 46b909c291
commit 686b59c2b4

View File

@ -876,6 +876,9 @@ class IpmiHandler(object):
'Extended information unavailable, mismatch detected between '
'target certificate fingerprint and '
'pubkeys.tls_hardwaremanager attribute')
except pygexc.TemporaryError as e:
errorneeded = msg.ConfluentNodeError(
self.node, str(e))
self.output.put(msg.Firmware(items, self.node))
if errorneeded:
self.output.put(errorneeded)