hi,guys I''m test the resources export and collect , OS is Debian etch and sarge, puppet server and client version all of the 0.23.2 ; the db is MySQL-4.1 My test code is like this. node ''b'' { @@file {"/tmp/a": ensure => present ,content => "test"; } } node ''a'' { File <<||>> } I run puppetd on node b first ,then node a. I can see resource export record in MySQL table. but the node a can''t get "/file/a" , how to debug this ? I don''t know Ruby language. please help me. -- Huang Mingyou
use "/tmp/a" may be is error. I use the code can work on 0.24.1, but can''t work on 0.23.2 node ''monitor1.vmmatrix.net'' { Sshkey <<| |>> File <<| |>> } node ''helixproxy2.i.vmx.cn'' { @@sshkey { $hostname: type => dsa, key => $sshdsakey } @@file { "/tmp/${fqdn}_host.cf": ensure => present, content => "ok"; } } On 1/18/08, huang mingyou <therods@gmail.com> wrote:> hi,guys > I''m test the resources export and collect , OS is Debian etch and > sarge, puppet server and client version all of the 0.23.2 ; the db is > MySQL-4.1 > My test code is like this. > node ''b'' { > @@file {"/tmp/a": ensure => present ,content => "test"; } > } > > node ''a'' { > File <<||>> > } > > I run puppetd on node b first ,then node a. I can see resource export > record in MySQL table. > > but the node a can''t get "/file/a" , how to debug this ? > I don''t know Ruby language. > > please help me. > > -- > Huang Mingyou >-- Huang Mingyou
On Jan 18, 2008, at 4:06 AM, huang mingyou wrote:> use "/tmp/a" may be is error. I use the code can work on 0.24.1, but > can''t work on 0.23.2 > > node ''monitor1.vmmatrix.net'' { > Sshkey <<| |>> > File <<| |>> > } > > node ''helixproxy2.i.vmx.cn'' { > @@sshkey { $hostname: type => dsa, key => $sshdsakey } > @@file { > "/tmp/${fqdn}_host.cf": > ensure => present, > content => "ok"; > } > }There have been some problems with collection in the past, and it could be that 0.23.2 couldn''t actually do collections. -- I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they''ve always worked for me. -- Hunter S. Thompson --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
so ,if I update the puppet to 0.24.1 only on my nagios host. it will be ok.let me try it . On 1/19/08, Luke Kanies <luke@madstop.com> wrote:> On Jan 18, 2008, at 4:06 AM, huang mingyou wrote: > > > use "/tmp/a" may be is error. I use the code can work on 0.24.1, but > > can''t work on 0.23.2 > > > > node ''monitor1.vmmatrix.net'' { > > Sshkey <<| |>> > > File <<| |>> > > } > > > > node ''helixproxy2.i.vmx.cn'' { > > @@sshkey { $hostname: type => dsa, key => $sshdsakey } > > @@file { > > "/tmp/${fqdn}_host.cf": > > ensure => present, > > content => "ok"; > > } > > } > > > There have been some problems with collection in the past, and it > could be that 0.23.2 couldn''t actually do collections. > > -- > I hate to advocate drugs, alcohol, violence, or insanity to anyone, > but they''ve always worked for me. -- Hunter S. Thompson > --------------------------------------------------------------------- > Luke Kanies | http://reductivelabs.com | http://madstop.com > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >-- Huang Mingyou
The solution for me was, to delete all exported resources by hand from the database! then suddenly everything worked with 0.23.2 as well as with 0.24.x Have fun, udo. On 18.01.2008, at 08:27, huang mingyou wrote:> hi,guys > I''m test the resources export and collect , OS is Debian etch and > sarge, puppet server and client version all of the 0.23.2 ; the db is > MySQL-4.1 > My test code is like this. > node ''b'' { > @@file {"/tmp/a": ensure => present ,content => "test"; } > } > > node ''a'' { > File <<||>> > } > > I run puppetd on node b first ,then node a. I can see resource export > record in MySQL table. > > but the node a can''t get "/file/a" , how to debug this ? > I don''t know Ruby language. > > please help me. > > -- > Huang Mingyou > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >-- :: udo waechter - root@zoide.net :: N 52º16''30.5" E 8º3''10.1" :: genuine input for your ears: http://www.auriculabovinari.de :: your eyes: http://ezag.zoide.net :: your brain: http://www.zoide.net
but may be is not so stable . I update the pupetmaster to 0.24.1 ,don''t update puppetd (puppet client host), wall work is ok. I don''t know if there have some trouble in puppetd (0.23.2) + pupetmasterd (0.24.1) . so I will test it. On 1/19/08, udo waechter <udo.waechter@uni-osnabrueck.de> wrote:> The solution for me was, to delete all exported resources by hand from > the database! > then suddenly everything worked with 0.23.2 as well as with 0.24.x > Have fun, > udo. > > On 18.01.2008, at 08:27, huang mingyou wrote: > > > hi,guys > > I''m test the resources export and collect , OS is Debian etch and > > sarge, puppet server and client version all of the 0.23.2 ; the db is > > MySQL-4.1 > > My test code is like this. > > node ''b'' { > > @@file {"/tmp/a": ensure => present ,content => "test"; } > > } > > > > node ''a'' { > > File <<||>> > > } > > > > I run puppetd on node b first ,then node a. I can see resource export > > record in MySQL table. > > > > but the node a can''t get "/file/a" , how to debug this ? > > I don''t know Ruby language. > > > > please help me. > > > > -- > > Huang Mingyou > > _______________________________________________ > > Puppet-users mailing list > > Puppet-users@madstop.com > > https://mail.madstop.com/mailman/listinfo/puppet-users > > > > -- > :: udo waechter - root@zoide.net :: N 52º16''30.5" E 8º3''10.1" > :: genuine input for your ears: http://www.auriculabovinari.de > :: your eyes: http://ezag.zoide.net > :: your brain: http://www.zoide.net > > > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >-- Huang Mingyou
Arjuna Christensen
2008-Jan-20 20:11 UTC
Re: puppet 0.23.2 can''t collect exported resources
Why don''t you just upgrade to 0.24.1 system-wide? Keeping 0.23.2 clients around doesn''t make much sense if you''re running a 0.24.1 client.. disables cool behaviour like pluginsync Arjuna Christensen | Systems Engineer Maximum Internet Ltd 7a Parkhead Pl, Albany, North Shore, 0632 | PO Box 8006, Auckland, 1150, NZ DDI: + 64 9 913 9683 | Ph: +64 9 915 1825 | Fax:: +64 9 300 7227 arjuna.christensen@maxnet.co.nz| www.maxnet.co.nz ________________________________ Maxnet | mission critical internet ________________________________ This email (including any attachments) is confidential and intended only for the person to whom it is addressed. If you have received this email in error, please notify the sender immediately and erase all copies of this message and attachments. The views expressed in this email do not necessarily reflect those held by Maxnet. -----Original Message----- From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com] On Behalf Of huang mingyou Sent: Sunday, 20 January 2008 2:44 a.m. To: Puppet User Discussion Subject: Re: [Puppet-users] puppet 0.23.2 can''t collect exported resources but may be is not so stable . I update the pupetmaster to 0.24.1 ,don''t update puppetd (puppet client host), wall work is ok. I don''t know if there have some trouble in puppetd (0.23.2) + pupetmasterd (0.24.1) . so I will test it. On 1/19/08, udo waechter <udo.waechter@uni-osnabrueck.de> wrote:> The solution for me was, to delete all exported resources by hand from > the database! > then suddenly everything worked with 0.23.2 as well as with 0.24.x > Have fun, > udo. > > On 18.01.2008, at 08:27, huang mingyou wrote: > > > hi,guys > > I''m test the resources export and collect , OS is Debian etch and > > sarge, puppet server and client version all of the 0.23.2 ; the db is > > MySQL-4.1 > > My test code is like this. > > node ''b'' { > > @@file {"/tmp/a": ensure => present ,content => "test"; } > > } > > > > node ''a'' { > > File <<||>> > > } > > > > I run puppetd on node b first ,then node a. I can see resource export > > record in MySQL table. > > > > but the node a can''t get "/file/a" , how to debug this ? > > I don''t know Ruby language. > > > > please help me. > > > > -- > > Huang Mingyou > > _______________________________________________ > > Puppet-users mailing list > > Puppet-users@madstop.com > > https://mail.madstop.com/mailman/listinfo/puppet-users > > > > -- > :: udo waechter - root@zoide.net :: N 52º16''30.5" E 8º3''10.1" > :: genuine input for your ears: http://www.auriculabovinari.de > :: your eyes: http://ezag.zoide.net > :: your brain: http://www.zoide.net > > > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >-- Huang Mingyou _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
Because this is a production environment, so use the stable version may be is a good choice. keep the minister change. On 1/21/08, Arjuna Christensen <arjuna.christensen@maxnet.co.nz> wrote:> Why don''t you just upgrade to 0.24.1 system-wide? > > Keeping 0.23.2 clients around doesn''t make much sense if you''re running a 0.24.1 client.. disables cool behaviour like pluginsync > > Arjuna Christensen|Systems Engineer > Maximum Internet Ltd > 7a Parkhead Pl, Albany, North Shore, 0632 | PO Box 8006, Auckland, 1150, NZ > DDI: + 64 9913 9683 | Ph: +64 9 915 1825 | Fax:: +64 9 300 7227 > arjuna.christensen@maxnet.co.nz| www.maxnet.co.nz > ________________________________ > Maxnet | mission critical internet > ________________________________ > This email (including any attachments) is confidential and intended only for the person to whom it is addressed. > If you have received this email in error, please notify the sender immediately and erase all copies of this message > and attachments. The views expressed in this email do not necessarily reflect those held by Maxnet. > > -----Original Message----- > From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com] On Behalf Of huang mingyou > Sent: Sunday, 20 January 2008 2:44 a.m. > To: Puppet User Discussion > Subject: Re: [Puppet-users] puppet 0.23.2 can''t collect exported resources > > but may be is not so stable . > I update the pupetmaster to 0.24.1 ,don''t update puppetd (puppet > client host), wall work is ok. > > I don''t know if there have some trouble in puppetd (0.23.2) + > pupetmasterd (0.24.1) . so I will test it. > > On 1/19/08, udo waechter <udo.waechter@uni-osnabrueck.de> wrote: > > The solution for me was, to delete all exported resources by hand from > > the database! > > then suddenly everything worked with 0.23.2 as well as with 0.24.x > > Have fun, > > udo. > > > > On 18.01.2008, at 08:27, huang mingyou wrote: > > > > > hi,guys > > > I''m test the resources export and collect , OS is Debian etch and > > > sarge, puppet server and client version all of the 0.23.2 ; the db is > > > MySQL-4.1 > > > My test code is like this. > > > node ''b'' { > > > @@file {"/tmp/a": ensure => present ,content => "test"; } > > > } > > > > > > node ''a'' { > > > File <<||>> > > > } > > > > > > I run puppetd on node b first ,then node a. I can see resource export > > > record in MySQL table. > > > > > > but the node a can''t get "/file/a" , how to debug this ? > > > I don''t know Ruby language. > > > > > > please help me. > > > > > > -- > > > Huang Mingyou > > > _______________________________________________ > > > Puppet-users mailing list > > > Puppet-users@madstop.com > > > https://mail.madstop.com/mailman/listinfo/puppet-users > > > > > > > -- > > :: udo waechter - root@zoide.net :: N 52º16''30.5" E 8º3''10.1" > > :: genuine input for your ears: http://www.auriculabovinari.de > > :: your eyes: http://ezag.zoide.net > > :: your brain: http://www.zoide.net > > > > > > > > _______________________________________________ > > Puppet-users mailing list > > Puppet-users@madstop.com > > https://mail.madstop.com/mailman/listinfo/puppet-users > > > > > -- > Huang Mingyou > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >-- Huang Mingyou