BMC management: Increase BMC reset timeout 10/3510/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 26 May 2020 16:51:17 +0000 (18:51 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 26 May 2020 16:51:17 +0000 (18:51 +0200)
Bump timeout from 180 seconds to 360 to accomodate slower BMC responses
on some targets, e.g. Ampere POD1 in UNH Akraino lab.

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Change-Id: I656964acf4eb26df7a8a1a192938f47f31dc523e

src/remoteinstaller/installer/bmc_management/bmctools.py

index b5be98d..f7d6358 100644 (file)
@@ -62,7 +62,7 @@ class BMC(object):
 
         self._run_ipmitool_command('bmc reset cold')
 
 
         self._run_ipmitool_command('bmc reset cold')
 
-        success = self._wait_for_bmc_reset(180)
+        success = self._wait_for_bmc_reset(360)
         if not success:
             raise BMCException('BMC reset failed, BMC did not come up')
 
         if not success:
             raise BMCException('BMC reset failed, BMC did not come up')