This update 1. Extends the default pod drain timeout from 121 to 180 seconds with a new mtc.conf:pod_drain_timeout configuration parameter. 2. Adds fault detection and error logging around the execution of the pod drain script. 3. Reduces the pod drain logging in the first 30 seconds of pod draining to reduce unnecessary log noise. Test Plan: PASS: Verify new configurable extended pod drain timeout (180) is used PASS: Verify end to end success path pod drain handling during Unlock PASS: Verify success path logging PASS: Verify pod drain timeout handling and logging PASS: Verify missing pod drain script failure handling and logging Closes-Bug: 2138943 Change-Id: Iaa39d8a045ba132dc96793ef8f9ad1c86023effd Signed-off-by: Eric Macdonald <eric.macdonald@windriver.com>
Description
Languages
C++
83.2%
Shell
10.1%
Python
3.2%
C
2.5%
Makefile
1%