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

Cherry-pick #12086 to 6.8: Don't generate autodiscover config when no port matches host hints #12098

Merged
merged 2 commits into from
May 28, 2019

Conversation

jsoriano
Copy link
Member

@jsoriano jsoriano commented May 8, 2019

Cherry-pick of PR #12086 to 6.8 branch. Original message:

On metricbeat, when the host autodiscover hint is used, and it includes
the port, one of the exposed ports has to match with the one in the
hint. If not, no configuration should be generated. If it is generated,
it will have empty hosts, what would lead to unexpected errors as the
ones seen in #8264.

Fixes #8264

…lastic#12086)

On metricbeat, when the host autodiscover hint is used, and it includes
the port, one of the exposed ports has to match with the one in the
hint. If not, no configuration should be generated. If it is generated,
it will have empty hosts, what would lead to unexpected errors as the
seen in elastic#8264.

(cherry picked from commit cc73643)
@jsoriano jsoriano merged commit aa05f6a into elastic:6.8 May 28, 2019
@jsoriano jsoriano deleted the backport_12086_6.8 branch May 28, 2019 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants