O'Reilly logo

Salt Cookbook by Anirban Saha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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...

  1. 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]
    
  2. On the minion, check if the salt-minion service is running. If not, start it.
  3. 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required