nfv/nfv/nfv-vim/nfv_vim/host_fsm
Bart Wensley a9004988dc Make VIM tolerant of compute service failures
When the VIM detects the nova compute service is down on a
worker host, it attempts to migrate instances off that host
(by "disabling" the host). However, this isn't possible if
the compute service is down. The VIM then fails the instances,
which will eventually result in their evacuation (if the host
goes offline) or a reboot of the instance (if the compute
service recovers).

In the containers world, when the libvirt pod is restarted
(e.g. when stx-openstack application is re-applied), nova
reports that the compute service is down (for a short period
of time), which causes the undesirable behaviour described
above. The VIM is being updated to not disable the host in
this case and instead just raise an alarm to indicate that
the compute service has failed.

Change-Id: I186d8d76bbcd87405bafec47deb92ec24580640e
Closes-Bug: 1833096
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
2019-08-16 13:48:09 -05:00
..
__init__.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_host_defs.py Refactor nova service creation in the VIM 2019-01-11 09:23:54 -06:00
_host_fsm.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_host_state_configure.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_host_state_deleted.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
_host_state_deleting.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_host_state_deleting_failed.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_host_state_disabled.py Mark pods as not ready when host goes offline 2019-06-13 13:14:35 -05:00
_host_state_disabling.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_host_state_disabling_failed.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_host_state_enabled.py Make VIM tolerant of compute service failures 2019-08-16 13:48:09 -05:00
_host_state_enabling.py Refactor nova service creation in the VIM 2019-01-11 09:23:54 -06:00
_host_state_initial.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_host_task_work.py Mark pods as not ready when host goes offline 2019-06-13 13:14:35 -05:00
_host_tasks.py Mark pods as not ready when host goes offline 2019-06-13 13:14:35 -05:00