You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All salt components are the latest version of 2018.
At this point, salt works fine with no errors, tested using various salt commands and saw no issues in logs.
Here is where it comes apart.....
Installed DeepSea after cloning from GitHub as instructed.
salt master immediate fails and constantly logs this in /var/log/salt/master...
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/salt/utils/process.py", line 747, in _run
return self._original_run()
File "/usr/lib/python3.6/site-packages/salt/master.py", line 223, in run
salt.daemons.masterapi.clean_old_jobs(self.opts)
File "/usr/lib/python3.6/site-packages/salt/daemons/masterapi.py", line 168, in clean_old_jobs
rend=False,
File "/usr/lib/python3.6/site-packages/salt/minion.py", line 868, in init
self.opts['grains'] = salt.loader.grains(opts)
File "/usr/lib/python3.6/site-packages/salt/loader.py", line 712, in grains
default_include, opts['conf_file'], verbose=False
File "/usr/lib/python3.6/site-packages/salt/config/init.py", line 2254, in include_config
opts = read_conf_file(fn)
File "/usr/lib/python3.6/site-packages/salt/config/init.py", line 2110, in _read_conf_file
with salt.utils.files.fopen(path, 'r') as conf_file:
File "/usr/lib/python3.6/site-packages/salt/utils/files.py", line 366, in fopen
f_handle = open(*args, **kwargs) # pylint: disable=resource-leakage PermissionError: [Errno 13] Permission denied: '/etc/salt/master.d/eauth.conf'
File permissions did not seem to change from before DeepSea install.
salt:/etc/salt # ls -l
total 96
-rw-r----- 1 root salt 51390 Jun 12 04:17 master
drwxr-xr-x 1 root salt 150 Jul 7 12:28 master.d
-rw-r----- 1 root root 35984 Mar 28 15:22 minion
drwxr-x--- 1 root root 28 Jul 7 11:29 minion.d
-rw-r--r-- 1 root root 17 Jul 7 11:27 minion_id
drwxr-x--- 1 root salt 24 Jul 7 11:24 pki
-rw-r----- 1 root salt 344 Mar 28 15:22 roster
The contents of
/etc/salt/master.d/eauth.conf
external_auth:
sharedsecret:
admin:
- .*
- '@runner'
- '@wheel'
Even restarting services or rebooting has no effect.
The text was updated successfully, but these errors were encountered:
Description of Issue/Question###
Logging in with root user to do all this.
Installed OpenSUSE Leap 15 and used zypper up and rebooted
Installed zypper salt-master
Installed zypper salt-minion
Installed zypper salt-api
Added all salt-keys
All salt components are the latest version of 2018.
At this point, salt works fine with no errors, tested using various salt commands and saw no issues in logs.
Here is where it comes apart.....
Installed DeepSea after cloning from GitHub as instructed.
salt master immediate fails and constantly logs this in /var/log/salt/master...
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/salt/utils/process.py", line 747, in _run
return self._original_run()
File "/usr/lib/python3.6/site-packages/salt/master.py", line 223, in run
salt.daemons.masterapi.clean_old_jobs(self.opts)
File "/usr/lib/python3.6/site-packages/salt/daemons/masterapi.py", line 168, in clean_old_jobs
rend=False,
File "/usr/lib/python3.6/site-packages/salt/minion.py", line 868, in init
self.opts['grains'] = salt.loader.grains(opts)
File "/usr/lib/python3.6/site-packages/salt/loader.py", line 712, in grains
default_include, opts['conf_file'], verbose=False
File "/usr/lib/python3.6/site-packages/salt/config/init.py", line 2254, in include_config
opts = read_conf_file(fn)
File "/usr/lib/python3.6/site-packages/salt/config/init.py", line 2110, in _read_conf_file
with salt.utils.files.fopen(path, 'r') as conf_file:
File "/usr/lib/python3.6/site-packages/salt/utils/files.py", line 366, in fopen
f_handle = open(*args, **kwargs) # pylint: disable=resource-leakage
PermissionError: [Errno 13] Permission denied: '/etc/salt/master.d/eauth.conf'
File permissions did not seem to change from before DeepSea install.
salt:/etc/salt # ls -l
total 96
-rw-r----- 1 root salt 51390 Jun 12 04:17 master
drwxr-xr-x 1 root salt 150 Jul 7 12:28 master.d
-rw-r----- 1 root root 35984 Mar 28 15:22 minion
drwxr-x--- 1 root root 28 Jul 7 11:29 minion.d
-rw-r--r-- 1 root root 17 Jul 7 11:27 minion_id
drwxr-x--- 1 root salt 24 Jul 7 11:24 pki
-rw-r----- 1 root salt 344 Mar 28 15:22 roster
The contents of
/etc/salt/master.d/eauth.conf
external_auth:
sharedsecret:
admin:
- .*
- '@runner'
- '@wheel'
Even restarting services or rebooting has no effect.
The text was updated successfully, but these errors were encountered: