Commit 1c78f63d authored by Mike Hibler's avatar Mike Hibler
Browse files

New HPs with 4 x Mellanox 25Gb interfaces cannot boot in 3 minutes!

parent 9038efe7
......@@ -439,7 +439,7 @@ REPLACE INTO state_timeouts VALUES ('WIMRELOAD','SHUTDOWN',240,'REBOOT');
REPLACE INTO state_timeouts VALUES ('WIMRELOAD','RELOADSETUP',60,'NOTIFY');
REPLACE INTO state_timeouts VALUES ('WIMRELOAD','RELOADING',1800,'NOTIFY');
REPLACE INTO state_timeouts VALUES ('WIMRELOAD','RELOADDONE',60,'NOTIFY');
REPLACE INTO state_timeouts VALUES ('PXEKERNEL','PXEBOOTING',180,'REBOOT');
REPLACE INTO state_timeouts VALUES ('PXEKERNEL','PXEBOOTING',240,'REBOOT');
--
-- Dumping data for table `state_transitions`
......
#
# Increase PXEBOOTING timeout to 240 seconds for PXEKERNEL.
# New HP machines with 4 25Gb interfaces take forever to initialize
# (where "forever" > 180 seconds).
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("UPDATE state_timeouts SET timeout=240 ".
"WHERE op_mode='PXEKERNEL' AND state='PXEBOOTING'");
return 0;
}
1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment