Edward Bailey
2009-May-05 03:04 UTC
[Puppet Users] new puppet server using passenger and having issues
Hello
I am working on migrating from a working mongrel based puppet server to a
passenger based puppet server and I need some help. I am still getting some
errors that I can''t explain and I hope someone knows what I am doing
wrong.
I have installed the following to setup passenger
gem list
*** LOCAL GEMS ***
fastthread (1.0.5)
Optimized replacement for thread.rb primitives
passenger (2.1.2)
Apache module for Ruby on Rails support.
rake (0.8.1)
Ruby based make-like utility.
I am using the following puppet rpms with 64bit RHEL5.2
rpm -qa | grep puppet
puppet-0.24.6-1.el5
puppet-server-0.24.6-1.el5
This is my puppet.conf
[main]
vardir = /var/lib/puppet
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
factpath = /opt/puppet/facter
modulepath = /opt/puppet/modules
server = xxxxx-dev-puppet.xxx.com
certname = xxxxx-dev-puppet.xxx.com
pluginsync = true
factsync = true
[puppetmasterd]
certname = xxxxx-dev-puppet.xxx.com
reports = log,store
I followed the install directions on the wiki and ran puppetmaster before I
started passenger up and I also did some testing to make sure puppetmaster
works with this config.
When I do startup passenget and run the first instance of puppetd I get the
following
May 4 22:50:40 atl01osd101 puppetd[30102]: Reopening log files
May 4 22:50:40 atl01osd101 puppetd[30102]: Starting Puppet client version
0.24.6
May 4 22:50:40 atl01osd101 puppetd[30102]: Could not call fileserver.list:
#<RuntimeError: HTTP-Error: 500 Internal Server Error>
May 4 22:50:40 atl01osd101 puppetd[30102]: (/File[/var/lib/puppet/lib])
Failed to generate additional resources during transaction: HTTP-Error: 500
Internal Server Error
May 4 22:50:40 atl01osd101 puppetd[30102]: Could not call
fileserver.describe: #<RuntimeError: HTTP-Error: 500 Internal Server
Error>
May 4 22:50:40 atl01osd101 puppetd[30102]: (/File[/var/lib/puppet/lib])
Failed to retrieve current state of resource: HTTP-Error: 500 Internal
Server Error Could not describe /plugins: HTTP-Error: 500 Internal Server
Error
May 4 22:50:40 atl01osd101 puppetd[30102]: Could not call fileserver.list:
#<RuntimeError: HTTP-Error: 500 Internal Server Error>
May 4 22:50:40 atl01osd101 puppetd[30102]: (/File[/var/lib/puppet/facts])
Failed to generate additional resources during transaction: HTTP-Error: 500
Internal Server Error
May 4 22:50:40 atl01osd101 puppetd[30102]: Could not call
fileserver.describe: #<RuntimeError: HTTP-Error: 500 Internal Server
Error>
May 4 22:50:40 atl01osd101 puppetd[30102]: (/File[/var/lib/puppet/facts])
Failed to retrieve current state of resource: HTTP-Error: 500 Internal
Server Error Could not describe /facts: HTTP-Error: 500 Internal Server
Error
May 4 22:50:41 atl01osd101 puppetd[30102]: Could not call
puppetmaster.getconfig: #<RuntimeError: HTTP-Error: 500 Internal Server
Error>
May 4 22:50:41 atl01osd101 puppetd[30102]: Could not retrieve catalog:
HTTP-Error: 500 Internal Server Error
May 4 22:50:41 atl01osd101 puppetd[30102]: Starting catalog run
May 4 22:50:41 atl01osd101 puppetd[30102]:
(//Node[default]/test_class/File[/tmp/testfile]/ensure) created
May 4 22:50:41 atl01osd101 puppetd[30102]: Finished catalog run in 0.03
seconds
Notice that even with the errors the catalog still runs and the default
class executes. Any idea what is generating these errors? I dont understand
where some of the paths are coming from since these paths are not in my
puppet.conf. What is overriding the variables I have already set?
Thanks in advance for any ideas.
Ed
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---