You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Static pod: etcd-ubuntu-nuc-00.kaveman.intra hash: 2f298c5a6b9d58ec166f7bc71c708f85",
"Static pod: etcd-ubuntu-nuc-00.kaveman.intra hash: 2f298c5a6b9d58ec166f7bc71c708f85",
"Static pod: etcd-ubuntu-nuc-00.kaveman.intra hash: 2f298c5a6b9d58ec166f7bc71c708f85",
"Static pod: etcd-ubuntu-nuc-00.kaveman.intra hash: 2f298c5a6b9d58ec166f7bc71c708f85",
"Static pod: etcd-ubuntu-nuc-00.kaveman.intra hash: 2f298c5a6b9d58ec166f7bc71c708f85",
"[upgrade/etcd] Failed to upgrade etcd: couldn't upgrade control plane. kubeadm has tried to recover everything into the earlier state. Errors faced: timed out waiting for the condition",
"[upgrade/etcd] Waiting for previous etcd to become available",
"[upgrade/etcd] Etcd was rolled back and is now available"
]
}
Anything else do we need to know:
The text was updated successfully, but these errors were encountered:
Turns our my issue was related to dynamic_kubelet_configuration=True in my inventory. Kubernetes 1.22.1 requires a feature gate enabled for dynamic configuration according to the logs:
Sep 04 11:50:53 ubuntu-nuc-00.kaveman.intra kubelet[2517133]: Flag --dynamic-config-dir has been deprecated, Feature DynamicKubeletConfig is deprecated in 1.22 and will not move to GA. It is planned to be removed from Kubernetes in the version 1.23. Please use alternative ways to update kubelet configuration.
We should ensure this is properly disabled when kube_version >= 1.22.0 to avoid upgrade issues.
During an upgrade from kubernetes 1.21.4 (with containerd and calico) to kubernetes 1.22.1, the etcd upgrade failed and the upgrade was rolled back.
Environment:
Cloud provider or hardware configuration: baremetal single node
OS (
printf "$(uname -srm)\n$(cat /etc/os-release)\n"
):Linux 5.11.0-27-generic x86_64
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Version of Ansible (
ansible --version
):python --version
):Kubespray version (commit) (
git rev-parse --short HEAD
):Network plugin used:
Full inventory with variables (
ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"
):Command used to invoke ansible:
Output of ansible run:
Anything else do we need to know:
The text was updated successfully, but these errors were encountered: