nfv/nfv
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
..
centos Kube rootca update orchestration integration 2021-09-02 12:53:36 -05:00
debian Update debian package versions to use git commits 2023-02-09 17:00:49 +00:00
nfv-client sw-manager fails with SSL and CA Cert provided. 2023-08-30 21:43:07 +00:00
nfv-common Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
nfv-debug-tools/histogram_analysis Not require recreate of tox env when running tox 2021-04-06 09:48:36 -05:00
nfv-plugins Nfv upgrade orchestration for kube-upgrade-storage 2023-12-18 09:08:44 -03:00
nfv-tests Account for new Kubernetes upgrade statuses 2024-02-13 14:57:23 -03:00
nfv-tools small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
nfv-vim Account for new Kubernetes upgrade statuses 2024-02-13 14:57:23 -03:00
opensuse Add opensuse specfiles to nfv 2019-10-02 10:34:02 -05:00
.coveragerc Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
.gitignore Add bugbear to flake8 and cleanup some errors 2018-09-13 14:12:48 -05:00
.stestr.conf Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:36:51 -07:00
pylint.rc pylint cleanup for nfv to use standard modules 2023-03-15 15:28:54 +00:00
test-requirements.txt Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
tox.ini Cleanup pep8 un-used variable warnings 2023-03-08 15:18:00 +00:00