-
Notifications
You must be signed in to change notification settings - Fork 8
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
Service health check not working when deployed on Nomad-cluster #25
Comments
I suspect this issue is caused by connect fully isolating the container, including from the process performing the service checks. If so then this thread may contain a solution: |
Also this module has starting behaving this way because of the following fix that was done to vagrant-hashistack box :Skatteetaten/vagrant-hashistack#344 |
@Neha-Sinha2305 So this means we need to fix this asap ;) |
@oschistad : Is it possible for you to set the consul_default_policy=allow in your cluster and redeploy the module and check that the service health check works fine? |
@oschistad Could you also provide |
@oschistad: I looked into this issue and the minio module in the current state is capable of running without any errors in environments that have the following configurations:
Also, the checks that you mentioned are already in place in the minio nomad job and the terraform apply runs without any error so that means the healthchecks pass when run with the above configurations. So, probably the issue lies in some other place and would need more details to debug it. |
This is under investigation: Skatteetaten/vagrant-hashistack#368 |
Is this still relevant @oschistad @fredrikhgrelland @pdmthorsrud @zhenik @dangernil @claesgill |
@zhenik Unknown - the issue referenced above relates to a flaw in the automated testing but not I believe an actual fix for the issue. |
Context: Using this module to deploy a nomad job against a Nomad-cluster of 3 server + 3 clients. Cluster is ACL-enabled and runs in an environment where Consul ACLs have also been enabled.
Consul Connect is enabled for the MInIO service.
Consul is reporting the Service as unhealth, and logs the following errors:
The text was updated successfully, but these errors were encountered: