-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pods stuck in ContainerCreating - error getting ClusterInformation: connection is unauthorized: Unauthorized #9271
Comments
Sounds like something has deleted the CNI service account which has rendered the token invalid. Are you able to see if that serviceaccount exists? |
Thank you for the reply @caseydavenport. Yes, the serviceAccount exists (it also exists in
|
@bilaloslo92 could you check if it is in the process of terminating? e.g.,
And check for whether or not a |
Ah, I see. It has the deletionTimestamp present:
|
After deleting the finalizers and the tigera operator recreated the serviceAccount. That fixed my issue. All pods are now running. |
Perfect, thanks for following up! I am not sure how it got in that state, but FWIW I believe we have a fix for this merged to later versions of Calico. Namely, this PR: tigera/operator#3381 Which should have been released in Calico v3.28.1 |
All of the pods in the cluster are stuck in
ContainerCreating
and are not able to startup due to the CSI error:error getting ClusterInformation: connection is unauthorized: Unauthorized
. This happend during migration fra manifest to operator installation of Calico. Following the guide.Expected Behavior
All Pods should we be in running state.
Current Behavior
Pods are stuck in
ContainerCreating
and are not able to startup due to:The kube-apiserver logs:
The
/etc/cni/net.d/calico-kubeconfig
does not seem to be authorized:However the jwt token of (
/etc/cni/net.d/calico-kubeconfig
) seems to be valid:Possible Solution
Context
Migration from manifest installation to operator.
Your Environment
The text was updated successfully, but these errors were encountered: