cloyne / servers

Salt configuration for Cloyne servers.
0 stars 3 forks source link

salt-ssh 'server1' state.highstate #6

Open samuelhsu123 opened 4 years ago

samuelhsu123 commented 4 years ago

I was getting

          ID: states                                                                                                                                                                              
    Function: no.None                                                                                                                                                                             
      Result: False                                                                                                                                                                               
     Comment: No Top file or external nodes data matches found.                                                                                                                                   
     Changes:  

and I added top_file_merging_strategy: merge_all to /config/master to fix this.

I was also getting Failed to create path "/var/log/salt/ssh" - [Errno 13] Permission denied: '/var/log/salt', which stopped happening when I added priv: /path/to/private/key to /config/roster.

mitar commented 4 years ago

I am guessing you have too new salt. Try using something like:

backports-abc==0.5
certifi==2018.1.18
chardet==3.0.4
futures==3.2.0
idna==2.6
Jinja2==2.10
MarkupSafe==1.0
msgpack-python==0.5.1
pycrypto==2.6.1
PyYAML==3.12
pyzmq==16.0.3
requests==2.18.4
salt==2017.7.2
singledispatch==3.4.0.3
six==1.11.0
tornado==4.5.3
urllib3==1.22
mitar commented 4 years ago

You are maybe in the wrong directory.