Kubernetes CrashLoopBackOff

886 views
Skip to first unread message

Lucas

unread,
Feb 22, 2022, 4:25:14 AM2/22/22
to AWX Project
Hi,

i have updated awx operator and after that awx is pending in CrashLoopBackOff.
I checked the awx pod with "kubectl describe po -n awx awx-7db9bd74cf-n4np2" and saw that awx-web and awx-task are in CrashLoopBackOff with the Exit Code 127.

Does anybody have some ideas?

kde...@redhat.com

unread,
Feb 23, 2022, 4:07:52 PM2/23/22
to AWX Project
Can you provide any more information? Sounds like the image is pulling but the container fails to keep running when it tries to start it.

Can you get the logs from the container when it tries to start?

Shu Latif

unread,
Mar 5, 2022, 8:35:08 AM3/5/22
to AWX Project
I'm having the same issue.

Some things I am seeing but not sure what it means:
 1 authentication.go:345] Error looking up in-cluster authentication configuration: configmaps "extension-apiserver-authentication" is forbidden: User "system:kube-scheduler" cannot get resource "configmaps" in API group "" in the namespace "kube-system"

Mar 05 13:21:11 minikube kubelet[801]: E0305 13:21:11.273572     801 pod_workers.go:918] "Error syncing pod, skipping" err="[failed to \"StartContainer\" for \"awx-server-web\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=awx-server-web pod=awx-server-7d8fb57c9-svbgq_awx(75967920-1740-46f2-a4e1-bf38fdfa3faf)\", failed to \"StartContainer\" for \"awx-server-task\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=awx-server-task pod=awx-server-7d8fb57c9-svbgq_awx(75967920-1740-46f2-a4e1-bf38fdfa3faf)\"]" pod="awx/awx-server-7d8fb57c9-svbgq" podUID=75967920-1740-46f2-a4e1-bf38fdfa3faf

Cnu k

unread,
Mar 13, 2022, 6:49:06 PM3/13/22
to AWX Project
Exit code 127 appears to indicate either an incorrect command or path. Do you mind sharing little more info on the set up?
Also above error refers to  kube-system namespace, not sure why the operator is trying to install or lookup resources in that ns. Create a separate namespace as mentioned in the documentation and try again.

Thanks

Reply all
Reply to author
Forward
0 new messages