Why does my puppetmaster work happily with webrick but not passenger?

140 views
Skip to first unread message

John Florian

unread,
Feb 22, 2014, 2:17:41 PM2/22/14
to puppet...@googlegroups.com
I've long used the built-in webrick server since like the v0.25 days and recently got things serving via passenger just fine.  Then I had some issues with puppetdb-1.6 that got straightened out, but I must have made a mess out of my setup while debugging that problem.  Here's what I see presently with my master using passenger:

# puppet agent --test --noop
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from environment production source(s) puppet://puppet/plugins
Notice: /File[/var/lib/puppet/lib/puppet]: Dependency File[/var/lib/puppet/lib] has failures: true
Warning: /File[/var/lib/puppet/lib/puppet]: Skipping because of failed dependencies
Notice: /File[/var/lib/puppet/lib/puppet/provider]: Dependency File[/var/lib/puppet/lib] has failures: true
Warning: /File[/var/lib/puppet/lib/puppet/provider]: Skipping because of failed dependencies


... and lots more "Skipping because of failed dependencies" and then finishing with:

Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/validate_cmd.rb]: Dependency File[/var/lib/puppet/lib] has failures: true
Warning: /File[/var/lib/puppet/lib/puppet/parser/functions/validate_cmd.rb]: Skipping because of failed dependencies
Info: Loading facts in /etc/puppet/forge_modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in /etc/puppet/forge_modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /etc/puppet/forge_modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /etc/puppet/forge_modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /etc/puppet/forge_modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /etc/puppet/modules/selinux/lib/facter/selinux_simple.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/selinux_simple.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: Error 405 on SERVER: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL /production/report/mymaster.mydomain.org.</p>
</body></html>


For the record, I'm using:
puppetdb-1.6.2-1.fc20.noarch
puppetdb-terminus-1.6.2-1.fc20.noarch
puppet-3.4.3-1.fc20.noarch
puppet-server-3.4.3-1.fc20.noarch
puppetlabs-release-20-10.noarch

All of these are from the puppetlabs repo for Fedora 20.

Any ideas what might be going on?

Felix Frank

unread,
Feb 24, 2014, 5:07:37 AM2/24/14
to puppet...@googlegroups.com
Hi,

On 02/22/2014 08:17 PM, John Florian wrote:
>
> Any ideas what might be going on?

not really, but seeing as you're running passenger, you should really
consult your apache error logs, and any applicable puppet logs on the
master side. More details will be appreciated.

TIA,
Felix
Reply all
Reply to author
Forward
0 new messages