
The bmc secret query utility and fsm is mostly common to both the mtcAgent and hwmond processes This update extends the timeout for bmc secret requests from 5 to 20. This lines up with other http request timeouts and gives at scale systems more time to respond during busy controller use cases like swact or dead office recovery. In the event of a failure, this update also randomizes the retry delay between 10 and 100 seconds per host so that retries don't happen in bulk all at once. This spreads the load secret request query retries has on system inventory. Testing also revealed that the hardware monitor was not freeing its connection resources after a successful bmc secret query. This update fixes that and adds a failure handling path for the case where the bmc secret response payload is empty. Similar handling was fine for the mtcAgent. Test Plan: PASS: Verify large system bmc secret fetch over DOR soak;5 loops PASS: Verify randomized delay handling upon all failure case handling. PASS: Verify large system bmc provisioning/deprovisioning soak;10 loops PASS: Verify large system swact soak;30 loops PASS: Verify mtcAgent and hwmond logging ovber all test cases Closes-Bug: 2103925 Change-Id: I4a696a7d5e4452a8fbd9f25cf11ddf0f065dbe1a Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
Description
Languages
C++
83%
Shell
10.2%
Python
3.3%
C
2.5%
Makefile
1%