Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-DAB-JW-TOKEN header not set for JWT authentication error in awx-web pod #1764

Open
3 tasks done
Tfinn92 opened this issue Mar 13, 2024 · 4 comments
Open
3 tasks done

Comments

@Tfinn92
Copy link

Tfinn92 commented Mar 13, 2024

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that the AWX Operator is open source software provided for free and that I might not receive a timely response.

Bug Summary

Upon updating to the latest awx-operator 2.13.0 from 2.12.2 after the migrations job completes, the web pod shows this error repeatedly.

2024-03-12 23:11:33,055 INFO     X-DAB-JW-TOKEN header not set for JWT authentication
2024-03-12 23:11:33,071 ERROR    Websocket connection does not provide valid authentication
172.16.1.17 - - [12/Mar/2024:23:11:33 +0000] "GET /websocket/ HTTP/1.1" 403 5 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15" "10.xx.xx.xxx"

Unsure if it's related, but upon running kubectl delete pods --all -n awx the postgres database comes back empty and all preconfigured JT/projects/credentials/etc are gone. PV size seems to be the same strangly enough.

AWX Operator version

2.13.0

AWX version

24.0.0

Kubernetes platform

kubernetes

Kubernetes/Platform version

Rancher RKE2 v1.26.8+rke2r1 and another on v1.27.10+rke2r1

Modifications

no

Steps to reproduce

Upgrade from 2.12.2 with helm update awx-operator awx-operator/awx-operator and applying the latest CRDS with kubectl apply --server-side -k github.com/ansible/awx-operator/config/crd?ref=2.13.0

Expected results

The pods come up as expected.

Actual results

The pods come online, but with the error laid out above

Additional information

No response

Operator Logs

No response

@TheRealHaoLiu
Copy link
Member

@Tfinn92 im sorry for your lost of data...

we identify the issue...

sclorg image expect postgres data to be mounted at a different location...

can you open yet another issue for the data lost?

@Tfinn92
Copy link
Author

Tfinn92 commented Mar 13, 2024

No problem at all! This is why we take pg_dumps nightly 👍🏻

@TheRealHaoLiu
Copy link
Member

#1768 i filed a issue and we have a fix for it already

@a-haurylau
Copy link

Upgraded from postgresql 12 to new one image (15) with data volume path change:
still receiving tons of

tools_awx_1 | 2024-03-21 12:29:27,857 INFO     X-DAB-JW-TOKEN header not set for JWT authentication
tools_awx_1 | 2024-03-21 12:29:27,859 ERROR    Websocket connection does not provide valid authentication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants