Skip to content

Instantly share code, notes, and snippets.

@mklauber
Created August 15, 2014 19:05
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 mklauber/c9a5baec9a7f6f42cca0 to your computer and use it in GitHub Desktop.
Save mklauber/c9a5baec9a7f6f42cca0 to your computer and use it in GitHub Desktop.
salt-minion log
2014-08-15 19:01:43,462 [salt.crypt ][ERROR ] The master failed to decrypt the random minion token
2014-08-15 19:01:43,463 [salt.crypt ][CRITICAL] The Salt Master server's public key did not authenticate!
The master may need to be updated if it is a version of Salt lower than 2014.1.10, or
If you are confident that you are connecting to a valid Salt Master, then remove the master public key and restart the Salt Minion.
The master public key can be found at:
/etc/salt/pki/minion/minion_master.pub
2014-08-15 19:02:36,365 [salt.log.setup ][ERROR ] An un-handled exception was caught by salt's global exception handler:
RSAError: invalid header
Traceback (most recent call last):
File "/usr/bin/salt-minion", line 14, in <module>
salt_minion()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 35, in salt_minion
minion.start()
File "/usr/lib/python2.7/dist-packages/salt/__init__.py", line 221, in start
self.prepare()
File "/usr/lib/python2.7/dist-packages/salt/__init__.py", line 209, in prepare
self.minion = salt.minion.Minion(self.config)
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 548, in __init__
self.authenticate(timeout, safe)
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 1073, in authenticate
creds = auth.sign_in(timeout, safe)
File "/usr/lib/python2.7/dist-packages/salt/crypt.py", line 401, in sign_in
auth['aes'] = self.verify_master(payload)
File "/usr/lib/python2.7/dist-packages/salt/crypt.py", line 330, in verify_master
aes, token = self.decrypt_aes(payload, False)
File "/usr/lib/python2.7/dist-packages/salt/crypt.py", line 287, in decrypt_aes
m_digest = mkey.public_decrypt(payload['sig'], 5)
File "/usr/lib/python2.7/dist-packages/M2Crypto/RSA.py", line 55, in public_decrypt
return m2.rsa_public_decrypt(self.rsa, data, padding)
RSAError: invalid header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment