-
Notifications
You must be signed in to change notification settings - Fork 46
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
/v1/node API is not accessible when the password file authentication is enabled #58
Comments
I didn't noticed this issue since my setting is using an external loadbalancer so I have In your case, are you Using TLS enabled directly on Trino installation? |
nvm, I reproduced the issue that is specific on workers; the easy solution is to change the health check to just call localhost /v1/status but this will not be useful if there are issues contacting coordinator. Need to think about a solution. |
Right. I have also used /v1/status temporarily. Btw, I am also using an external load-balancer. |
My proposal is to use @fxulusoy wdyt? |
Hey @valeriano-manassero, thanks for your effort on this helm chart. I was actually starting to deploy this and I noticed this issue and I believe your solution using the endpoint /v1/info/node makes sense since i think the health check here is basically reflecting successful discovery |
Chart version 1.1.5 just released (it will be listed in artifacthub in ~30 mins), pls can you check if issue is now fixed? |
@valeriano-manassero Does the I have tried your health check command in the worker pod Health check should not fail now but this is not really checking anything, right? I did not have time to investigate this yet. |
I just noticed I did a mistake on the url, the right one is |
Version 1.1.7 released with one more improvement so now health check is also testing the output for ACTIVE string so we should be able to detect issues if coordinator is responding with something unexpected. Let me know if this last version improvement is good. P.S. please be sure to use chart version 1.1.7 (I released a couple of new versions in the middle). This one should contain a good health check that is a real one 😄 |
Since thumbs up are there I'm going to close the issue 😄 . Feel free to open another one if some bugs arises. |
Due to this issue, health check of the worker nodes are failing:
https://github.com/valeriano-manassero/helm-charts/blob/main/valeriano-manassero/trino/templates/configmap-worker.yaml#L49
I see two options:
Any ideas?
The text was updated successfully, but these errors were encountered: