Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
salt-ssh should not target wrong minion from roster file as a result of reverse-DNS lookups #48676
Description of Issue
More detail: Having determined the IP address of a minion whose id/hostname has been specified on the command line,
See the Steps to Reproduce Issue, below, for further clarity.
I did not encounter this problem when using Salt 2017.x in the same scenario, so the issue is perhaps new.
Steps to Reproduce Issue
Causing the reverse-DNS for the host’s IP address to resolve to a hostname not in the roster avoids the problem, but is far from ideal.
Thanks for reporting this.
Can you attempt to apply this patch to your setup and see if it fixes the problem?