2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-02 15:36:05 +00:00

Fix network issue handling issue while managing network configuration.

This commit is contained in:
Jarrod Johnson
2026-08-14 10:40:08 -04:00
parent 969bbe009e
commit cf87fd2127
@@ -710,8 +710,8 @@ class IpmiHandler:
v6gw = config.get('static_v6_gateway', None)
await self.ipmicmd.set_net6_configuration(static_addresses=v6addrs, static_gateway=v6gw)
except socket.error as se:
await self.output.put(msg.ConfluentNodeError(self.node,
se.message))
msg = se.strerror if hasattr(se, 'strerror') else str(se)
await self.output.put(msg.ConfluentNodeError(self.node, msg))
except ValueError as e:
if e.message == 'negative shift count':
await self.output.put(msg.ConfluentNodeError(