This removes the skip_update_config parameter from the
_config_apply_runtime_manifest() call when upgrading Kubernetes
control-plane. This parameter was unintentially set to True,
so this configuration step did not persist. This caused
generation of 250.001 config-out-of-date alarms during kube
upgrade.
TEST PLAN:
- watch /var/log/nfv-vim.log for each orchestrated upgrade
PASS: orchestrated k8s upgrade (no faults)
- AIO-SX, AIO-DX, Standard
PASS: orchestrated k8s upgrade, with fault insertion during control-plane upgrade first attempt
- AIO-SX
- AIO-DX (both controller-0, controller-1)
- Standard (both controller-0, controller-1)
PASS: orchestrated k8s upgrade, with fault insertion during control-plane upgrade first and second attempt, trigger abort
- AIO-SX
- AIO-DX (first controller)
Closes-Bug: 2056326
Change-Id: I629c8133312faa5c95d06960b15d3e516e48e4cb
Signed-off-by: Jim Gauld <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/914038 /opendev. org/starlingx/ config/ commit/ 4522150c87f635d fdacfbced001741 30d39a62c5
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 4522150c87f635d fdacfbced001741 30d39a62c5
Author: Jim Gauld <email address hidden>
Date: Sat Mar 23 19:56:04 2024 -0400
Correct Kubernetes control-plane upgrade robustness skip_update_config
This removes the skip_update_config parameter from the apply_runtime_ manifest( ) call when upgrading Kubernetes
_config_
control-plane. This parameter was unintentially set to True,
so this configuration step did not persist. This caused
generation of 250.001 config-out-of-date alarms during kube
upgrade.
The review that introduced the bug: /review. opendev. org/c/starlingx /config/ +/911100
https:/
TEST PLAN: nfv-vim. log for each orchestrated upgrade
- watch /var/log/
PASS: orchestrated k8s upgrade (no faults)
- AIO-SX, AIO-DX, Standard
PASS: orchestrated k8s upgrade, with fault insertion during
control- plane upgrade first attempt
- AIO-SX
- AIO-DX (both controller-0, controller-1)
- Standard (both controller-0, controller-1)
PASS: orchestrated k8s upgrade, with fault insertion during
control- plane upgrade first and second attempt, trigger abort
- AIO-SX
- AIO-DX (first controller)
Closes-Bug: 2056326
Change-Id: I629c8133312faa 5c95d06960b15d3 e516e48e4cb
Signed-off-by: Jim Gauld <email address hidden>