Support #14115
closedUnable to fetch Salt States
Description
Hello,
i installed die Salt-Plugin into foreman with the manual.
The Salt-Keys are listed fine, but when i want to import my written salt states, this error occurs:
ERF12-4701 [ProxyAPI::ProxyException]: Unable to fetch Salt states list ([ProxyAPI::ProxyException]: ERF12-7301 [ProxyAPI::ProxyException]: Unable to fetch Salt environments list ([RestCli...) für Proxy https://foremanserver.domain.de:8443/salt/
After the error is occured one times, the error does not appear for a few minutes. If i click import salt states again, the proxy log only throws :
D, [2016-03-09T11:18:31.778652 #8233] DEBUG -- : close: 10.140.79.170:45199
D, [2016-03-09T11:18:42.971896 #8233] DEBUG -- : accept: 10.140.79.170:45200
D, [2016-03-09T11:18:42.974813 #8233] DEBUG -- : Rack::Handler::WEBrick is invoked.
D, [2016-03-09T11:18:43.094956 #8233] DEBUG -- : close: 10.140.79.170:45200
I got the first error from the online foreman interface because the proxy does not log it into the proxy.log in var log.
Do you know where the error is?
The saltcron.log throws SSL error which i don't understand:
Traceback (most recent call last):
File "/usr/sbin/upload-salt-reports", line 137, in <module>
upload(jobs_to_upload())
File "/usr/sbin/upload-salt-reports", line 100, in upload
cert_file=config[':ssl_cert'])
File "/usr/lib64/python2.7/httplib.py", line 1182, in __init__
context.load_cert_chain(cert_file, key_file)
SSLError: [SSL] PEM lib (_ssl.c:2738)
Thanks,
Lukas