nfv/nfv/nfv-common/nfv_common
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
..
alarm Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
catalog Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
debug Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
event_log Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
forensic small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
schedule Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
selobj Fix dict related issues for Python 2/3 2019-01-09 18:21:31 +08:00
state_machine Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
strategy Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
tasks Handle REST API timeouts gracefully in the VIM 2020-06-03 11:37:56 -05:00
tcp Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
thread Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
timers Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
exceptions.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
helpers.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
histogram.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
profiler.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
selectable.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
validate.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00