Not able to access web UI

219 views
Skip to first unread message

shaik fayaz

unread,
Jun 26, 2023, 8:36:34 AM6/26/23
to AWX Project
Hi All,

I've deployed AWX using k3s.

kubectl get pods
NAME                                               READY   STATUS    RESTARTS      AGE
awx-web-57755957d7-z26z5                           3/3     Running   6 (21d ago)   61d
awx-postgres-13-0                                  1/1     Running   2 (21d ago)   61d
awx-task-664d55cfb4-zglz4                          4/4     Running   4 (21d ago)   21d
awx-operator-controller-manager-57867569c4-5f5b5   2/2     Running   24 (5d ago)   61d


kubectl get svc
NAME                                              TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)        AGE
awx-operator-controller-manager-metrics-service   ClusterIP   10.43.15.252    <none>        8443/TCP       61d
awx-postgres-13                                   ClusterIP   None            <none>        5432/TCP       61d
awx-service                                       NodePort    10.43.142.230   <none>        80:30080/TCP   61d

In Application gateway also, I've added listener and opened the ports and added custom dns as well 
HTTP-80
HTTPS-30080

I was able to access the pods and able to use it but still not able to get the hit rom 

Kindly help me on this

Thanks,
Shaik

shaik fayaz

unread,
Jun 26, 2023, 9:40:03 AM6/26/23
to AWX Project
Sorry, still not able to access it from web

Michael Kelly

unread,
Jun 26, 2023, 9:46:42 AM6/26/23
to awx-p...@googlegroups.com
Have you tried removing the :30080?

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/66a9cf0b-686d-4c35-9df4-9c6a1dca2d5an%40googlegroups.com.

shaik fayaz

unread,
Jun 26, 2023, 9:47:49 AM6/26/23
to awx-p...@googlegroups.com
Yes, 404 getting 

You received this message because you are subscribed to a topic in the Google Groups "AWX Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/awx-project/h8qpgmLHKig/unsubscribe.
To unsubscribe from this group and all its topics, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/CADee-3P8px7RDvb2wyfwYRwHqMUUW9MN6ORHOR89n11-CTtSXQ%40mail.gmail.com.

Michael Kelly

unread,
Jun 26, 2023, 11:04:08 AM6/26/23
to awx-p...@googlegroups.com
I notice in your initial post you mentioned that you opened ports HTTP-80 and HTTP-443 in your Application gateway.
Have you added HTTP-443?

shaik fayaz

unread,
Jun 26, 2023, 12:27:34 PM6/26/23
to AWX Project
Actually after having port 443 also same issue. So what I've done is instead of 443, I've added 30080 for redirection.

And there is no service running on 30080 port.

FYI: without 30080 it's showing 404 and with 30080 "too long to respond"

firewall-cmd --list-ports
30080/tcp 8080/tcp 9080/tcp 8000/tcp

shaik fayaz

unread,
Jun 26, 2023, 12:35:54 PM6/26/23
to AWX Project
can you please help me with reinstalling it from the beginning. 

Michael Kelly

unread,
Jun 27, 2023, 4:41:54 AM6/27/23
to awx-p...@googlegroups.com
Hi Shaik,
I followed the procedure described at https://github.com/kurokobo/awx-on-k3s.
You don't need to use CentOS 8 if you don't want to, I used Debian 10 and it's fine.
You need to make sure that the git and make packages are installed.

shaik fayaz

unread,
Jun 27, 2023, 5:33:35 AM6/27/23
to awx-p...@googlegroups.com
Thanks, actually I need to install it on oracle linux 7.9. I followed these instructions and I struck at certificate step.

shaik fayaz

unread,
Jun 27, 2023, 11:18:50 AM6/27/23
to AWX Project
Hi Michael,

I found errors in logs 

"level":"error","ts":1682429269.4878714,"logger":"logging_event_handler","msg":"","name":"awx","namespace":"awx","gvk":"awx.ansible.com/v1beta1, Kind=AWX","event_type":"runner_on_failed","job":"3982367715082490158","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/operator-sdk/internal/ansible/events.loggingEventHandler.Handle\n\t/workspace/internal/ansible/events/log_events.go:111

similarly
"level":"error","ts":1682429296.5071847,"logger":"logging_event_handler","msg":"","name":"awx","namespace":"awx","gvk":"awx.ansible.com/v1beta1, Kind=AWX","event_type":"runner_on_failed","job":"3982367715082490158","EventData.Task":"Check if legacy queue is present","EventData.TaskArgs":"","EventData.FailedTaskPath":"/opt/ansible/roles/installer/tasks/initialize_django.yml:39","error":"[playbook task failed]","stacktrace":"github.com/operator-framework/operator-sdk/internal/ansible/events.loggingEventHandler.Handle\n\t/workspace/internal/ansible/events/log_events.go:111

can you please help me on this.

AWX Project

unread,
Jun 30, 2023, 1:13:16 PM6/30/23
to AWX Project
are you able to successfully curl the api? also are you running this in a vm somewhere? If you log into the vm, can you open a browser to that url?

AWX Team
Message has been deleted

shaik fayaz

unread,
Jul 8, 2023, 2:14:50 AM7/8/23
to AWX Project
Hi Team,

{"description":"AWX REST API","current_version":"/api/v2/","available_versions":{"v2":"/api/v2/"},"oauth2":"/api/o/","custom_logo":"","custom_login_info":"","login_redirect_override":""} (here ip is private)

but getting "This site can’t be reached", when I hit the URL. 

shaik fayaz

unread,
Jul 11, 2023, 6:01:10 AM7/11/23
to AWX Project
Hi Team,

Also can you see this,

curl http://10.22.34.xx:30080
<!doctype html><html lang="en"><head><script nonce="W8fNWhlk9t0QBnTS1Xcg5B/ANff8lQaDpAGqnbOlO3g=" type="text/javascript">window.NONCE_ID="W8fNWhlk9t0QBnTS1Xcg5B/ANff8lQaDpAGqnbOlO3g="</script><meta http-equiv="Content-Security-Policy" content="default-src 'self'; connect-src 'self' ws: wss:; style-src 'self' 'unsafe-inline'; script-src 'self' 'nonce-W8fNWhlk9t0QBnTS1Xcg5B/ANff8lQaDpAGqnbOlO3g=' *.pendo.io; img-src 'self' *.pendo.io data:; worker-src 'self' blob: ;"/><link rel="shortcut icon" href="/static/media/favicon.ico"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="AWX"/><script defer="defer" src="./static/js/main.d1a00ff4.js"></script><link href="./static/css/main.3086c5d5.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><style nonce="W8fNWhlk9t0QBnTS1Xcg5B/ANff8lQaDpAGqnbOlO3g=">.app{height:100%}</style><div id="app" class="app"></div></body></html>

Reply all
Reply to author
Forward
0 new messages