Closed sevenGroupFrance closed 2 months ago
Ok, from the cron pod, wich was the only running well, i've launch bin/rails db:migrate RAILS_ENV=production
and this work.
Now having trouble with the ingress, I have a 504 from the browser. Will dig in !
About the Ingress, the problem may be in the proxy deployment, wich has
env:
- name: APP_HOST
value: $(WEB_SERVICE_HOST)
$(WEB_SERVICE_HOST) does not exist, and is not used in ingress... Replacing by subdomain.mydomain.com does not help
Found in ingress pod logs :
2022/11/23 14:01:06 [error] 4650#4650: *129230745 upstream timed out (110: Operation timed out) while connecting to upstream, client: x.x.x.x, server: sub.mysubdomain.com, request: "GET /favicon.ico HTTP/2.0", upstream: "http://10.2.0.53:80/favicon.ico", host: "sub.mysubdomain.com", referrer: "https://sub.mysubdomain.com/"
x.x.x.x - - [23/Nov/2022:14:01:06 +0000] "GET /favicon.ico HTTP/2.0" 504 562 "https://sub.mysubdomain.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" 130 15.002 [openproject-proxy-80] [] 10.2.0.53:80, 10.2.0.53:80, 10.2.0.53:80 0, 0, 0 5.000, 5.004, 5.000 504, 504, 504 905d2c74a2f63e5b66b6b2bfd75b8f22
Edit :
Trying to debug : from the proxy pod :
To try directly connect to the pod, i've done a port forward directly on the pod (proxy). Always redrected to httpS with error ERR_SSL_PROTOCOL_ERROR !
Is their any bad configuration IN the proxy pod or web pod ?
Any help is welcom :)
Problem is resolved.
See #41 for solutions :)
K8s deployment has moved to helm chart. I'm closing all remaining issues. In case you need help, please:
Worker and web deployment are restarting.
Checkings pod logs, i can see from the web pod :
in the worker logs, having this error :
It's like the worker can't migrate the database ! Any idea what is wrong ?
Thank you for your help.