metal/mtce/src/hostw
Christopher Souza 56ab793bc5 Change hostwd emergency log to write to /dev/kmsg
The hostwd emergency logs was written to /dev/console,
the change was to add the prefix "hoswd:" to the log message
and write to /dev/kmsg.

Test Plan:

Pass: AIO-SX and AIO DX full deployment.
Pass: kill pmond and wait for the emergency log to be written.
Pass: check if the emergency log was written to /dev/kmsg.
Pass: Verify logging for quorum report missing failure.
Pass: Verify logging for quorum process failure.
Pass: Verify emergency log crash dump logging to mesg and
      console logging for each of the 2 cases above with
      stressng overloading the server (CPU, FS and Memory);
      stress-ng --vm-bytes 4000000000 --vm-keep -m 30 -i 30 -c 30

Story: 2010533
Task: 47216

Co-authored-by: Eric MacDonald <eric.macdonald@windriver.com>
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
Co-authored-by: Christopher Souza <Christopher.DeOliveiraSouza@windriver.com>
Signed-off-by: Christopher Souza <Christopher.DeOliveiraSouza@windriver.com>
Change-Id: I0da82f964dd096840259c4d0ed4e5f558debdf22
2023-02-01 23:41:14 +00:00
..
scripts Change hostwd emergency log to write to /dev/kmsg 2023-02-01 23:41:14 +00:00
Makefile Add EXTRALDFLAGS to linker in a number of Makefiles 2019-02-28 22:34:54 -06:00
hostw.h Fix mtce compiling issue with gcc8 2021-02-24 18:21:00 -05:00
hostwHdlr.cpp Change hostwd emergency log to write to /dev/kmsg 2023-02-01 23:41:14 +00:00
hostwInit.cpp Add SysRq crash dump support for pmon quorum health messaging loss 2020-11-13 12:38:16 -05:00
hostwMsg.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hostwMsg.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00