a42301c19b
The pmon-restart service, through a call to respawn_process, increments that process's restarts counter but does not clear that counter after a successful restart. So, each pmon-restart mistakenly contributes to that process's failure count. This has the effect of pre-loading that process's restart counter by one for every pmon-restart of that process. The effect is best described by example. Say a process is pmon-restart'ed 4 times during one day which increments that process's restart counter to 4. So assuming its conf file specifies its threshold is 3 ; its already exceeded its threshold. Then, even days later that process experiences a real failure pmon will immediate take the severity action because the failure threshold had already been exceeded. This update ensures a process's restart counter is cleared after successful pmon-restart operation ; in the process pid registration phase of recovery. Test Plan: PASS: Verify pmon-restart continues to work. PASS: Verify proper thresholding of failed process following many pmon-restart operations. PEND: Verify pmon-restart and process failure automated test script against this update. 5 loops, all processes. Change-Id: Ib01446f2e053846cd30cb0ca0e06d7c987cdf581 Closes-Bug: 1853330 Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com> |
||
---|---|---|
api-ref/source | ||
bsp-files | ||
devstack | ||
doc | ||
installer | ||
inventory | ||
kickstart | ||
mtce | ||
mtce-common | ||
mtce-compute | ||
mtce-control | ||
mtce-storage | ||
python-inventoryclient | ||
releasenotes | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
centos_build_layer.cfg | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
test-requirements.txt | ||
tox.ini |
README.rst
metal
StarlingX Bare Metal Management