nfv/nfv/nfv-plugins/nfv_plugins/nfvi_plugins
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
..
clients Fix the exception of taint/untaint node operation in VIM 2020-12-02 16:40:06 +00:00
openstack Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.ini Handle REST API timeouts gracefully in the VIM 2020-06-03 11:37:56 -05:00
config.py Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
nfvi_block_storage_api.py Refactor nova service creation in the VIM 2019-01-11 09:23:54 -06:00
nfvi_compute_api.py Remove kubernetes checks, wrs-headers from Rest API calls, and dead code. 2019-04-09 15:01:16 -04:00
nfvi_fault_mgmt_api.py add NFVFaultMgmtAPI to get alarms from fm in pods 2019-06-05 09:29:57 +08:00
nfvi_guest_api.py Refactor nova service creation in the VIM 2019-01-11 09:23:54 -06:00
nfvi_identity_api.py Refactor nova service creation in the VIM 2019-01-11 09:23:54 -06:00
nfvi_image_api.py Refactor nova service creation in the VIM 2019-01-11 09:23:54 -06:00
nfvi_infrastructure_api.py Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
nfvi_network_api.py Remove kubernetes checks, wrs-headers from Rest API calls, and dead code. 2019-04-09 15:01:16 -04:00
nfvi_sw_mgmt_api.py Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
unit_test.py Remove kubernetes checks, wrs-headers from Rest API calls, and dead code. 2019-04-09 15:01:16 -04:00