Issue #2889 has been updated by konrad rzentarzewski.

seems to be similiar problem to (unanswered) 
http://markmail.org/message/ltinzpv63l7hv6ll#query:puppetrun%20Overriding%20with%20cert%20name+page:1+mid:kma4cw7sautesjnd+state:results

or completely unrelated.

it's certain that "500 Internal Server Error" is not the best feedback from 
client. it might be authentication issue, framework bug or infrastructure 
problem, with no distinction on error received from client (puppetd). 
----------------------------------------
Bug #2889: puppetrun gives error 500 with no explanation
http://projects.reductivelabs.com/issues/2889

Author: Alex Urbanowicz
Status: Unreviewed
Priority: High
Assigned to: 
Category: 
Target version: 
Affected version: 0.24.8
Keywords: puppetrun 500
Branch: 


Hello!

We have problem using puppetrun:

[r...@stonka alex]# puppetrun --trace --debug --host hostname.fqdn
debug: Parsing /etc/puppet/puppet.conf
debug: Puppet::Network::Client::Runner: defining puppetrunner.run
Triggering hostname.fqdn
debug: Calling puppetrunner.run
err: Could not call puppetrunner.run: #<RuntimeError: HTTP-Error: 500 Internal 
Server Error >
Host hostname.fqdn failed: HTTP-Error: 500 Internal Server Error 
hostname.fqdn finished with exit code 2
Failed: hostname.fqdn

on the puppet the --trace --debug --verbose log looks as follows:

Dec  4 18:06:57 hostname puppetd[30452]: (access[fileserver]) allowing 
puppet.fqdn access

namespaceauth.conf contents is:

[fileserver]
    allow puppet.fqdn

[puppetmaster]
    allow puppet.fqdn

[puppetrunner]
    allow *.fqdn

[puppetbucket]
    allow *.fqdn

[puppetreports]
    allow puppet.fqdn

[resource]
    allow puppet.fqdn

Strace gives unconclusive results. I suspect the problem is somewhat related to 
the network setup (the puppet I try to trigger has no access to reverse dns of 
the fqdn domain, and uses /etc/hosts lookups) but I found no way to confirm 
this.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--

You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.


Reply via email to