Apparently I wasn't generating new client certs/private_keys correctly
somehow.
I've attempted to capture that knowledge in a shell script, so that
part of the procedure is repeatable/consistent/correct...
Apologies for the noise to the list... :-(
Don
------------
I am having troubles with getting puppetd running on some of my
Solaris10 update 7 (05/2009) boxes.
I use Jumpstart to build my servers, so the installation is
repeatable, consistent, and automated, so it is especially confusing
that some boxes work, and others don't.
I can ssh into both of these machines, so the host certs should be OK.
As part of my installation, I download the ca.pem file for the
puppetmaster, and the private key for the machine.
The private keys were generated on the puppetmaster machine, which runs
puppetversion => 0.24.4 on OpenBSD.
Any ideas about what I am doing wrong, and/or things I could do to
debug this problem?
Thanks,
Don
Machine that doesn't work:
=====================
debug: Creating default schedules
debug: Failed to load library 'shadow' for feature 'libshadow'
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[main]/
File[/var/opt/csw/puppet/run]: Autorequiring File[/var/opt/csw/puppet]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[main]/
File[/etc/opt/csw/puppet/ssl]: Autorequiring File[/etc/opt/csw/puppet]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[ssl]/File[/
etc/opt/csw/puppet/ssl/certs]: Autorequiring File[/etc/opt/csw/puppet/
ssl]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[ssl]/File[/
etc/opt/csw/puppet/ssl/certs/nastest.clark-communications.com.pem]:
Autorequiring File[/etc/opt/csw/puppet/ssl/certs]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[main]/
File[/var/opt/csw/puppet/state]: Autorequiring File[/var/opt/csw/puppet]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[ssl]/File[/
etc/opt/csw/puppet/ssl/public_keys]: Autorequiring File[/etc/opt/csw/
puppet/ssl]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[ssl]/File[/
etc/opt/csw/puppet/ssl/private_keys]: Autorequiring File[/etc/opt/csw/
puppet/ssl]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[ssl]/File[/
etc/opt/csw/puppet/ssl/private]: Autorequiring File[/etc/opt/csw/
puppet/ssl]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[main]/
File[/var/opt/csw/puppet/lib]: Autorequiring File[/var/opt/csw/puppet]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[main]/
File[/var/opt/csw/puppet/log]: Autorequiring File[/var/opt/csw/puppet]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[ssl]/File[/
etc/opt/csw/puppet/ssl/private_keys/nastest.clark-
communications.com.pem]: Autorequiring File[/etc/opt/csw/puppet/ssl/
private_keys]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[ssl]/File[/
etc/opt/csw/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/opt/csw/
puppet/ssl/certs]
debug: /Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[puppetd]/
File[/etc/opt/csw/puppet/puppet.conf]: Autorequiring File[/etc/opt/csw/
puppet]
debug: Finishing transaction 69323770 with 0 changes
/opt/csw/lib/ruby/site_ruby/1.8/puppet/sslcertificates/support.rb:
36:in `read_cert': Could not read hostcert: header too long
(Puppet::SSLCertificates::Support::InvalidCertificate)
from /opt/csw/lib/ruby/site_ruby/1.8/puppet/network/
http_pool.rb:34:in `read_cert'
from /opt/csw/lib/ruby/site_ruby/1.8/puppet/network/
http_pool.rb:47:in `cert_setup'
from /opt/csw/lib/ruby/site_ruby/1.8/puppet/network/
http_pool.rb:101:in `http_instance'
from /opt/csw/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/
client.rb:186:in `initialize'
from /opt/csw/lib/ruby/site_ruby/1.8/puppet/network/client.rb:
94:in `new'
from /opt/csw/lib/ruby/site_ruby/1.8/puppet/network/client.rb:
94:in `initialize'
from /opt/csw/lib/ruby/site_ruby/1.8/puppet/network/client/
master.rb:198:in `initialize'
from /opt/csw/bin/puppetd:328:in `new'
from /opt/csw/bin/puppetd:328
# /opt/csw/bin/facter
facterversion => 1.5.4
kernel => SunOS
kernelrelease => 5.10
kernelversion => Generic_139556-08
operatingsystem => Solaris
operatingsystemrelease => 5.10
puppetversion => 0.24.8
rubysitedir => /opt/csw/lib/ruby/site_ruby/1.8
rubyversion => 1.8.7
Machine that works:
================
# /opt/csw/bin/facter
facterversion => 1.5.4
kernel => SunOS
kernelrelease => 5.10
kernelversion => Generic_139556-08
operatingsystem => Solaris
operatingsystemrelease => 5.10
puppetversion => 0.24.8
rubysitedir => /opt/csw/lib/ruby/site_ruby/1.8
rubyversion => 1.8.7
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---