Closed lguminski closed 8 years ago
This might be an issue of which Consul API we're using to register the check. We're using consul.agent.check.register
in the Python client API, which corresponds to /v1/agent/check/register
. We use the agent API in Consul in ContainerPilot for service/check registration because of the anti-entropy property, but maybe that's the wrong thing to use in this case.
This may be associated with https://github.com/joyent/containerpilot/issues/162
Going to close this given we haven't had any feedback on it.
After running for long time the remaining "mysql-backup-run" checks
caused that the Consul service started being perceived as unhealthy. That had an unexpected effect. I had Consul defined as DNS resolver. So when application tried to contact Consul by address http://consul.service.consul, Consul complained it cannot resolve the name
consul.service.consul
.The recursion was quite funny, but note that other names were also affected.