Re: [Puppet Users] Re: Puppet + OpenVZ

2010-08-10 Thread Rein Henrichs
Excerpts from Matthew Cluver's message of Tue Aug 10 12:59:51 -0700 2010:
> I'm not sure if you've seen the message on github, I wanted to respond
> here to make sure that you'd seen it. I've tested and confirmed that
> the patch Kai submitted will work correctly moving forward.

Thanks Matt. I'm merging the ticket branch into next and marking the
ticket Ready for Check-in, meaning it will go into master and then an
upcoming release, possibly 1.5.8, when we can close it.
-- 
Rein Henrichs
http://puppetlabs.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.



[Puppet Users] Re: Puppet + OpenVZ

2010-08-10 Thread Matthew Cluver
Rein,

I'm not sure if you've seen the message on github, I wanted to respond
here to make sure that you'd seen it. I've tested and confirmed that
the patch Kai submitted will work correctly moving forward.

Regards,

Matt

On Aug 9, 4:20 pm, Rein Henrichs  wrote:
> Excerpts from Matthew Cluver's message of Mon Aug 09 11:42:12 -0700 2010:
>
> > Hi Rein,
>
> > I have been using the code above in the openvz module as it is working
> > for my needs (0.25.5-1) at the current moment. I have no problem using
> > the proposed patch, my main goal is to simply get a working and
> > dependable version into the next round of releases.
>
> > Matt
>
> Thanks, Matt. I updated the proposed patch to fix a spec it broke
> because of the new behavior. It's in my ticket/master/4156-openvz branch
> on my github (reinh). Would you mind testing this to see if it works for
> you?
>
> Rein
> --
> Rein Henrichshttp://puppetlabs.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.



Re: [Puppet Users] Re: Puppet + OpenVZ

2010-08-09 Thread Rein Henrichs
Excerpts from Matthew Cluver's message of Mon Aug 09 11:42:12 -0700 2010:
> Hi Rein,
> 
> I have been using the code above in the openvz module as it is working
> for my needs (0.25.5-1) at the current moment. I have no problem using
> the proposed patch, my main goal is to simply get a working and
> dependable version into the next round of releases.
> 
> Matt

Thanks, Matt. I updated the proposed patch to fix a spec it broke
because of the new behavior. It's in my ticket/master/4156-openvz branch
on my github (reinh). Would you mind testing this to see if it works for
you?

Rein
-- 
Rein Henrichs
http://puppetlabs.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.



[Puppet Users] Re: Puppet + OpenVZ

2010-08-09 Thread Matthew Cluver
Hi Matt,

Thank you for sharing the libvirt project with me, it looks like that
is what we're going to want to work on migrating into at some point.

At this moment what I have for openvz is working but very crude at the
moment, as it is nearly a wrapper for the vzctl executable.

Matt

On Aug 6, 4:38 pm, Matt Robinson  wrote:
> There's a Google Summer of Code student working on a libvirt module
> for us right now.  It's currently alpha stage and only supports Xen
> and KVM right now, not OpenVZ, but might be worth following the
> progress or contributing to the code or providing feedback.
>
> http://github.com/carlasouza/puppet-virt
>
> Matt
>
>
>
> On Thu, Aug 5, 2010 at 10:24 PM, Yushu Yao  wrote:
> > Hi Matt,
>
> > That look really cool.
> > Are you planning make something similar for libvirt host node? I think 
> > libvirt and OpenVZ share the same structure. If the libvirt one is done, it 
> > can control OpenVZ and other VMMs
>
> > On Aug 5, 2010, at 9:48 PM, Matthew Cluver wrote:
>
> >> Hi Everyone,
>
> >> I just wanted to shoot a quick post out there,hope everyone is doing
> >> well. I've been searching for people sharing this type of code, and it
> >> seemed to be lacking so I decided to jump in.
>
> >> I'm working on developing what would be an openly available module for
> >> puppet, to allow for the development and manipulation of virtual
> >> containers on OpenVZ host nodes.
>
> >> Here it is on google code:http://code.google.com/p/puppet-openvz/
>
> >> If you have been working on the same thing and have any code that
> >> you'd like to contribute it would certainly be appreciated!
>
> >> Cheers & best regards,
>
> >> Matt
>
> >> --
> >> You received this message because you are subscribed to the Google Groups 
> >> "Puppet Users" group.
> >> To post to this group, send email to puppet-us...@googlegroups.com.
> >> To unsubscribe from this group, send email to 
> >> puppet-users+unsubscr...@googlegroups.com.
> >> For more options, visit this group 
> >> athttp://groups.google.com/group/puppet-users?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Puppet Users" group.
> > To post to this group, send email to puppet-us...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > puppet-users+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/puppet-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.



[Puppet Users] Re: Puppet + OpenVZ

2010-08-09 Thread Matthew Cluver
Hi Rein,

The patch that was presented by Kai I believe will work, I originally
missed where they continue to check after the original directory /proc/
vz check. Unfortunately, if this is the best that we can do using
native code, we might be stuck with it for now due to the limitations
of OpenVZ. My solution uses Exec which I know we are trying to get
away from using, it does resolve the question in one single statement
though.

(%x[cat /proc/self/status | awk ‘$1 == “envID:” {print $2}’]) ? result
= “openvzhn” : result =“openvzve”

I have been using the code above in the openvz module as it is working
for my needs (0.25.5-1) at the current moment. I have no problem using
the proposed patch, my main goal is to simply get a working and
dependable version into the next round of releases.

Matt

On Aug 6, 6:19 pm, Rein Henrichs  wrote:
> Excerpts from Matthew Cluver's message of Thu Aug 05 21:48:21 -0700 2010:
>
> > Hi Everyone,
>
> > I'm working on developing what would be an openly available module for
> > puppet, to allow for the development and manipulation of virtual
> > containers on OpenVZ host nodes.
>
> > Here it is on google code:http://code.google.com/p/puppet-openvz/
>
> > If you have been working on the same thing and have any code that
> > you'd like to contribute it would certainly be appreciated!
>
> > Cheers & best regards,
>
> > Matt
>
> Hi Matt,
>
> I see that you've commented on Facter bug #4156[1]. Is there any consensus
> on the correct way to fix this bug? I'd like to get it resolved for
> 1.5.8, especially if it's affecting your work on an OpenVZ module.
>
> [1]http://projects.reductivelabs.com/issues/4156
> --
> Rein Henrichshttp://puppetlabs.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.



[Puppet Users] Re: puppet, openvz, hundreds of files, hundreds of sockets

2009-04-22 Thread Robin Sheat
On Thursday 23 April 2009 04:50:10 Justin B Newman wrote:
> It appears that the client application opens a tcp socket for every
> one of those files when it runs, as it computes the checksum.  When it
> hits 1024 sockets open, it is unable to open additional sockets.  This

I had exactly the same problem. The best fix I found was to upgrade puppet to 
0.24.8.

-- 
Robin  JabberID: 
http://www.kallisti.net.nz/blog   |||   http://identi.ca/eythian

PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D



signature.asc
Description: This is a digitally signed message part.