Troubleshooting Calamari is sometimes very tricky. In this recipe, I have collected some recipes that will help you troubleshoot your Calamari environment.
Check if the Calamari server, that is, the salt-master, could reach salt-minions:
# salt '*' test.ping
Check if salt-master can query the Ceph cluster and get cluster information:
# salt '*' ceph.get_heartbeats output
Check if the salt-minion node (Ceph cluster node) could reach the salt-master:
# salt-minion -l debug
Salt-minion throws an error, The Salt Master server's public key did not authenticate!, under the
salt-minion
log file, that is,/var/log/salt
.To solve this problem, we need to delete the
minion
salt-key as well as the master public key and recreate both of them using the following commands:# rm -rf /etc/salt/pki/minion/minion_master.pub # systemctl stop salt-minion
Now, perform the following set of steps:
On salt-master, delete the minion key:
# salt-key -L # slat-key -D <minion name...