AWX Kubernetes installation successful with pods in running status. But there is an internal server error when trying to access AWX from a browser.
Follow the installation guide for kubernetes. Made changes to installer/inventory file to these two lines:
kubernetes_context=
awx_kubernetes_namespace=
all other things remain the default.
AWX running with no errors.
The pods spun up successfully showing status Running in kubernetes cluster. But cannot access the AWX web site - getting an Internal Server Error on the web page.
The logs in both awx_web and awx_celery containers show this error:
File "/etc/tower/settings.py", line 16, in
CELERY_TASK_QUEUES += (Queue(CLUSTER_HOST_ID, Exchange(CLUSTER_HOST_ID), routing_key=CLUSTER_HOST_ID),)
NameError: name 'CELERY_TASK_QUEUES' is not defined
Same here, @shen3lu4 try using images version 1.0.3
(set dockerhub_version=1.0.3 in your inventory file)
using images v 1.0.3 works! thank you!
Using dockerhub_version=1.0.3solved the problem also for me.
I'm using the release1.0.4 of awx, deployed to an OpenShift cluster.
@cydvd Thank you for the solution! Using 1.0.3 works for me as well!
Should be fixed after https://github.com/ansible/awx/pull/1446.
Most helpful comment
Same here, @shen3lu4 try using images version 1.0.3
(set dockerhub_version=1.0.3 in your inventory file)