commit 7f6cd7ae3aaa81b11deab9a7efc52c8ddfd47ba1
Author: Eric MacDonald <email address hidden>
Date: Tue Aug 11 11:30:53 2020 -0400
Stop the process monitor (pmond) on controlled self-reboot
There are still cases seen where on an AIO SX unlock operation
fails to reboot due to pmond recovering the mtcClient following
a mtcClient self-reboot and launch of fail-safe sysreq reset thread.
Following a self-reboot, the Process Monitor (pmond) detects an active
monitoring failure of the mtcClient. However, at that same time
systemctl reports that the system is running degraded, not stopping.
So the previous fix to pmon does not know that the system is stopping
so it restarts mtcClient ; like before but valid systemctl state
readout.
Reviewed: https:/ /review. opendev. org/745764 /git.openstack. org/cgit/ starlingx/ metal/commit/ ?id=7f6cd7ae3aa a81b11deab9a7ef c52c8ddfd47ba1
Committed: https:/
Submitter: Zuul
Branch: master
commit 7f6cd7ae3aaa81b 11deab9a7efc52c 8ddfd47ba1
Author: Eric MacDonald <email address hidden>
Date: Tue Aug 11 11:30:53 2020 -0400
Stop the process monitor (pmond) on controlled self-reboot
There are still cases seen where on an AIO SX unlock operation
fails to reboot due to pmond recovering the mtcClient following
a mtcClient self-reboot and launch of fail-safe sysreq reset thread.
Following a self-reboot, the Process Monitor (pmond) detects an active
monitoring failure of the mtcClient. However, at that same time
systemctl reports that the system is running degraded, not stopping.
So the previous fix to pmon does not know that the system is stopping
so it restarts mtcClient ; like before but valid systemctl state
readout.
This update is a further enhancement for the issue reported by /bugs.launchpad .net/starlingx/ +bug/1883519 with update /review. opendev. org/#/c/ 735609 by commanding the mtcClient
https:/
https:/
to stop pmond, with verification and retries, immediately before
a self-reboot.
Change-Id: I17fde797803c53 7f4f448b4764585 f1f1acc4e2a
Closes-Bug: 1883519
Signed-off-by: Eric MacDonald <email address hidden>