>
> Damn.  Well, at least we eliminated one possible cause.  Is there any
> chance you can run with `--debug` enabled on one of the failed
> machines, and see if that points to the right place?  Otherwise we
> have to start to get into some fairly heavy ways to figure out what is
> going on.
>

OK I'm now running it with --debug into separate log files, to compare a
working and non-working runs. Unfortunately the hung Puppet doesn't seem to
reveal anything interesting in the logs. A working puppet run looks like
this:

[..stuff..]
debug: Finishing transaction 70131030874760
debug: Loaded state in 0.01 seconds
info: Retrieving plugin
debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml;
using pson
debug: Using cached certificate for ca
debug: Using cached certificate for mtsldrp118.sirca.org.au
debug: Using cached certificate_revocation_list for ca
debug: Finishing transaction 70131030519320
info: Loading facts in /var/lib/puppet/lib/facter/server_class.rb
[...more custom facts loading...]
debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml;
using pson
debug: Puppet::Type::Package::ProviderRpm: Executing '/bin/rpm --version'
debug: Puppet::Type::Package::ProviderAptrpm: Executing '/bin/rpm -ql rpm'
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm --version'
[..etc..]

A broken Puppet run shows:

[..stuff..]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring
File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_data]: Autorequiring
File[/var/lib/puppet]
debug: Finishing transaction 69910666048880
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/private]: Autorequiring
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring
File[/var/lib/puppet/ssl/certs]
debug: Finishing transaction 69910666553940
debug: Using cached certificate for ca
debug: Using cached certificate for puppetclient.mydomain
debug: Finishing transaction 69910665891720
debug: Loaded state in 0.01 seconds
info: Retrieving plugin
debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml;
using pson
debug: Using cached certificate for ca
debug: Using cached certificate for puppetclient.mydomain
debug: Using cached certificate_revocation_list for ca
debug: Finishing transaction 69910665535980

That's it. Nothing else in the output. Strace on the puppetd process shows
repetitions of what I pasted in an earlier email:

select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
gettimeofday({1328767567, 900875}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1328767567, 901663}, NULL) = 0

Would appreciate any suggestions you have on this.

Regards
Gonzalo

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