commit 80cd44c22ac158fe106daf8461687bbfa41f28f6
Author: Jim Gauld <email address hidden>
Date: Thu Nov 23 21:03:47 2023 -0500
Add instrumentation for kube_upgrade_control_plane
This adds instrumentation for sysinv kube_upgrade_control_plane
so that we see progress and more error reasons when retrieving
kubernetes control-plane versions. This adds a few more places
to generate exceptions so that a retry is performed.
This enforces we must be able to get the versions from each
control-plane component (kube-apiservver, kube-controller-manager,
kube-scheduler) by querying pods that match expected pod name and
container image.
TEST CASES:
PASS: Run orchestrated kubernetes upgrade: AIO-SX, AIO-DX, STANDARD.
Verify we see new logs during upgrade control plane.
PASS: Manually modify code to test likely exception paths causes retry.
Closes-bug: #2044413
Change-Id: Ic33cdbdf390804c7a0791609a350dd1df6e697e4
Signed-off-by: Jim Gauld <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/901808 /opendev. org/starlingx/ config/ commit/ 80cd44c22ac158f e106daf8461687b bfa41f28f6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 80cd44c22ac158f e106daf8461687b bfa41f28f6
Author: Jim Gauld <email address hidden>
Date: Thu Nov 23 21:03:47 2023 -0500
Add instrumentation for kube_upgrade_ control_ plane
This adds instrumentation for sysinv kube_upgrade_ control_ plane
so that we see progress and more error reasons when retrieving
kubernetes control-plane versions. This adds a few more places
to generate exceptions so that a retry is performed.
This enforces we must be able to get the versions from each -manager,
control-plane component (kube-apiservver, kube-controller
kube-scheduler) by querying pods that match expected pod name and
container image.
TEST CASES:
PASS: Run orchestrated kubernetes upgrade: AIO-SX, AIO-DX, STANDARD.
Verify we see new logs during upgrade control plane.
PASS: Manually modify code to test likely exception paths causes retry.
Closes-bug: #2044413
Change-Id: Ic33cdbdf390804 c7a0791609a350d d1df6e697e4
Signed-off-by: Jim Gauld <email address hidden>