Masters can ping every minion (using test.ping), except for themselves
search cancel

Masters can ping every minion (using test.ping), except for themselves

book

Article ID: 406199

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • When logged into a salt-master and the command "salt <master minion id> test.ping" is run, the command fails.
  • If the same command is run specifying a different minion id, it runs properly. 

Environment

All supported salt-masters and salt-minions

Cause

This was caused when a change was made to the interface setting in /etc/salt/master specifically the interface configuration from 0.0.0.0 to the IP of the master. Also, in the /etc/salt/minion config on the master, the minion was set to talk to the master via localhost. Because of the change to the interface setting, the master was no longer listening on localhost.

Resolution

Update the master setting in /etc/salt/minion to point to the IP of the salt master, not localhost.