I ran k delete -f cr.yaml
then k apply -f cr.yaml
to force awx operator to see changes I made to ldap secret. This has worked several times already, but this time it didn’t.
pods are stuck in “Stopping container” when I checked the operator’s events.
No pods in the namespace just the controller manager.
LAST SEEN TYPE REASON OBJECT MESSAGE
9m52s Normal Killing Pod/ansible-task-7f464d9c85-dczbh Stopping container redis
9m52s Normal Killing Pod/ansible-task-7f464d9c85-dczbh Stopping container ansible-rsyslog
9m52s Normal Killing Pod/ansible-task-7f464d9c85-dczbh Stopping container ansible-ee
9m52s Normal Killing Pod/ansible-task-7f464d9c85-dczbh Stopping container ansible-task
9m52s Normal Killing Pod/ansible-web-84d8849bc6-vlgmz Stopping container redis
9m52s Normal Killing Pod/ansible-web-84d8849bc6-vlgmz Stopping container ansible-web
9m52s Normal Killing Pod/ansible-web-84d8849bc6-vlgmz Stopping container ansible-rsyslog
9m51s Normal Killing Pod/ansible-postgres-15-0 Stopping container postgres
Last time this happened, I had to destroy the namespace and remove the operator.
Is there better way to fix this issue?
Version:
app.kubernetes.io/operator-version=2.19.1
Logs from controller
{"level":"error","ts":"2025-01-28T16:12:09Z","msg":"Reconciler error","controller":"awx-controller","object":{"name":"ansible","namespace":"awx"},"namespace":"awx","name":"ansible","reconcileID":"ce5816c0-eca1-405f-b72d-6b060d236d2a","error":"event runner on failed","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"}
It looks like it might be failing to load ldap_secret
{"level":"error","ts":"2025-01-28T16:23:12Z","logger":"logging_event_handler","msg":"","name":"ansible","namespace":"awx","gvk":"awx.ansible.com/v1beta1, Kind=AWX","event_type":"runner_on_failed","job":"5067429572178472837","EventData.Task":"Load LDAP CA Certificate Secret content","EventData.TaskArgs":"","EventData.FailedTaskPath":"/opt/ansible/roles/installer/tasks/load_ldap_cacert_secret.yml:10","error":"[playbook task failed]","s
What is the proper (working) way of adding ldap certificates? The methods listed in the documentation do not work, operator does not load the certificate to /etc/openldap/certs/
Thanks