diff --git a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py index 9073cec0..1824203c 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py @@ -406,9 +406,10 @@ class IpmiHandler(object): ipmisess = persistent_ipmicmds[(node, tenant)].ipmi_session begin = util.monotonic_time() while ((not (self.broken or self.loggedin)) and - (util.monotonic_time() - begin) < 80): - ipmisess.wait_for_rsp(80) + (util.monotonic_time() - begin) < 30): + ipmisess.wait_for_rsp(31 - (util.monotonic_time() - begin)) if not (self.broken or self.loggedin): + ipmisess._mark_broken() raise exc.TargetEndpointUnreachable( "Login process to " + connparams['bmc'] + " died") except socket.gaierror as ge: