StarlingX NFVI Orchestration
Go to file
Igor Soares d39a284b43 Add new application update steps for k8s upgrades
Add two new steps to the orchestrated Kubernetes upgrade:
  * 'pre-application-update': update StarlingX applications before the
    new Kubernetes version is deployed.
  * 'post-application-update': update Starlingx applications after the
    new Kuberneter version is deployed.

This was implemented according to the changes introduced to sysinv by
the following commit:
https://review.opendev.org/c/starlingx/config/+/909172

Unit tests have also been updated to account for the new steps.

Test Plan:
PASS: build-pkgs -a && build-image
AIO-SX Test Cases:
PASS: Run an orchestrated Kubernetes upgrade with no apps to be updated.
PASS: Run a single-version orchestrated Kubernetes upgrade with apps to
      be updated during the pre-application-update and
      post-application-update steps.
PASS: Run a multi-version orchestrated Kubernetes upgrade with apps to
      be updated during the pre-application-update and
      post-application-update steps.
PASS: Run an orchestrated Kubernetes upgrade that fails during the
      pre-application-update step due to a missing metadata.yaml file.
      Confirm that the upgrade was successfully aborted.
PASS: Run an orchestrated Kubernetes upgrade that fails during the
      post-application-update step due to a missing metadata.yaml file.
      Confirm that the upgrade cannot be aborted at this point.
      Fix the application tarball and resume the upgrade.
      Confirm that the upgrade resumes from the same step.
      Confirm that the upgrade finishes successfully.
AIO-DX Test Cases:
PASS: Run an orchestrated Kubernetes upgrade with no apps to be updated.
PASS: Run a single-version orchestrated Kubernetes upgrade with apps to
      be updated during the pre-application-update and
      post-application-update steps.
PASS: Run an orchestrated Kubernetes upgrade that fails during the
      pre-application-update step due to a missing metadata.yaml file.
      Fix the application tarball and resume the upgrade.
      Confirm that the upgrade resumes from the same step.
      Confirm that the upgrade finishes successfully.
PASS: Run an orchestrated Kubernetes upgrade that fails during the
      post-application-update step due to a missing metadata.yaml file.
      Fix the application tarball and resume the upgrade.
      Confirm that the upgrade resumes from the same step.
      Confirm that the upgrade finishes successfully.

Story: 2010929
Task: 49791
Depends-On: https://review.opendev.org/c/starlingx/config/+/909172

Change-Id: I5217db1cb744320979afcd161cb436bf089ccc9d
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
2024-04-24 18:24:05 -03:00
api-ref/source NFV API to list current strategy type and state. 2024-03-11 12:03:49 +00:00
devstack Followup opendev cleanup and test jobs 2019-04-21 14:21:35 -05:00
doc Fix tox-docs failing sphinx 2022-06-03 15:20:56 -03:00
mtce-guest Update debian package versions to use git commits 2023-02-09 17:00:49 +00:00
nfv Add new application update steps for k8s upgrades 2024-04-24 18:24:05 -03:00
nova-api-proxy Update debian package versions to use git commits 2023-02-09 17:00:49 +00:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:34:31 +02:00
.gitignore [Doc] OpenStack API Reference Guide 2018-09-25 14:01:33 -07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:26 +00:00
.yamllint Cleanup tox.ini and zuul files from older releases 2023-01-19 15:42:06 +00:00
.zuul.yaml Fix github mirroring for this repo 2023-04-28 12:38:52 -04:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:51 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:51 -07:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 14:21:35 -05:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 19:12:57 +08:00
centos_dev_docker_images.inc Create the stable/dev wheel and image build files 2019-03-21 10:09:02 -04:00
centos_dev_wheels.inc Add NFV wheels to tarball 2019-11-14 10:52:14 -05:00
centos_guest_image.inc Remove wrs-guest-heartbeat SDK Module 2019-04-17 16:34:14 -04:00
centos_guest_image_rt.inc Remove wrs-guest-heartbeat SDK Module 2019-04-17 16:34:14 -04:00
centos_iso_image.inc Remove wrs-server-group SDK Module from StarlingX 2019-03-27 14:01:52 -04:00
centos_pkg_dirs Remove wrs-guest-heartbeat SDK Module 2019-04-17 16:34:14 -04:00
centos_stable_docker_images.inc Create the stable/dev wheel and image build files 2019-03-21 10:09:02 -04:00
centos_stable_wheels.inc Add NFV wheels to tarball 2019-11-14 10:52:14 -05:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:10:32 -04:00
debian_iso_image.inc Deactivate guest related services 2023-01-10 17:26:09 -03:00
debian_pkg_dirs Deactivate guest related services 2023-01-10 17:26:09 -03:00
debian_stable_docker_images.inc Port stx-nova-api-proxy image to stx-debian 2023-01-26 07:39:17 -03:00
debian_stable_wheels.inc Port stx-nova-api-proxy image to stx-debian 2023-01-26 07:39:17 -03:00
requirements.txt Adding py27 for nfv 2018-07-10 10:18:28 -05:00
test-requirements.txt Not require recreate of tox env when running tox 2021-04-06 09:48:36 -05:00
tox.ini Convert yaml.load to yaml.safe_load 2023-01-19 19:57:23 +00:00

README.rst

nfv

StarlingX NFVI Orchestration