# AWX Openshift pods not starting

**URL:** <https://forum.ansible.com/t/awx-openshift-pods-not-starting/41301>\
**Category:** Get Help\
**Tags:** openshift, community-general, community-wg, awx\
**Created:** [March 25, 2025, 8:57am UTC](https://forum.ansible.com/t/awx-openshift-pods-not-starting/41301 "2025-03-25T08:57:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hussain\_Peera](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/hussain_peera/32/7805_2.png) [@Hussain\_Peera](https://forum.ansible.com/u/Hussain_Peera)\
**Post date:** [March 25, 2025, 8:57am UTC](https://forum.ansible.com/t/awx-openshift-pods-not-starting/41301/1 "2025-03-25T08:57:17Z")

</div>

We have upgraded the AWX operator from version 2.12.2 to 2.16.1.

Since then, I am unable to see the `awx-web` and `awx-task` pods in the AWX namespace.

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/8/8b1cf01e753d79da1f277f211edaf28f65cbb677.png)

please help on fixing this.

---

<div class="post-metadata">

**Author:** ![Hussain\_Peera](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/hussain_peera/32/7805_2.png) [@Hussain\_Peera](https://forum.ansible.com/u/Hussain_Peera)\
**Post date:** [March 25, 2025, 8:59am UTC](https://forum.ansible.com/t/awx-openshift-pods-not-starting/41301/2 "2025-03-25T08:59:20Z")

</div>

and i am unable to access the console

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/9/938ef99dae416822c2fbe1b14889f333059807a5.png)

---

<div class="post-metadata">

**Author:** ![anon81884396](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon81884396](https://forum.ansible.com/u/anon81884396)\
**Post date:** [March 25, 2025, 11:39am UTC](https://forum.ansible.com/t/awx-openshift-pods-not-starting/41301/3 "2025-03-25T11:39:02Z")

</div>

You will need to post the logs from the AWX controller to see what is failing. Looks like something in your upgrade is going wrong since you have Postgres 13 and 15 pods existing simultaneously.

---

<div class="post-metadata">

**Author:** ![Hussain\_Peera](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/hussain_peera/32/7805_2.png) [@Hussain\_Peera](https://forum.ansible.com/u/Hussain_Peera)\
**Post date:** [March 25, 2025, 3:20pm UTC](https://forum.ansible.com/t/awx-openshift-pods-not-starting/41301/4 "2025-03-25T15:20:22Z")

</div>

Hi @anon81884396

Here are the logs from the AWX controller

```auto
Flag --logtostderr has been deprecated, will be removed in a future release, see https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components
W0325 06:05:23.327415 1 kube-rbac-proxy.go:155] 
==== Deprecation Warning ======================

Insecure listen address will be removed.
Using --insecure-listen-address won't be possible!

The ability to run kube-rbac-proxy without TLS certificates will be removed.
Not using --tls-cert-file and --tls-private-key-file won't be possible!

For more information, please go to https://github.com/brancz/kube-rbac-proxy/issues/187

===============================================

		
I0325 06:05:23.327542 1 kube-rbac-proxy.go:284] Valid token audiences: 
I0325 06:05:23.327590 1 kube-rbac-proxy.go:378] Generating self signed cert as no cert is provided
I0325 06:05:24.018910 1 kube-rbac-proxy.go:442] Starting TCP socket on 0.0.0.0:8443
I0325 06:05:24.019306 1 kube-rbac-proxy.go:449] Listening securely on 0.0.0.0:8443

```

---

<div class="post-metadata">

**Author:** ![anon81884396](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon81884396](https://forum.ansible.com/u/anon81884396)\
**Post date:** [March 25, 2025, 3:38pm UTC](https://forum.ansible.com/t/awx-openshift-pods-not-starting/41301/5 "2025-03-25T15:38:29Z")

</div>

I think those are the logs for your kube rbac proxy. You’ll need the logs from awx-operator-controller-manager. Typically those logs have a lot of Ansible playbook output during an upgrade.

---

<div class="post-metadata">

**Author:** ![Hussain\_Peera](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/hussain_peera/32/7805_2.png) [@Hussain\_Peera](https://forum.ansible.com/u/Hussain_Peera)\
**Post date:** [March 26, 2025, 5:30am UTC](https://forum.ansible.com/t/awx-openshift-pods-not-starting/41301/6 "2025-03-26T05:30:17Z")

</div>

Hi @anon81884396

i am sharing the awx-operator-controller-manager logs as you asked

[https://drive.google.com/file/d/1ScbKiebE3n5\_4YXfdq6smXvGmah8DvpA/view?usp=sharing](https://drive.google.com/file/d/1ScbKiebE3n5_4YXfdq6smXvGmah8DvpA/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![anil\_reddy](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/anil_reddy/32/8043_2.png) [@anil\_reddy](https://forum.ansible.com/u/anil_reddy)\
**Post date:** [April 3, 2025, 5:25am UTC](https://forum.ansible.com/t/awx-openshift-pods-not-starting/41301/7 "2025-04-03T05:25:23Z")

</div>

Database migration from 13 to 15 is failing when data is being copied to new postgres15 database.

[installer : Stream backup from pg\_dump to the new postgresql container] \*\*\*\r\n\u001b[1;30mtask path: /opt/ansible/roles/installer/tasks/upgrade\_postgres.yml:99\u001b[0m\n\u001b[0;31mfatal: [localhost]: FAILED! =\> {"censored": "the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result", "changed": true}\u001b[0m\n\r\nPLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\r\n\u001b[0;31mlocalhost\u001b[0m : \u001b[0;32mok=63 \u001b[0m \u001b[0;33mchanged=3 \u001b[0m unreachable=0 \u001b[0;31mfailed=1 \u001b[0m \u001b[0;36mskipped=24 \u001b[0m rescued=0 ignored=0 \n",“job”:“7937547529177739800”,“name”:“awx”,“namespace”:“tp-awx”,“error”:“exit status 2”,“stacktrace”:“[github.com/operator-framework/ansible-operator-plugins/internal/ansible/runner.(\*runner).Run.func1](http://github.com/operator-framework/ansible-operator-plugins/internal/ansible/runner.(*runner).Run.func1)\n\tansible-operator-plugins/internal/ansible/runner/runner.go:269”}

I can think, most probably the issue is there could be some tables created in postgres13 database that are not owned awx admin user. If there any tables like that remove them and try.
