nfv/nfv/nfv-vim/nfv_vim
Al Bailey 0f83fc1169 Combine multiple kube-upgrades into one strategy
This algorithm change is Simplex only.
The algorithm for multi-version upgrade for k8s is:
- system kube-upgrade-start <final version>
- system kube-upgrade-download-images
- system kube-upgrade-networking
- system kube-host-cordon controller-0 (future)
- loop <v> from current version to final version
 - system kube-host-upgrade controller-0 control-plane <v>
 - system kube-host-upgrade controller-0 kubelet <v>
- system kube-host-uncordon controller-0 (future)
- system kube-upgrade-complete
- system kube-upgrade-delete

This change does the following additional cleanup:
- remove patch-apply intermediate steps during kube-upgrade
- remove all patching mixings from kube upgrade strategy

Test Plan:
  PASS: (multi-upgrade) AIO-SX kube upgrade orchestration
        v1.21.8 to v1.24.4
  PASS: (single upgrade) AIO-DX kube-upgrade orchestration
        v1.21.8 to v1.22.5

Depends-On: https://review.opendev.org/c/starlingx/config/+/877988

Story: 2010565
Task: 47741
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Id654212e198321c6518b8feaa85cd5301167735c
2023-04-28 13:10:29 +00:00
..
alarm Host compute service failure alarm removal 2023-02-10 09:27:46 -05:00
api Adding details to VIM API Conflict responses 2022-09-14 00:21:46 +00:00
audits py3: nfv wrap dict.keys() in list() 2021-07-26 13:13:11 -04:00
database Add support for SQLAlchemy 1.4 to NFV 2023-01-30 21:08:56 +00:00
directors Adding details to VIM API Conflict responses 2022-09-14 00:21:46 +00:00
dor py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
event_log Implement kube_rootca_update orchestration 2021-08-19 08:38:18 -05:00
events Adding details to VIM API Conflict responses 2022-09-14 00:21:46 +00:00
host_fsm Remove HostTask actions of guest related services 2023-01-24 09:51:58 -03:00
instance_fsm py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
network_rebalance py3: nfv update range compatibility 2021-07-26 13:11:52 -04:00
nfvi NFVI: Default guest_plugin_disabled to True 2023-04-05 08:58:50 -03:00
objects pylint cleanup for nfv to use standard modules 2023-03-15 15:28:54 +00:00
rpc Adding details to VIM API Conflict responses 2022-09-14 00:21:46 +00:00
strategy Combine multiple kube-upgrades into one strategy 2023-04-28 13:10:29 +00:00
tables py3: nfv wrap dict.keys() in list() 2021-07-26 13:13:11 -04:00
webserver py3: Fix http server request handler wfile write parameter 2021-07-26 13:12:58 -04:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.ini small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
debug.ini Implement kube_rootca_update orchestration 2021-08-19 08:38:18 -05:00
vim.py py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
vim_api.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
vim_manage.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
vim_webserver.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00