sudo salt-call state.highstate
[CRITICAL] The Salt Master has rejected this minion's public key!
To repair this issue, 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 out the keys. The Salt Minion will now exit.
Thx in advance for any assistance given.
sudo salt-key --list-all
sudo salt-key --delete <sensor key name>
The following keys are going to be deleted:
Unaccepted Keys:
<sensor name>
Proceed? [N/y] y
Key for minion <sensor name> deleted.
sudo salt-key --list-all
After running the list all command after attempting the deletion, the sensor key was still listed under the Unaccepted section.
sudo service salt-minion status
salt-minion stop/waiting
sudo service salt-minion start
salt-minion start/running, process 25173
sudo salt '*' state.highstate
[ERROR ] Unable to connect to the publisher! You do not have permissions to access /var/run/salt/master
Failed to connect to the Master, is the Salt Master running?
From the master server when I run sudo salt '*' test.ping, it came back with the sensor in question as True.
The sensor is only listed once in the /opt/onionsalt/salt/top.sls
Thx.