Cluster update known issues¶
This section lists the cluster update known issues with workarounds for the Mirantis OpenStack for Kubernetes release 21.5.
[4288] Cluster update failure with kubelet being stuck¶
A MOS cluster may fail to update to the latest Cluster release with kubelet being stuck and reporting authorization errors.
The cluster is affected by the issue if you see the Failed to make webhook authorizer request: context canceled error in the kubelet logs:
docker logs ucp-kubelet --since 5m 2>&1 | grep 'Failed to make webhook authorizer request: context canceled'
As a workaround, restart the ucp-kubelet
container on the affected
node(s):
ctr -n com.docker.ucp snapshot rm ucp-kubelet
docker rm -f ucp-kubelet
Note
Ignore failures in the output of the first command, if any.
[16987] Cluster update fails at Ceph CSI pod eviction¶
An update of a MOS cluster may fail with the ceph csi-driver is not evacuated yet, waiting… error during the Ceph CSI pod eviction.
Workaround:
Scale the affected
StatefulSet
of the pod that fails to init down to0
replicas. If it is theDaemonSet
such asnova-compute
, it must not be scheduled on the affected node.On every
csi-rbdplugin
pod, search for stuckcsi-vol
:rbd device list | grep <csi-vol-uuid>
Unmap the affected
csi-vol
:rbd unmap -o force /dev/rbd<i>
Delete
volumeattachment
of the affected pod:kubectl get volumeattachments | grep <csi-vol-uuid> kubectl delete volumeattacmhent <id>
Scale the affected
StatefulSet
back to the original number of replicas or until its state isRunning
. If it is aDaemonSet
, run the pod on the affected node again.