Awx-manage: command not found

Hi All,

I am trying to get awx-operator installed on my kubernetes cluster with helm (v2.19.1). I am using an external Postgres database for my configuration. My AWX.postgres section is populated. When I install the helm chart, the awx-operator-controller-manager comes up as Running. However, the Task and Web pods show a failed state. When reviewing the logs of the controller manager, this is the first error I see

--------------------------- Ansible Task StdOut -------------------------------

TASK [installer : Check if there are any super users defined.] *****************
task path: /opt/ansible/roles/installer/tasks/initialize_django.yml:2

-------------------------------------------------------------------------------
{"level":"error","ts":"2025-03-14T21:44:48Z","logger":"logging_event_handler","msg":"","name":"awx","namespace":"awx-ns","gvk":"awx.ansible.com/v1beta1, Kind=AWX","event_type":"runner_on_failed","job":"2678576957321626176","EventData.Task":"Check if there are any super users defined.","EventData.TaskArgs":"",
"EventData.FailedTaskPath":"/opt/ansible/roles/installer/tasks/initialize_django.yml:2",
"error":"[playbook task failed]","stacktrace":"github.com/operator-framework/ansible-operator-plugins/internal/ansible/events.loggingEventHandler.Handle
\tansible-operator-plugins/internal/ansible/events/log_events.go:111"}

--------------------------- Ansible Task StdOut -------------------------------

 TASK [Check if there are any super users defined.] ******************************** 
fatal: [localhost]: FAILED! => {"changed": true, "rc": 127, "return_code": 127, "stderr": "bash: awx-manage: command not found", 
"stderr_lines": ["bash: awx-manage: command not found"], 
"stdout": "", "stdout_lines": []}
...ignoring

-------------------------------------------------------------------------------
{"level":"info","ts":"2025-03-14T21:44:48Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"awx","namespace":"alv-glb-awx-dv-ns","gvk":"awx.ansible.com/v1beta1, Kind=AWX","event_type":"playbook_on_task_start","job":"2678576957321626176","EventData.Name":"installer : Create super user via Django if it doesn't exist."}

I dont know why its either

  • not finding awx-manage
  • or some command being passed to awx-manage?

Any advice would be appreciated!