On Wed, Mar 16, 2011 at 20:16, Matt Wise <w...@wiredgeek.net> wrote:

> I've got a handful of nodes (3?) out of about 400 that are giving me grief... 
> puppet will run either manually or in the service mode. However, in the 
> service mode the puppet process dies after an hour or so. I got an strace of 
> the failure:
>
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> read(8, "", 4096)                       = 0
> rt_sigaction(SIGPIPE, {0x1, [], SA_RESTORER, 0x31af00eb10}, {0x31af88c700, 
> [], SA_RESTORER|SA_RESTART, 0x31af00eb10}, 8) = 0
> write(2, "ruby: ../../../libraries/libldap"..., 98ruby: 
> ../../../libraries/libldap/result.c:113: ldap_result: Assertion `ld != ((void 
> *)0)' failed.
> ) = 98
> rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
> write(4, ":XMLRPC::WEBrickServlet:0x2afa17"..., 495) = 495
> tgkill(1267, 1267, SIGABRT)             = 0
> --- SIGABRT (Aborted) @ 0 (0) ---
> +++ killed by SIGABRT (core dumped) +++
> [root@bastion100 ~]#
>
> I'm running Puppet 2.6.5 on CentOS 5.5 x86_64... any thoughts?

Something is making libldap unhappy, which is being used by Ruby, used
in turn by Puppet.  Which triggers the unfortunate error handling
behaviour of "abort the entire process now!!!" that I just *love* from
libraries I depend on.

So, I would go hunting for details about what causes that particular
assertion to fire in the LDAP library you are using.  My guess would
be that there is a bug in there, tickled by some particular data set,
that those hosts hit, and that a newer release would probably fix it.

Other that turning off LDAP in the Puppet code, there isn't likely
much we can do about it.

Daniel
-- 
⎋ Puppet Labs Developer – http://puppetlabs.com
✉ Daniel Pittman <dan...@puppetlabs.com>
✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775
♲ Made with 100 percent post-consumer electrons

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