From 5494bf50e3df04468d9b9c70bdb4e5b21c931df8 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 26 Mar 2021 16:42:27 -0400 Subject: [PATCH] Fix relog attempt While it would manage to send the first packet of a relog, it would then go on to report the transient error. Change-Id: I9eb39290ffd259fe56c5d923a7ee9ed229f9f6e1 --- pyghmi/ipmi/private/session.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyghmi/ipmi/private/session.py b/pyghmi/ipmi/private/session.py index 6611c305..e30f2ff7 100644 --- a/pyghmi/ipmi/private/session.py +++ b/pyghmi/ipmi/private/session.py @@ -1580,6 +1580,7 @@ class Session(object): # RAKP4 got dropped, BMC can consider it done and we must # restart self._relog() + return # ignore 15 value if we are retrying. # xCAT did but I can't recall why exactly if data[1] == 15 and self.logontries: