I just upgraded our puppetmaster servers from 0.24.4 to 0.25.1rc2 and
configured them to use Passenger. Here's what I am running now:

ruby-irb-1.8.5-5.el5_1.1
httpd-2.2.3-11.el5_1.centos.3
ruby-devel-1.8.5-5.el5_1.1
ruby-augeas-0.3.0-1.el5
httpd-devel-2.2.3-11.el5_1.centos.3
ruby-1.8.5-5.el5_1.1
ruby-libs-1.8.5-5.el5_1.1
puppet-0.25.1rc2-1
ruby-shadow-1.4.1-6
rubygems-0.9.4-1.el5
httpd-devel-2.2.3-11.el5_1.centos.3
augeas-libs-0.5.3-1
puppet-server-0.25.1rc2-1

I am using ruby-enterprise-1.8.7-20090928 with passenger apache module
version 2.2.2 (2.2.5 did not work for me).

Things seem to work ok for the most part. Intermittently, however, I am
seeing these errors log on the master. The same clients don't cause this
at other times. Anyone ever seen this? I'd appreciate the help.

My apache puppetmaster.conf, config.ru, and a puppet manifest snippet
that I think is triggering this is pasted below. 


############ start log entries ############
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]: Using
cached node for <mypuppetclient>
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]:
Fileserver module 'hyperic' not mounted
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[30546]:
Allowing authenticated client <mypuppetclient>(192.168.16.46) access to
fileserver.describe
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[30546]: Using
cached node for <mypuppetclient>
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[30546]:
(mount[hyperic]) Describing /hyperic/plugins/mysql_stats-plugin.jar for
<mypuppetclient>
--
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]: Using
cached node for <mypuppetclient>
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]:
Fileserver module 'hyperic' not mounted
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]: Handling
request: POST /RPC2
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2259]:
(//puppet/Service[puppet]/ensure) ensure changed 'stopped' to 'running'
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2259]: Handling
request: POST /RPC2
--
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]: Using
cached node for <mypuppetclient>
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]:
Fileserver module 'hyperic' not mounted
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2259]: Allowing
authenticated client <mypuppetclient>(192.168.16.46) access to
fileserver.describe
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2259]: Using
cached node for <mypuppetclient>
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2259]:
(mount[hyperic]) Describing /hyperic/plugins/pps-filterstatus-plugin.xml
for <mypuppetclient>
--
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]: Using
cached node for <mypuppetclient>
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]:
Fileserver module 'ssh' not mounted
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]: Handling
request: POST /RPC2
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]: Allowing
authenticated client <mypuppetclient>(192.168.16.46) access to
puppetreports.report
2009-10-24T16:41:19+00:00 <mypuppetserver> puppetmasterd[2874]:
Processing reports store, rrdgraph, log for <mypuppetclient>
############ end log entries ############

############ puppetmaster.conf ############
LoadModule passenger_module
/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/passenger-2.2
.2/ext/apache2/mod_passenger.so
PassengerRoot
/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/passenger-2.2
.2
PassengerRuby /opt/ruby-enterprise-1.8.7-20090928/bin/ruby


## you probably want to tune these settings
PassengerHighPerformance on
PassengerMaxPoolSize 15
PassengerPoolIdleTime 600
## PassengerMaxRequests 1000
PassengerStatThrottleRate 120
RackAutoDetect Off
RailsAutoDetect Off

Listen 8140

<VirtualHost *:8140>
        SSLEngine on
        SSLProtocol -ALL +SSLv3 +TLSv1
        SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP

        SSLCertificateFile
/var/lib/puppet/ssl/certs/<mypuppetserver>.pem
        SSLCertificateKeyFile
/var/lib/puppet/ssl/private_keys/<mypuppetserver>.pem
        SSLCertificateChainFile /var/lib/puppet/ssl/ca/ca_crt.pem
        SSLCACertificateFile    /var/lib/puppet/ssl/ca/ca_crt.pem
        # If Apache complains about invalid signatures on the CRL, you
can try disabling
        # CRL checking by commenting the next line, but this is not
recommended.
#        SSLCARevocationFile     /var/lib/puppet/ssl/ca/ca_crl.pem
        SSLVerifyClient optional
        SSLVerifyDepth  1
        SSLOptions +StdEnvVars

        DocumentRoot /usr/share/puppet/rack/puppetmasterd/public/
        RackBaseURI /
        <Directory /usr/share/puppet/rack/puppetmasterd/>
                Options None
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>
</VirtualHost>
############ end puppetmaster.conf ################

############ start config.ru ############
# a config.ru, for use with every rack-compatible webserver.
# SSL needs to be handled outside this, though.

# if puppet is not in your RUBYLIB:
$:.unshift('/usr/lib/ruby/site_ruby/1.8')

$0 = "puppetmasterd"
require 'puppet'

# if you want debugging:
ARGV << "--debug"

ARGV << "--rack"
require 'puppet/application/puppetmasterd'
# we're usually running inside a Rack::Builder.new {} block,
# therefore we need to call run *here*.
run Puppet::Application[:puppetmasterd].run
############## end config.ru ######################


############## start puppet manifest snippet ###################
class hyperic::server {
    file {
        # alert email templates
        "hq-html_email.gsp":
            path        =>
"/opt/hyperic/server-current/hq-engine/server/default/deploy/hq.ear/aler
tTemplates/html_email.gsp",
            ensure      => present,
            owner       => "hqserver",
            group       => "hqserver",
            mode        => 0664,
            source      =>
"puppet://$servername/hyperic/alertTemplates/html_email.gsp";
    }
}
############## end puppet manifest snippet #####################





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to