Troubleshooting the Salt minion
Not only the Salt master but also the Salt minions can face a lot of problems. In this recipe, you will learn how to determine the problems with Salt minions and the procedures to troubleshoot and solve them.
How to do it...
- Run the following command from the Salt master:
[root@salt-master ~]# salt -vv 'salt-minion' test.ping Executing job with jid 20150220033703911853 ------------------------------------------- salt-minion: Minion did not return. [Not connected]
- On the minion, check if the
salt-minion
service is running. If not, start it. - If the preceding issue still persists, check the log file on the minion:
[root@salt-minion ~]# cat /var/log/salt/minion 2015-02-20 02:40:44,160 [salt.crypt ][CRITICAL] The Salt ...
Get Salt Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.