Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Salt Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Salt Cookbook

Salt Cookbook

By : Anirban Saha
3.5 (2)
close
close
Salt Cookbook

Salt Cookbook

3.5 (2)
By: Anirban Saha

Overview of this book

If you are a professional associated with system and infrastructure management, looking at automated infrastructure and deployments, then this book is for you. No prior experience of Salt is required.
Table of Contents (13 chapters)
close
close
12
Index

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 Master has rejected this minion's public key!
    
  4. To repair this issue, either delete the public key for this minion on the Salt master and restart this minion, or restart the Salt master in open mode to clean...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY