nfv/nfv/nfv-vim/nfv_vim/nfvi
albailey 90b480c345 Kubernetes Upgrade Orchestration
Provides the new CLI command:
  sw-manager kube-upgrade-strategy

VIM build stages are:
 - query-alarms
 - query-kube-upgrade
 - query-kube-versions
 - query-patches
 - query-patch-hosts

VIM apply stages are:
 - kube-upgrade-start
 - download images
 - first control plane
 - networking
 - second control plane
 - apply second kubernetes patch
  -- applies the patch
  -- host-install on each controller
  -- host-install on each storage
  -- host-install on each worker
 - kubelets (controllers)
 - kubelets (workers)
 - complete
 - cleanup

Functionality includes:
 - kube-upgrade API endpoint for orchestration.
 - new rpc messages for create kube strategy and intermediate actions.
 - kube-upgrade event handling, as well as alarm and event logs.
 - 'upgrade start' uses the latest sysinv health api to include
 the vim auto apply alarm in the ignore list for the health check.

New unit tests:
 - build strategy phase
 - simplex controller
 - duplex controller (no existing kube upgrade)

Story: 2008137
Task: 41436
Depends-On: https://review.opendev.org/c/starlingx/fault/+/767374
Depends-On: https://review.opendev.org/c/starlingx/stx-puppet/+/775824
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: I36e1b3ff3550a9d656ba40754b47570acc82a525
2021-03-02 07:45:20 -06:00
..
api Add VIM REST API for querying software update 2020-06-19 13:33:50 +03:00
objects Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
__init__.py Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06: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 Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
_nfvi_infrastructure_plugin.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_nfvi_module.py Revert "remove flag fault_management_pod_disabled" 2019-10-23 15:45:35 +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 Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
_nfvi_sw_mgmt_plugin.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00