Skip to content

Instantly share code, notes, and snippets.

@Slimmons
Last active June 13, 2016 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Slimmons/1797c41099be134455e7ace08173e75d to your computer and use it in GitHub Desktop.
Save Slimmons/1797c41099be134455e7ace08173e75d to your computer and use it in GitHub Desktop.
I'm using centos7 as a master for the first time, and ubuntu 14.04 minions.
Both have version 2016.3.0
I can't get the minion to connect to the master.
I've opened ports 4505-4506 on the master, shown by this command
firewall-cmd --zone=public --list-ports
4505-4506/tcp
when I restart the minion, salt-key -L on the master still shows nothing.
When I run salt-minion -l debug, I get this.
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Configuration file path: /etc/salt/minion
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[INFO ] Setting up the Salt Minion "firstminion"
[ERROR ] Salt minion is already running. Exiting.
None
[INFO ] The salt minion is shutting down..
[INFO ] The Salt Minion is shut down
I did disable selinux, shown below
sestatus
SELinux status: disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment