metal/mtce-common/cgts-mtce-common-1.0
Eric MacDonald 083d38923a Mtce: Force enable failure of host that did not reboot during enable.
If the first mtcAlive message from a host that was supposed to be
rebooted reports uptime in excess of 40 minutes then that means it did
not reboot as expected.

This was seen to happen during an extended offline case where the host
failed heartbeat, then was reported offline during Graceful Recovery
which forced a full enable. When the host eventually came back online
its reported uptime made it clear that it never rebooted but mtce
allowed it to come into service anyway.

This is a security issue that can lead to a host disappearing, being
security hacked and brought back into the system without reboot.

To fix that, this update requires that a host's uptime, reported in its
first mtcAlive message, indicate that it has been up for less twice the
configured mtcAlive timeout or the enable will fail until it is proven
to reset.

Story: 2002882
Task: 22845

Change-Id: I9b3ff0bc1ba5af2ca5b07a58db9da9f288b59576
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-20 11:12:28 -04:00
..
alarm StarlingX open source release updates 2018-05-31 07:36:43 -07:00
common Mtce: Debouce heartbeat recovery 2018-07-20 11:12:19 -04:00
daemon Collectd+InfluxDb-RMON Replacement(ALL METRICS) P1 2018-07-03 11:04:27 -04:00
fsmon StarlingX open source release updates 2018-05-31 07:36:43 -07:00
guest Shorten "addons/wr-cgcs/layers/cgcs" to just "stx" 2018-07-04 11:03:59 -04:00
heartbeat Mtce: Debouce heartbeat recovery 2018-07-20 11:12:19 -04:00
hostw StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmon Mtce: Implement all token fetches as non-blocking operations. 2018-06-27 15:00:23 -04:00
maintenance Mtce: Force enable failure of host that did not reboot during enable. 2018-07-20 11:12:28 -04:00
mtclog StarlingX open source release updates 2018-05-31 07:36:43 -07:00
pmon pmond: add support for no script label in conf files 2018-07-01 21:18:33 -04:00
public StarlingX open source release updates 2018-05-31 07:36:43 -07:00
rmon Collectd+InfluxDb-RMON Replacement(ALL METRICS) P1 2018-07-03 11:04:27 -04:00
scripts StarlingX open source release updates 2018-05-31 07:36:43 -07:00
.gitignore StarlingX open source release updates 2018-05-31 07:36:43 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:43 -07:00
Makefile StarlingX open source release updates 2018-05-31 07:36:43 -07:00