commit 311c137bb872f3662a333b7f1f3d18a6db73c4f0
Author: Chris Friesen <email address hidden>
Date: Mon Nov 1 23:34:38 2021 -0600
improve kubelet upgrade error handling
When upgrading kubelet there are a couple of while loops with
expiry. Change them to actually check the time instead of assuming
the loop is instantaneous.
Also, if we take an exception while querying the K8s versions we
need to handle the exception in order to ensure that we properly
set the KUBE_HOST_UPGRADING_KUBELET_FAILED state so that the
kubelet upgrade can be retried.
Partial-bug: 1949515
Change-Id: Ic7df945488386bbad8a73dfe574843113993176b
Signed-off-by: Chris Friesen <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/816299 /opendev. org/starlingx/ config/ commit/ 311c137bb872f36 62a333b7f1f3d18 a6db73c4f0
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 311c137bb872f36 62a333b7f1f3d18 a6db73c4f0
Author: Chris Friesen <email address hidden>
Date: Mon Nov 1 23:34:38 2021 -0600
improve kubelet upgrade error handling
When upgrading kubelet there are a couple of while loops with
expiry. Change them to actually check the time instead of assuming
the loop is instantaneous.
Also, if we take an exception while querying the K8s versions we UPGRADING_ KUBELET_ FAILED state so that the
need to handle the exception in order to ensure that we properly
set the KUBE_HOST_
kubelet upgrade can be retried.
Partial-bug: 1949515 bad8a73dfe57484 3113993176b
Change-Id: Ic7df945488386b
Signed-off-by: Chris Friesen <email address hidden>