Support #11433
closedproblems with salt-integration in foreman - problems with salt-api
Description
Hello,
I installed Foreman and the Salt-Integration with the offical instructions of the foreman-documentation. If I want to import my states or my invironment i receive the following error code:
ProxyAPI::ProxyException
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://voss-centos1.bafg.de:8443/salt/
app/controllers/concerns/application_shared.rb:13:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'
All services are running (foreman, foreman-proxy, salt-master, salt-api, foreman-tasks)
The user, executing the software is root.
Updated by Lukas Müller over 9 years ago
- Related to Bug #11360: Import Salt States added
Updated by Dominic Cleal over 9 years ago
- Project changed from Foreman to Salt
- Category deleted (
Plugin integration)
Updated by Lukas Müller over 9 years ago
Proxy-Log when trying to import the salt-states:
E, [2015-08-19T15:45:25.535897 #1596] ERROR -- : Failed to list environments: getaddrinfo: Name or service not known
192.168.10.90 - - [19/Aug/2015 15:45:25] "GET /salt/environments HTTP/1.1" 406 67 0.0025
Updated by Lukas Müller over 9 years ago
Fixed with adding foreman-proxy and saltuser into the sudoers file.
Can be closed.