# 404 page not found

**URL:** <https://forum.ansible.com/t/404-page-not-found/2786>\
**Category:** Get Help\
**Tags:** awx, collections, kubernetes\
**Created:** [December 7, 2023, 12:02pm UTC](https://forum.ansible.com/t/404-page-not-found/2786 "2023-12-07T12:02:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![birb](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/birb/32/2698_2.png) [@birb](https://forum.ansible.com/u/birb)\
**Post date:** [December 7, 2023, 12:02pm UTC](https://forum.ansible.com/t/404-page-not-found/2786/1 "2023-12-07T12:02:41Z")

</div>

AWX 23.5.0 Operator 2.8.0 K3s v1.27.7+k3s2

Hello

I just install fresh awx release 23.5.0 on redhat 8.8 with success

I follow with restore from backup files (on same release) with success

--------------------------- Ansible Task StdOut -------------------------------

TASK [restore : Update CR Restore status] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /opt/ansible/roles/restore/tasks/update\_status.yml:3

* * *

{“level”:“info”,“ts”:“2023-12-07T10:26:05Z”,“logger”:“runner”,“msg”:“Ansible-runner exited successfully”,“job”:“1442269809012458303”,“name”:“awxrestore-2023-12-03”,“namespace”:“awx”}

----- Ansible Task Status Event StdOut ([awx.ansible.com/v1beta1](http://awx.ansible.com/v1beta1), Kind=AWXRestore, awxrestore-2023-12-03/awx) -----

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=6 changed=0 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0

But now can not login anymore and have 404 error:

[IAAS - root@vmt86rhel937 ~]$ curl -k [https://vmt86rhel937.cedelgroup.com](https://vmt86rhel937.cedelgroup.com)  
404 page not found

Can you please advise on how to troubleshoot such issue ?  
No error to highlight from my side

[IAAS - root@vmt86rhel937 awx-on-k3s]$ kubectl get pods -n awx  
NAME READY STATUS RESTARTS AGE  
awx-operator-controller-manager-6678865c69-xpjhl 2/2 Running 0 3h32m  
awx-postgres-13-0 1/1 Running 0 100m  
awx-task-58d8f4dcfb-snh9m 4/4 Running 0 99m  
awx-web-6497bc6fd8-pc85p 3/3 Running 0 99m  
[IAAS - root@vmt86rhel937 awx-on-k3s]$  
[IAAS - root@vmt86rhel937 awx-on-k3s]$ kubectl get svc -n awx  
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE  
awx-operator-controller-manager-metrics-service ClusterIP 10.43.17.156 8443/TCP 3h32m  
awx-postgres-13 ClusterIP None 5432/TCP 100m  
awx-service ClusterIP 10.43.197.240 80/TCP 100m  
[IAAS - root@vmt86rhel937 awx-on-k3s]$ kubectl get svc -n awx -A  
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE  
default kubernetes ClusterIP 10.43.0.1 443/TCP 12h  
kube-system kube-dns ClusterIP 10.43.0.10 53/UDP,53/TCP,9153/TCP 12h  
kube-system metrics-server ClusterIP 10.43.185.6 443/TCP 12h  
kube-system traefik LoadBalancer 10.43.41.201 10.245.157.108 80:32422/TCP,443:30365/TCP 12h  
awx awx-operator-controller-manager-metrics-service ClusterIP 10.43.17.156 8443/TCP 3h32m  
awx awx-postgres-13 ClusterIP None 5432/TCP 100m  
awx awx-service ClusterIP 10.43.197.240 80/TCP 100m

Let me know if you need more info

Thanks for your support

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [December 7, 2023, 1:06pm UTC](https://forum.ansible.com/t/404-page-not-found/2786/2 "2023-12-07T13:06:45Z")

</div>

Could you please provide the output from `kubectl -n awx get awx,ingress -o yaml`

---

<div class="post-metadata">

**Author:** ![birb](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/birb/32/2698_2.png) [@birb](https://forum.ansible.com/u/birb)\
**Post date:** [December 7, 2023, 1:55pm UTC](https://forum.ansible.com/t/404-page-not-found/2786/3 "2023-12-07T13:55:34Z")

</div>

Hi Kurokobo

Can not post

“An error occurred: Sorry, new users can only put 2 links in a post.”

Thanks for your support

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [December 7, 2023, 1:59pm UTC](https://forum.ansible.com/t/404-page-not-found/2786/4 "2023-12-07T13:59:26Z")

</div>

Wrap your output with triple-backquote like this:

````auto
```
paste output here
```

````

---

<div class="post-metadata">

**Author:** ![birb](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/birb/32/2698_2.png) [@birb](https://forum.ansible.com/u/birb)\
**Post date:** [December 7, 2023, 2:01pm UTC](https://forum.ansible.com/t/404-page-not-found/2786/5 "2023-12-07T14:01:22Z")

</div>

Hi Kurokobo

Yes it seems that we have reference to old awx server where the restore is coming from in metadata: → annotations: and spec: → hostname, …

Can I reset such parameters ?

Can not attach kuectl output as file, …

Best regards

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [December 7, 2023, 2:04pm UTC](https://forum.ansible.com/t/404-page-not-found/2786/6 "2023-12-07T14:04:07Z")

</div>

Try `kubectl -n awx edit awx awx`.

After editing, wait until Operator starts to redeploy and complete: `kubectl -n awx logs -f deployments/awx-operator-controller-manager`

---

<div class="post-metadata">

**Author:** ![birb](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/birb/32/2698_2.png) [@birb](https://forum.ansible.com/u/birb)\
**Post date:** [December 7, 2023, 2:18pm UTC](https://forum.ansible.com/t/404-page-not-found/2786/7 "2023-12-07T14:18:52Z")

</div>

Hi Kurokobo

Works fine now after updating hostname and redeployment of application

Good Job

Thanks for support

--------------------------- Ansible Task StdOut -------------------------------

TASK [Remove ownerReferences reference] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
ok: [localhost] =\> (item=None) =\> {“censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”, “changed”: false}

* * *

--------------------------- Ansible Task StdOut -------------------------------

TASK [installer : Start installation if auto\_upgrade is false and deployment is missing] \*\*\*  
task path: /opt/ansible/roles/installer/tasks/main.yml:31

* * *

{“level”:“info”,“ts”:“2023-12-07T14:14:24Z”,“logger”:“logging\_event\_handler”,“msg”:“[playbook task start]”,“name”:“awx”,“namespace”:“awx”,“gvk”:“[awx.ansible.com/v1beta1](http://awx.ansible.com/v1beta1), Kind=AWX”,“event\_type”:“playbook\_on\_task\_start”,“job”:“4589132111170239021”,“EventData.Name”:“installer : Start installation if auto\_upgrade is false and deployment is missing”}  
{“level”:“info”,“ts”:“2023-12-07T14:14:24Z”,“logger”:“runner”,“msg”:“Ansible-runner exited successfully”,“job”:“4589132111170239021”,“name”:“awx”,“namespace”:“awx”}

----- Ansible Task Status Event StdOut ([awx.ansible.com/v1beta1](http://awx.ansible.com/v1beta1), Kind=AWX, awx/awx) -----

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=85 changed=0 unreachable=0 failed=0 skipped=77 rescued=0 ignored=1
