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

Updated host_to_ip to return all the IPs instead of the first one. #37117

Conversation

DmitryKuzmenko
Copy link
Contributor

What does this PR do?

This fixes the bug #36866 where minion gets __master_disconnected right
after connect because '::1' isn't in the list of connected masters that
is ['127.0.0.1'].

What issues does this PR fix or reference?

#36866

New Behavior

Now for 'localhost' master status.master gets a list of master ips that are ['::1', '127.0.0.1'], and checks correctly determines that master '127.0.0.1' is connected.

Tests written?

No

This fixes the bug saltstack#36866 where minion gets __master_disconnected right
after connect because '::1' isn't in the list of connected masters that
is ['127.0.0.1'].
@cachedout
Copy link
Contributor

Nice one!

@rallytime rallytime added the ZZZ[Done]-back-ported-bf RETIRED The pull request has been back-ported to an older branch. label Oct 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ZZZ[Done]-back-ported-bf RETIRED The pull request has been back-ported to an older branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants