StarlingX Bare Metal and Node Management, Hardware Maintenance
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Eric MacDonald e379fdfe18 Prevent pmond process recovery when system is not running
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>
3 years ago
api-ref/source Switch to newer openstackdocstheme and reno versions 3 years ago
bsp-files Fix worker/storage disk setup in kickstart files 3 years ago
devstack Security: Handle nospectre_v1 in the bootargs 3 years ago
doc Switch to newer openstackdocstheme and reno versions 3 years ago
installer De-branding in starlingx/metal: TIS -> StarlingX 3 years ago
kickstart Security: Handle nospectre_v1 in the bootargs 3 years ago
mtce Prevent pmond process recovery when system is not running 3 years ago
mtce-common Prevent pmond process recovery when system is not running 3 years ago
mtce-compute Add auto-versioning to starlingx/metal mtce packages 3 years ago
mtce-control Add auto-versioning to starlingx/metal mtce packages 3 years ago
mtce-storage Add auto-versioning to starlingx/metal mtce packages 3 years ago
releasenotes Switch to newer openstackdocstheme and reno versions 3 years ago
tools/rvmc/centos Fix rvmc container build 3 years ago
.gitignore Update tox.ini files to use stein constraints 4 years ago
.gitreview OpenDev Migration Patch 4 years ago
.zuul.yaml Adding job to upload commits to GitHub 3 years ago
CONTRIBUTORS.wrs StarlingX open source release updates 5 years ago
LICENSE StarlingX open source release updates 5 years ago
README.rst Followup opendev cleanup and test jobs 4 years ago
centos_build_layer.cfg Build layering, add layer build config file 4 years ago
centos_iso_image.inc Remove unused inventory and python-inventoryclient 3 years ago
centos_pkg_dirs rvmc: remove un-used build data 3 years ago
centos_stable_docker_images.inc Utility to install a server via Redfish 3 years ago
pylint.rc Add pylint checks for python files in metal 3 years ago
test-requirements.txt pep8 job enable and fix pep8 reported issue 5 years ago
tox.ini Add pylint checks for python files in metal 3 years ago

README.rst

metal

StarlingX Bare Metal Management