Ask Your Question

puppet hang on 100%

asked 2013-06-10 20:23:36 -0500

timfallkrux gravatar image

updated 2013-06-11 13:34:58 -0500

We have recently been transitioning from our own puppet apt module to the puppetlabs maintained one, but have run into an interesting problem. Whenever puppet apply gets the point in its run level that contains apt calls, it hangs on 100% cpu usage for as long as we let it until we manually kill it. Any ideas about what might be causing this?

We use puppet 2.7.20 on ubuntu 10.10

Puppet call:

My puppet call is:

#!/bin/sh sudo puppet apply --verbose --debug --modulepath="/home/host_home/Code/puppet-manifests/env/development/krux-modules:/home/host_home/Code/puppet-manifests/env/development ... (more)

edit retag flag offensive close merge delete


Post your code, please. Specifically, what parameters you're passing to the module, the version of the module that you're using and the output from `puppet agent -td`.

Ancillas gravatar imageAncillas ( 2013-06-10 22:51:07 -0500 )edit

I would be happy to do that, but we have a *lot* of code. Also, the debug logs would be quite extensive. I've also posted the question here (http ...(more)

timfallkrux gravatar imagetimfallkrux ( 2013-06-11 10:49:33 -0500 )edit

Do the strace like someone on the other question suggested. Additionally Puppet 2.7 does not work well with Ruby 1.9.x, use 1.8.7. Ubuntu 10.10 ...(more)

ramindk gravatar imageramindk ( 2013-06-11 12:48:10 -0500 )edit

I checked your serverfault post, but it doesn't indicate which version of the apt module you're using, and what arguments you're using.

Ancillas gravatar imageAncillas ( 2013-06-11 12:48:43 -0500 )edit

The strace output is in the other post. I'm using the current apt module listed (1.1.0). I've also tried running it with a plain apt.pp ...(more)

timfallkrux gravatar imagetimfallkrux ( 2013-06-11 13:09:58 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-05-12 03:58:08 -0500

wondering if this is related to an old bug? ( - be interesting to see if you have listen=true in puppet.conf? also does a

 echo "" | nc localhost 8139 fix the hang?

apologies as i may be barking up the wrong tree here but seems similar..

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-06-10 20:23:36 -0500

Seen: 636 times

Last updated: May 12 '15