metal/mtce-common/cgts-mtce-common-1.0
Eric MacDonald 7da4eb945f Enable host heartbeat in add handler when not in DOR mode
Two Node System: VMs did not switch to ERROR state after host reboot

A logically failed (rebooted) active controller is not being
administratively failed by maintenance. As a result the host's
offline availability state is not reported to the VIM and the
VMs on that (rebooted) All-in-one host are not evacuated.

This issue only applies to two node systems because of how the heartbeat
enable of an All-in-one host needs to be held off until its compute 
manifests apply in the DOR case so as to avoid maintenance failing the 
peer controller over a DOR.

The challange in maintenance is to distinguish between this spontaneous
failure and a DOR. For All-in-one hosts, DOR mode is active for a 
whopping 600 seconds ; long enough to account for both sets of manifests
to apply.

It's that long delay that is making this silent fault stand out so 
obviously.

This update uses 'active DOR mode' to decide whether or not to enable a
host's heartbeat in the add handler.

To better handle early active controller failure the qualifier for DOR 
mode was reduced from 20 to 15 minutes. Meaning that maintenance DOR 
mode is activated if its host up time is less than 15 minutes ; rather 
than 20 as it was before this update. Note that normally the active 
controller starts maintenance with an uptime of 5-7 minutes.

Story: 2002995
Task: 23009
Change-Id: I749aefef45b9db6e86a2c6b81d131ebeccc68926
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
2018-08-16 20:20:16 +00:00
..
alarm StarlingX open source release updates 2018-05-31 07:36:43 -07:00
common Mtce: Enable offline handler during Graceful recovery 2018-07-20 11:12:46 -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: add host and iface name to msg debug log in hbsAgent 2018-07-20 11:12:35 -04:00
hostw StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmon Cleanup internal references 2018-07-31 10:09:27 -04:00
maintenance Enable host heartbeat in add handler when not in DOR mode 2018-08-16 20:20:16 +00: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 Mtce: Increase MNFA timeout from 60 to 100 secs 2018-07-20 11:13:00 -04: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