Skip to content
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

Consul allows orphaned checks that are not associated with any service #3297

Closed
preetapan opened this issue Jul 18, 2017 · 0 comments
Closed

Comments

@preetapan
Copy link
Contributor

preetapan commented Jul 18, 2017

If you have a question, please direct it to the
consul mailing list if it hasn't been
addressed in either the FAQ or in one
of the Consul Guides.

When filing a bug, please include the following:

consul version for both Client and Server

Client: 0.8.5
Server: 0.8.5

Reproduction steps

Log Fragments or Link to gist

May 16 06:30:09 ...:     2017/05/16 06:30:09 [WARN] consul.fsm: EnsureRegistration failed: failed inserting check: Missing service registration ```

This is due to a race between removing a service (which also removes associated checks) and adding a check for that service. When these orphaned checks get persisted and get replayed upon startup they repeatedly log the warning shown above and clog up logs. 

@preetapan preetapan changed the title Consul sometimes allows orphaned checks that are not associated with any service Consul allows orphaned checks that are not associated with any service Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant