StarlingX Bare Metal and Node Management, Hardware Maintenance
e379fdfe18
The maintenance process monitor (pmon) should only recover failed processes when the system state is 'running' or 'degraded'. The current implementation allowed process recovery for other non-inservice states, including an unknown state if systemd returns no data on the state query. This update tighten's up the system state check by adding retries to the state query utility and restricting accepted states to 'running' and 'degraded'. This change then prevents pmon from inadvertently killing and recovering the mtcClient which indirectly kills off the mtcClient's fail-safe sysreq reboot child thread if pmon state query returns anything other than running or degraded during a shut down. Change-Id: I605ae8be06f8f8351a51afce98a4f8bae54a40fd Closes-Bug: 1883519 Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com> |
||
---|---|---|
api-ref/source | ||
bsp-files | ||
devstack | ||
doc | ||
installer | ||
kickstart | ||
mtce | ||
mtce-common | ||
mtce-compute | ||
mtce-control | ||
mtce-storage | ||
releasenotes | ||
tools/rvmc/centos | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
centos_build_layer.cfg | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_stable_docker_images.inc | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
pylint.rc | ||
README.rst | ||
test-requirements.txt | ||
tox.ini |
metal
StarlingX Bare Metal Management