85f605a762
The Linux kernel can be configured to perform a crash dump and reboot in response to specific, typically serious, events. A crash dump event produces a crash dump report bundle (directory) of files that represent the state of the kernel at the time of the event ; usefull for post-event root cause analysis. The kernel directs new crash dump bundles to /var/crash/<dated vmcore bundle>. Crash dump bundles are quite large and, if too many occur, can fill up its target filesystem. This update adds crash dump bundle management to the maintenance with a new crashDumpMgr service script and installs a crash dump logrotation configuration file to compress/preserve the first crash bundle and compress/rotate all subsequent bundles. With repeated crash dumps and the help of backgroud logrotation this update produces the following compressed crash dump bundles controller-1:~$ ls -lrth /var/log/crash total 238M -rw-r--r-- 1 root 77M <date> vmcore_first.tar.1.gz -rw-r--r-- 1 root 75M <date> vmcore.tar.1.gz Change-Id: I2741e610c6c417d7fc14dfada283a1edacd9327f Partial-Fix: 1898602 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 | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
centos_build_layer.cfg | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_stable_docker_images.inc | ||
pylint.rc | ||
test-requirements.txt | ||
tox.ini |
README.rst
metal
StarlingX Bare Metal Management