From 2a525bb1e6ea5e1e4a45043874407d849a164a12 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 30 Nov 2022 11:26:56 -0500 Subject: [PATCH] Do not expect a reply to bmc reset Some devices will never reply, be optimistic about the reset making it through the network Change-Id: I912dab9c25d4041e2e8b1b1db8dc9d26d5830ea0 --- pyghmi/ipmi/command.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyghmi/ipmi/command.py b/pyghmi/ipmi/command.py index 823f63c5..8202e54c 100644 --- a/pyghmi/ipmi/command.py +++ b/pyghmi/ipmi/command.py @@ -407,8 +407,7 @@ class Command(object): def reset_bmc(self): """Do a cold reset in BMC""" - - response = self.raw_command(netfn=6, command=2) + response = self.raw_command(netfn=6, command=2, retry=False) if 'error' in response: raise exc.IpmiException(response['error'])