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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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 <yao.yushu@gmail.com> 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-users@googlegroups.com. >> To unsubscribe from this group, send email to puppet-users+unsubscribe@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-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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 <r...@puppetlabs.com> 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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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 <m...@puppetlabs.com> 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 <yao.yu...@gmail.com> 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-users@googlegroups.com. > >> To unsubscribe from this group, send email to puppet-users+unsubscribe@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-users@googlegroups.com. > > To unsubscribe from this group, send email to puppet-users+unsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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. > > MattThanks, 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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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 <r...@puppetlabs.com> 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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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 <marcin@owsiany.pl> 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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.