mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 03:19:48 +00:00
Refresh connection parameters on retry
If the parameters changing cause a login failure, take the opportunity to refresh that information to work in the midst of a rediscover, for example.
This commit is contained in:
parent
54439d5f18
commit
2b0c50dc23
@ -484,6 +484,9 @@ class IpmiHandler(object):
|
||||
ipmisess.wait_for_rsp(31 - (util.monotonic_time() - begin))
|
||||
if self.broken or self.loggedin:
|
||||
break
|
||||
cfd = cfg.get_node_attributes(node, _configattributes, decrypt=True)
|
||||
self.cfg = cfd[node]
|
||||
connparams = get_conn_params(node, self.cfg)
|
||||
ipmisess._mark_broken()
|
||||
# raise exc.TargetEndpointUnreachable(
|
||||
# "Login process to " + connparams['bmc'] + " died")
|
||||
|
Loading…
Reference in New Issue
Block a user