Re: [Puppet Users] Intermittent freeze on select when running standalone

57 views
Skip to first unread message

Joe Topjian

unread,
Jul 26, 2012, 5:46:00 PM7/26/12
to puppet...@googlegroups.com
And why I cannot find anyone else with the same issue.

This sounds very similar, if not the same issue, that I have run into many times before.

It happens during a simple "puppet apply". I always run apply with --verbose, and since there is no output at all, I figure the command has just hung.

Similarly, running strace on the process results in an infinite output of select.

ctrl-c does not kill the process - I have to kill the PID from another terminal.

I cannot reproduce this issue at will -- it seems to happen randomly.

Thanks,
Joe

--
Joe Topjian
Systems Administrator
Cybera Inc.


Cybera is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta, through the use of cyberinfrastructure.

david c

unread,
Jul 29, 2012, 6:28:01 PM7/29/12
to puppet...@googlegroups.com
So it looks (without an in depth comparison) to be this bug in the bug tracking tool.
So maybe this is already solved. Just need to wait* for the 2.7.12 or later version of pupet to make it to the debian packages for Ubuntu then I should be able to test.

*yes, I'm being lazy.

Though it looks like it's quite a few versions behind, with current latest being 2.7.18, so maybe I'll have to install it the hard way, or work out how to install the previous package, or keep on with "kill -9" for now... sigh.

Joe Topjian

unread,
Jul 29, 2012, 6:54:24 PM7/29/12
to puppet...@googlegroups.com
Hi David,

On Sun, Jul 29, 2012 at 4:28 PM, david c <david...@gmail.com> wrote:
So it looks (without an in depth comparison) to be this bug in the bug tracking tool.

Indeed this is it. Thank you for the link.
 
So maybe this is already solved. Just need to wait* for the 2.7.12 or later version of pupet to make it to the debian packages for Ubuntu then I should be able to test.

It's very disappointing / frustrating that Ubuntu LTS stocks 2.7.11 by default. :/
 

Thanks,
Joe

Christopher Wood

unread,
Jul 29, 2012, 7:39:20 PM7/29/12
to puppet...@googlegroups.com
(inline)

On Sun, Jul 29, 2012 at 04:54:24PM -0600, Joe Topjian wrote:
> Hi David,
>
> On Sun, Jul 29, 2012 at 4:28 PM, david c <[1]david...@gmail.com> wrote:
>
> So it looks (without an in depth comparison) to be this bug in the bug
> tracking tool.
> [2]http://projects.puppetlabs.com/issues/13038
>
> Indeed this is it. Thank you for the link.
> �
>
> So maybe this is already solved. Just need to wait* for the 2.7.12 or
> later version of pupet�to make it to the debian packages for Ubuntu then
> I should be able to test.
>
> It's very disappointing / frustrating that Ubuntu LTS stocks 2.7.11 by
> default. :/

I didn't have any difficulty replacing the version in Ubuntu 10.04 with the version in Debian Squeeze. (Albeit that I rebuilt the package from the source deb.) It helped me get "puppet kick" going everywhere.

> �
> Thanks,
> Joe
> --
> Joe Topjian
> Systems Administrator
> Cybera Inc.
> [3]www.cybera.ca
> Cybera�is a not-for-profit organization that�works to spur and support
> innovation, for the�economic benefit of Alberta, through the use
> of�cyberinfrastructure.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
> References
>
> Visible links
> 1. mailto:david...@gmail.com
> 2. http://projects.puppetlabs.com/issues/13038
> 3. http://www.cybera.ca/

Joe Topjian

unread,
Jul 29, 2012, 8:17:18 PM7/29/12
to puppet...@googlegroups.com
Hi Christopher,
 
I didn't have any difficulty replacing the version in Ubuntu 10.04 with the version in Debian Squeeze. (Albeit that I rebuilt the package from the source deb.) It helped me get "puppet kick" going everywhere.

Right. I did not mean that it's difficult to replace the stock package. I'm more frustrated at the extra step needed to upgrade the stock package given that 12.04 is the latest version of Ubuntu + it's an LTS release. 

This means that administrators will either have a special step to upgrade the stock version of puppet (and then maintain that non-stock version from there on out) or will have to put up with the bug mentioned in this thread as well as miss out on built-in puppet module support.

All of which would not be necessary if 12.04 just shipped with 2.7.12+.

The comment was more whining on my part.

Thanks,
Joe

--
Joe Topjian
Systems Administrator
Cybera Inc.

David C

unread,
Oct 10, 2012, 10:40:07 AM10/10/12
to puppet...@googlegroups.com
Well working round the issue turned out to be quite painless really. To use the latest release:

wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb
sudo dpkg -i puppetlabs-release-precise.deb
sudo apt-get update
sudo apt-get install puppet


With similar for the puppet master node too.

wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb
sudo dpkg -i puppetlabs-release-precise.deb
sudo apt-get update
sudo apt-get install puppetmaster



David.

Reply all
Reply to author
Forward
0 new messages