nfv/nfv/nfv-vim/nfv_vim
Igor Soares b732e56b43 Account for new Kubernetes upgrade statuses
Update the Kubernetes upgrade orchestration code to account for two new
statuses: upgrade-starting and upgrade-starting-failed.

The new statuses were introduced to support updating StarlingX
applications during the kube-upgrade-start step.

Test Plan:
PASS: build-pkgs -a && build-image
PASS: sw-manager kube-upgrade-strategy create --to-version v1.27.5
      sw-manager kube-upgrade-strategy apply
      Check if Kubernetes upgrade started and finished successfully.
      sw-manager kube-upgrade-strategy delete
PASS: sw-manager kube-upgrade-strategy create --to-version v1.27.5
      sw-manager kube-upgrade-strategy apply
      sw-manager kube-upgrade-strategy abort
      Check if Kubernetes upgrade was successfully aborted.
      sw-manager kube-upgrade-strategy delete
PASS: Fresh install AIO-SX
      Create a platform-integ-apps updated tarball without the
      metadata.yaml file and copy it over to
      /usr/local/share/applications/helm/.
      sw-manager kube-upgrade-strategy create --to-version v1.27.5
      sw-manager kube-upgrade-strategy apply
      Confirm that the Kubernetes upgrade failed
      Check if Kubernetes upgrade was successfully aborted.
      sw-manager kube-upgrade-strategy delete
PASS: Fresh install AIO-DX
      Create a platform-integ-apps updated tarball without the
      metadata.yaml file and copy it over to
      /usr/local/share/applications/helm/.
      sw-manager kube-upgrade-strategy create --to-version v1.27.5
      sw-manager kube-upgrade-strategy apply
      Confirm that the Kubernetes upgrade failed
      sw-manager kube-upgrade-strategy delete
      Copy a working platform-integ-apps tarball to
      /usr/local/share/applications/helm/.
      sw-manager kube-upgrade-strategy create --to-version v1.27.5
      sw-manager kube-upgrade-strategy apply
      Confirm that the Kubernetes upgrade was resumed and successfully
      finished.
PASS: Fresh install AIO-SX with Kubernetes 1.24.4
      sw-manager kube-upgrade-strategy create --to-version v1.27.5
      sw-manager kube-upgrade-strategy apply
      Check if Kubernetes upgrade started and finished successfully.

Story: 2010929
Task: 49461

Depends-on: https://review.opendev.org/c/starlingx/config/+/905005

Change-Id: I1a8b86c9ecf8cc21a9cb25ee57d6930944cef261
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
2024-02-13 14:57:23 -03:00
..
alarm Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
api Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
audits py3: nfv wrap dict.keys() in list() 2021-07-26 13:13:11 -04:00
database Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
directors Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
dor py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
event_log Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
events Implement system_config_update orchestration 2023-07-17 17:36:44 -04: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 Account for new Kubernetes upgrade statuses 2024-02-13 14:57:23 -03:00
objects Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
rpc Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
strategy Account for new Kubernetes upgrade statuses 2024-02-13 14:57:23 -03: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 system_config_update orchestration 2023-07-17 17:36:44 -04: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