Created
May 9, 2016 13:05
-
-
Save silenius/91cfb505841c22210e3be49dd26239db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jcigar@dev:~/ > sudo -u salt salt-key -d sandbox.lan | |
The following keys are going to be deleted: | |
Accepted Keys: | |
sandbox.lan | |
Proceed? [N/y] y | |
Traceback (most recent call last): | |
File "/usr/local/bin/salt-key", line 9, in <module> | |
load_entry_point('salt==2015.8.3', 'console_scripts', 'salt-key')() | |
File "/usr/local/lib/python2.7/site-packages/salt/scripts.py", line 285, in salt_key | |
client.run() | |
File "/usr/local/lib/python2.7/site-packages/salt/cli/key.py", line 32, in run | |
key.run() | |
File "/usr/local/lib/python2.7/site-packages/salt/key.py", line 425, in run | |
self.delete(self.opts['delete']) | |
File "/usr/local/lib/python2.7/site-packages/salt/key.py", line 209, in delete | |
self.key.delete_key(match_dict=matches) | |
File "/usr/local/lib/python2.7/site-packages/salt/key.py", line 829, in delete_key | |
salt.crypt.dropfile(self.opts['cachedir'], self.opts['user']) | |
File "/usr/local/lib/python2.7/site-packages/salt/crypt.py", line 59, in dropfile | |
with salt.utils.fopen(dfn, 'wb+') as fp_: | |
File "/usr/local/lib/python2.7/site-packages/salt/utils/__init__.py", line 1204, in fopen | |
fhandle = open(*args, **kwargs) | |
IOError: [Errno 13] Permission denied: '/var/cache/salt/master/.dfn' | |
jcigar@dev:~/ > sudo -u salt salt-key -d sandbox.lan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment