Comment 1 for bug 1949515

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/816299
Committed: https://opendev.org/starlingx/config/commit/311c137bb872f3662a333b7f1f3d18a6db73c4f0
Submitter: "Zuul (22348)"
Branch: master

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>