Deployed Datahub, but getting the below errors. Wo...
# all-things-deployment
m
Deployed Datahub, but getting the below errors. Would it be possible to point me in the right direction?
a
What is your deploy environment and version? Have you added any custom code? There may be a version mismatch in containers somewhere
@brainy-tent-14503 might have more insight based on these errors
m
Deployed on kubernetes No custom code added
@astonishing-answer-96712
b
I would guess some networking problem or missing static files. I am not seeing the main image loading and am guessing that the javascript code is not present either. Perhaps your load balancer is not correctly setup. Can you confirm that you are getting missing javascript and images? Inspect the page and look at the network tab or console. If that’s the case please describe your elb setup.
m
@brainy-tent-14503 Thanks for your response. Yes, I do see errors. Is the below what you were expecting? What would you like to know about the ELB setup?
a
Ok, that’s not quite what I was expecting actually. The network tab may offer more insight. However the 500 errors indicates some issues with the frontend pod for sure. Let’s start by getting the logs from
datahub-frontend
b
Hi @magnificent-honey-40185! I've seen this before. It can be due to version mismatch between datahub-gms and datahub-frontend containers. Sometimes stale container versions will be cached by K8s / docker compose - I'd start by verifying that the docker image tags are the same!
m
@brainy-tent-14503 apologies but how do I do that? Very new to this
@big-carpet-38439 I’ll check this. Thanks
b
kubectl logs -f <your-deployment-name>
first view the pods, kubectl get pods -n default
m
Thanks @big-carpet-38439 and @brainy-tent-14503. Will take a look.
b
@big-carpet-38439 does datahub-gms ingres endpoint also an accessible one like the frontend url? because we see gms target becoming unhealthy with 401 error code
Btw,we are working on same with @magnificent-honey-40185
b
If I understand the question, GMS doesn’t need to be exposed on an external load balancer. The frontend will proxy requests as needed to GMS.
b
Untitled
@brainy-tent-14503 we are getting error for datahub gms version we are using version 0.10.3
@brainy-tent-14503 @big-carpet-38439 we are stuck with datahub deployment, we are following this blog; https://datahubproject.io/docs/deploy/kubernetes
datahub frontend got deployed successfully but, gms is throwing error with version
we are using 0.10.3 version
b
Can you share the complete log for
gms
and the
system-update
pods?