I’m trying install AWX on various hardware and I’m running into a weird issue. Full disclosure though, this is my first foray into anything Kubernetes or AWX so I am having a little trouble understanding where to look or how to isolate the problem.
The short version is: Installing on physical hardware (eg. desktop) with Red Hat or Ubuntu works as expected. Trying to install on a VM running under Microsoft Hyper-V fails every time as described below. Any pointers on where to look for what is causing this issue would be greatly appreciated. It should be noted that virtualization applications have been run on our Hyper-V VMs before (eg. the Docker version of AWX 17.1.0 or Vagrant).
At the point where the awx-demo.yaml file (using the instructions at https://github.com/ansible/awx-operator) is deployed using kustomize (or a similar step using other instructions available around the Internet), things get stuck in the same state. This has happened using minkube or k3s for the Kubernetes layer.
$ kubectl get pods -n awx -l “app.kubernetes.io/managed-by=awx-operator”
NAME READY STATUS RESTARTS AGE
awx-postgres-0 1/1 Running 0 52m
awx-c6855d75d-9mtb5 2/4 CrashLoopBackOff 14 (4m52s ago) 52m
The only error message I can find comes from:
$ kubectl -n awx logs deployments/awx-operator-controller-manager -c awx-manager
{“level”:“error”,“ts”:1651672235.1357942,“logger”:“logging_event_handler”,“msg”:“”,“name”:“awx”,“namespace”:“awx”,“gvk”:“awx.ansible.com/v1beta1, Kind=AWX”,“event_type”:“runner_on_failed”,“job”:“8997747498569746568”,“EventData.Task”:“Apply deployment resources”,“EventData.TaskArgs”:“”,“EventData.FailedTaskPath”:“/opt/ansible/roles/installer/tasks/resources_configuration.yml:75”,“error”:“[playbook task failed]”}
Thanks very much in advance for any direction that people can offer.