Closed johnhcwang closed 8 years ago
From the log, the 'inventory upload' process is taking ~15 seconds to execute, so we'll move the host watchdog to start after the 'inventory upload', right before the host is initialized.
That makes sense. The watchdog is there to monitor for the host hanging, so we shouldn't start the timer until we are right about at the point where host code starts. Should we move it until after the power sequence and the magic sequence also?
@anoo1 - Did this get fixed in 'master' also?
I need to do a pull request for it this week.
Sometimes BMC needs more than 30s to finish the jobs when RMC communicates with BMC continually. Per OpenPower Host IPMI Spec (here), it specify the timer should be 30s. We need to improve the performance or change the spec to extend the poll interval. Any advice?
Step 1: Login to BMC by curl command
Step 2: Create 5 sessions to get inventory continually and make sure that all of them can get the information correctly
Step 3: Power on the system and then watchdog timeout sometimes
Step 4: Extend the watchdog timer to 300 seconds for debugging. We can see that BMC takes more than 30s to finish the jobs.