Issue #2510 has been updated by Brice Figureau.

Robin Bowes wrote:
> I see this in the logs when puppetd client hits puppetmaster:
> 
> [...]

Can you activate --debug --trace on your puppetmaster and try again, then send 
us the full stacktrace and the few bits before it for more context.
Also, provide your apache error log since the client says the error is coming 
from the proxy, which means there might be valuable information there.


----------------------------------------
Bug #2510: First puppetd run doesn't work with mongrel
http://projects.reductivelabs.com/issues/2510

Author: Robin Bowes
Status: Accepted
Priority: Normal
Assigned to: 
Category: plumbing
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.25.0rc1
Keywords: 


Running puppetmaster under mongrel/apache

When I do a clean install of CentOS and try and run puppet, I get this 
traceback:

<pre>
# puppetd --test
info: Creating a new SSL key for test01.private.statcounter.com
warning: peer certificate won't be verified in this SSL session
info: Caching certificate for ca
warning: peer certificate won't be verified in this SSL session
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:53:in `deserialize': 
Error 502 on SERVER: Proxy Error (Net::HTTPError)
        from /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:67:in `find'
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:198:in `find'
        from /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find'
        from /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:175:in `certificate'
        from /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:238:in 
`wait_for_cert'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application/puppetd.rb:243:in 
`run_setup'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:216:in `run'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in 
`exit_on_fail'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:216:in `run'
        from /usr/sbin/puppetd:159
</pre>

If I turn off mongrel, and just use webrick, it works fine.

If I turn mongrel back on and run "pupppetd --test" *after* a successful run 
againet webrick, it works just fine.


-- 
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