dkcbk
Flight Engineer
Flight Engineer
  • 2,408 Views

Install awx in Openshift

Jump to solution
Hi.
Someone might have installed Ansible AWX on Openshift. I installed the operator with Helm. All pods (awx-operator-controller-manager, postgres, awx-web) are up and running, but I can't open the AWX web console because I get a 503 response.
Labels (2)
1 Solution

Accepted Solutions
dkcbk
Flight Engineer
Flight Engineer
  • 2,390 Views
I found the issue. The problem was port 80. Openshift uses restricted SCC, which prevents the use of ports < 1024. The solution was to enable the anyuid SCC for the service account used by the awx-web pod.

View solution in original post

4 Replies
Chetan_Tiwary_
Moderator
Moderator
  • 2,392 Views

Hey @dkcbk !


Are you getting anything in the pod logs ? What type is the service ? How are you accessing the console ?

0 Kudos
dkcbk
Flight Engineer
Flight Engineer
  • 2,391 Views
I found the issue. The problem was port 80. Openshift uses restricted SCC, which prevents the use of ports < 1024. The solution was to enable the anyuid SCC for the service account used by the awx-web pod.
Chetan_Tiwary_
Moderator
Moderator
  • 2,384 Views

Cant we use port 8080 instead of enabling the anyuid security constraint context ? 

0 Kudos
dkcbk
Flight Engineer
Flight Engineer
  • 2,382 Views
I think you can use different port only in case of LoadBalancer type of service
0 Kudos
Join the discussion
You must log in to join this conversation.