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: add trace logging around service registrations #15311

Merged
merged 1 commit into from
Nov 21, 2022
Merged

Conversation

shoenig
Copy link
Member

@shoenig shoenig commented Nov 18, 2022

This PR adds trace logging around the differential done between a Nomad service registration and its corresponding Consul service registration, in an effort to shed light on why a service registration request is being made.

Should help with #15265

This PR adds trace logging around the differential done between a Nomad service
registration and its corresponding Consul service registration, in an effort
to shed light on why a service registration request is being made.
Copy link
Member

@jrasell jrasell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; just needs the required backport labels to be added.

@tgross tgross added this to the 1.4.3 milestone Nov 21, 2022
@tgross tgross added backport/1.4.x backport to 1.4.x release line theme/service-discovery labels Nov 21, 2022
@tgross
Copy link
Member

tgross commented Nov 21, 2022

I've added the 1.4.x backport label but I'm looking at #14917 and I think we probably need to backport to 1.3.x and 1.2.x as well?

@shoenig
Copy link
Member Author

shoenig commented Nov 21, 2022

1.4 introduced the now-suspect changes of #14914; I think that's as far back as we need to backport. If it turns out the actual for #15265 predates 1.4 we can backport that

@shoenig shoenig merged commit 3b14db4 into main Nov 21, 2022
@shoenig shoenig deleted the b-consul-diff-log branch November 21, 2022 14:03
shoenig added a commit that referenced this pull request Nov 21, 2022
This PR adds trace logging around the differential done between a Nomad service
registration and its corresponding Consul service registration, in an effort
to shed light on why a service registration request is being made.
shoenig added a commit that referenced this pull request Nov 21, 2022
This PR adds trace logging around the differential done between a Nomad service
registration and its corresponding Consul service registration, in an effort
to shed light on why a service registration request is being made.

Co-authored-by: Seth Hoenig <shoenig@duck.com>
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/1.4.x backport to 1.4.x release line theme/service-discovery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants