saltstack/salt — Issue #442: "salt.exceptions.SaltClientError: Failed to read in the salt root key"
Author: cedwards
Created: 2012-01-06 06:30:53+00:00
State: open

I realize the error below is due to lacking root privileges, but I think something better than a Traceback to report that would be much cleaner..

[produced using latest git on Arch]

[cedwards@claire arch]$ salt -G 'os:Arch' test.ping
Traceback (most recent call last):
File "/usr/bin/salt", line 18, in
main()
File "/usr/bin/salt", line 14, in main
client.run()
File "/usr/lib/python2.7/site-packages/salt/cli/__init__.py", line 204, in run
local = salt.client.LocalClient(self.opts['conf_file'])
File "/usr/lib/python2.7/site-packages/salt/client.py", line 69, in __init__
self.key = self.__read_master_key()
File "/usr/lib/python2.7/site-packages/salt/client.py", line 80, in __read_master_key
raise SaltClientError('Failed to read in the salt root key')
salt.exceptions.SaltClientError: Failed to read in the salt root key