nfv/nfv/nfv-vim/nfv_vim/nfvi
Bart Wensley cdd6c334d9 Mark pods as not ready when host goes offline
When a host goes offline unexpectedly (e.g. spontaneous reboot or
power failure), it takes a while before kubernetes detects that
the node is unavailable and sets the node to be not ready, which
causes the pods on the node to be set to not ready as well. Until
that happens, the endpoints for the pods are still in use, which
can lead to message loss.

In StarlingX, our maintenance component detects that a node is
offline faster than kubernetes does. To improve the time taken
to react, the VIM is updated to set the status of the pods on
an offline node to not ready when it is informed by maintenance
that a node is offline.

Change-Id: I1a20707981c5517e0d305fd9551bc5e69c0282cd
Story: 2002843
Task: 33695
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
2019-06-13 13:14:35 -05:00
..
api Mark pods as not ready when host goes offline 2019-06-13 13:14:35 -05:00
objects VIM: allow cold migrate and evac with remote_storage label 2019-02-05 09:48:51 -05:00
__init__.py add NFVFaultMgmtAPI to get alarms from fm in pods 2019-06-05 09:29:57 +08:00
_nfvi_block_storage_module.py Disable VIM plugins for Kubernetes deployment 2018-09-24 09:31:18 -04:00
_nfvi_block_storage_plugin.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_nfvi_compute_module.py Remove kubernetes checks, wrs-headers from Rest API calls, and dead code. 2019-04-09 15:01:16 -04:00
_nfvi_compute_plugin.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_nfvi_defs.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_nfvi_fault_mgmt_module.py add NFVFaultMgmtAPI to get alarms from fm in pods 2019-06-05 09:29:57 +08:00
_nfvi_fault_mgmt_plugin.py add NFVFaultMgmtAPI to get alarms from fm in pods 2019-06-05 09:29:57 +08:00
_nfvi_guest_module.py Allow VIM to manage services independently 2018-12-13 08:08:13 -05:00
_nfvi_guest_plugin.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_nfvi_identity_module.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_nfvi_identity_plugin.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_nfvi_image_module.py Disable VIM plugins for Kubernetes deployment 2018-09-24 09:31:18 -04:00
_nfvi_image_plugin.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_nfvi_infrastructure_module.py Mark pods as not ready when host goes offline 2019-06-13 13:14:35 -05:00
_nfvi_infrastructure_plugin.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_nfvi_module.py add NFVFaultMgmtAPI to get alarms from fm in pods 2019-06-05 09:29:57 +08:00
_nfvi_network_module.py Remove kubernetes checks, wrs-headers from Rest API calls, and dead code. 2019-04-09 15:01:16 -04:00
_nfvi_network_plugin.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_nfvi_plugin.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_nfvi_sw_mgmt_module.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_nfvi_sw_mgmt_plugin.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00