First of all, I know there is already a very similar question here on serverfault, but it doesn't quite answers my problem.
So, my setup is the following: I have one server, running Ubuntu 14.04 LTS and puppet master 3.4.3 with foreman 1.6. The client is a Windows 7 computer running puppet agent 3.7.0.
The automatic runs work fine, I just have trouble to get the Run Puppet
button working. I always get this red overlay with this message:
failed to execute puppetrun: ERF12-4252 [ProxyAPI::ProxyException]: Unable to execute Puppet run ([RestClient::InternalServerError]: 500 Internal Server Error) for proxy https://puppetmaster:8443/puppet
I followed the instructions from the wiki and added on the node the file auth.conf, which did not exist before. I put it to C:\ProgramData\PuppetLabs\puppet\etc\
, where the puppet.conf file resides. I also added an empty namespaceauth.conf to this directory.
On the node and the server I activated listen=true.
I added foreman-proxy to the sudoers file.
I restarted the node service and the puppetmaster several times. This is where all the other postings I found said "now you have a working run puppet button". Except for me it is not working.
The only log entry I could find was in /var/log/foreman-proxy/proxy.log:
E, [2014-10-20T17:50:53.051681 #1119] ERROR -- : Failed puppet run: Check Log files
I checked all log files I could find, but couldn't find any further information as to what this error might be. Edit: added link to wiki 2nd Edit: I also checked the Foreman Error codes, but unfortunately, the code I get doesn't have any information linked to it. (yes, I checked for proxy communication errors - there are none)