Project

General

Profile

Actions

Support #11433

closed

problems with salt-integration in foreman - problems with salt-api

Added by Lukas Müller over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Salt - Bug #11360: Import Salt StatesClosed08/14/2015Actions
Actions #1

Updated by Lukas Müller over 9 years ago

Actions #2

Updated by Dominic Cleal over 9 years ago

  • Project changed from Foreman to Salt
  • Category deleted (Plugin integration)
Actions #3

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

Actions #4

Updated by Lukas Müller over 9 years ago

Fixed with adding foreman-proxy and saltuser into the sudoers file.

Can be closed.

Actions #5

Updated by Dominic Cleal over 9 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF