Re: [Puppet Users] Puppet + OpenVZ
Hi, On Thu, Aug 05, 2010 at 09:48:21PM -0700, Matthew Cluver wrote: > If you have been working on the same thing and have any code that > you'd like to contribute it would certainly be appreciated! Attaching my old faithful if a little dusty ve type and openvz provider. Maybe you'll find there something you'd like to reuse. -- Marcin Owsiany http://marcin.owsiany.pl/ GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216 "Every program in development at MIT expands until it can read mail." -- Unknown -- 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. ve.rb Description: application/ruby openvz.rb Description: application/ruby
Re: [Puppet Users] Puppet + OpenVZ
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 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.
Re: [Puppet Users] Puppet + OpenVZ
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 at >> http://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. > > -- 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] Puppet + OpenVZ
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 at > http://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.
Re: [Puppet Users] Puppet + OpenVZ
Matthew Cluver wrote: > 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/ That's very cool Matt - why not add it to the Forge? http://forge.puppetlabs.com Regards James Turnbull -- Puppet Labs - http://www.puppetlabs.com C: 503-734-8571 -- 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] Puppet + OpenVZ
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 at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] puppet, openvz, hundreds of files, hundreds of sockets
Greetings! I have a puppet server and client, both running version 0.24.5. They are running atop debian/lenny, in openVZ containers. (As such, I can (and to some degree must) readily monitor tcp socket counts and buffer sizes). I have the following in a class file: file { "/usr/local/xyz/etc/keys": mode => 644, owner => "xyz", source => "puppet://puppet.mydomain.com/files/xyz/keys", recurse => "true", } The directory has about 700 files in it. It used to have 1400, but I trimmed it down... 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 shouldn't be a problem, though... after all, I only have about 700 files. But, unfortunately, when it completes its run, it doesn't release the sockets. :-( Therefore, 2 runs and ... yeap ... it's done for. I suspect that if I reconfigured the box such that puppet ran from cron, I would have a workaround. That said, I doubt this is the only time someone will try this. Here are my client logs: Apr 22 16:29:20 dkim puppetd[9603]: Reopening log files Apr 22 16:29:20 dkim puppetd[9603]: Starting Puppet client version 0.24.5 Apr 22 16:29:22 dkim puppetd[9603]: Starting catalog run Apr 22 16:33:33 dkim puppetd[9603]: Finished catalog run in 251.53 seconds Apr 22 16:35:22 dkim puppetd[9603]: Other end went away; restarting connection and retrying Apr 22 16:35:23 dkim puppetd[9603]: Starting catalog run Apr 22 16:37:16 dkim puppetd[9603]: (//Node[xyz.domain.com]/xyz/File[/ usr/local/xyz/etc/keys/domain.com.key]) Failed to retrieve current state of resource: Too many open files - /usr/local/xyz/etc/keys/ domain.com.key Apr 22 16:37:16 dkim puppetd[9603]: Could not find server puppet.domain.com: getaddrinfo: Temporary failure in name resolution Incidentally, the server never reports more than 188 tcp sockets open. I'm guessing y'all would like more data. If you can point me to specific instructions for obtaining said data, I'll be happy to respond. Many thanks in advance for any help you can provide. Sincerely, -jbn Justin B Newman --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---