I''m seeing these errors on many servers: Could not run Puppet::Client::MasterClient: undefined method `-'' for #<XMLRPC::DateTime:0xb787bb64> This does not seem to happen when puppetd -vt is run manually. It shows every half an hour or so. Any ideas? Thanks! -- Please remember that an email is just like a postcard; it is not confidential nor private nor secure and can be read by many other people than the intended recipient. A postcard can be read by anyone at the mail sorting office and expecting what is written on it to be private and secret is not realistic. Please hold no higher expectation of email. If you need to send confidential information in an email you need to use encryption. PGP is Pretty good for this. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray <steve.wray@cwa.co.nz> wrote:> > I''m seeing these errors on many servers: > > Could not run Puppet::Client::MasterClient: undefined method `-'' for > #<XMLRPC::DateTime:0xb787bb64> > > > This does not seem to happen when puppetd -vt is run manually. It shows > every half an hour or so. > > Any ideas?It doesn''t happen with -t because that ignores the cache. This was a bug fixed upstream. http://projects.reductivelabs.com/issues/show/1551 What version is your server on? This was fixed in 0.24.6 I believe. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Nigel Kersten wrote:> On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray <steve.wray@cwa.co.nz> wrote: >> I''m seeing these errors on many servers: >> >> Could not run Puppet::Client::MasterClient: undefined method `-'' for >> #<XMLRPC::DateTime:0xb787bb64> >> >> >> This does not seem to happen when puppetd -vt is run manually. It shows >> every half an hour or so. >> >> Any ideas? > > It doesn''t happen with -t because that ignores the cache. > > This was a bug fixed upstream.Is there a workaround, any way to get the automatic runs ignore the cache? I''m not in a position to upgrade puppet at this time on these servers...> http://projects.reductivelabs.com/issues/show/1551 > > What version is your server on? This was fixed in 0.24.6 I believe. > > >-- Please remember that an email is just like a postcard; it is not confidential nor private nor secure and can be read by many other people than the intended recipient. A postcard can be read by anyone at the mail sorting office and expecting what is written on it to be private and secret is not realistic. Please hold no higher expectation of email. If you need to send confidential information in an email you need to use encryption. PGP is Pretty good for this. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Tue, Mar 17, 2009 at 12:48 PM, Steve Wray <steve.wray@cwa.co.nz> wrote:> > Nigel Kersten wrote: >> On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray <steve.wray@cwa.co.nz> wrote: >>> I''m seeing these errors on many servers: >>> >>> Could not run Puppet::Client::MasterClient: undefined method `-'' for >>> #<XMLRPC::DateTime:0xb787bb64> >>> >>> >>> This does not seem to happen when puppetd -vt is run manually. It shows >>> every half an hour or so. >>> >>> Any ideas? >> >> It doesn''t happen with -t because that ignores the cache. >> >> This was a bug fixed upstream. > > Is there a workaround, any way to get the automatic runs ignore the cache? > > I''m not in a position to upgrade puppet at this time on these servers...It''s a tiny patch on the server. It''s going to be by far the easiest way to resolve this, unless you modify all your clients to ignore the cache.> > > >> http://projects.reductivelabs.com/issues/show/1551 >> >> What version is your server on? This was fixed in 0.24.6 I believe. >> >> > > > > -- > Please remember that an email is just like a postcard; it is not > confidential nor private nor secure and can be read by many other people > than the intended recipient. A postcard can be read by anyone at the mail > sorting office and expecting what is written on it to be private and secret > is not realistic. Please hold no higher expectation of email. > > If you need to send confidential information in an email you need to use > encryption. PGP is Pretty good for this. > > > >-- Nigel Kersten Systems Administrator Tech Lead - MacOps --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Nigel Kersten wrote:> On Tue, Mar 17, 2009 at 12:48 PM, Steve Wray <steve.wray@cwa.co.nz> wrote: >> Nigel Kersten wrote: >>> On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray <steve.wray@cwa.co.nz> wrote: >>>> I''m seeing these errors on many servers: >>>> >>>> Could not run Puppet::Client::MasterClient: undefined method `-'' for >>>> #<XMLRPC::DateTime:0xb787bb64> >>>> >>>> >>>> This does not seem to happen when puppetd -vt is run manually. It shows >>>> every half an hour or so. >>>> >>>> Any ideas? >>> It doesn''t happen with -t because that ignores the cache. >>> >>> This was a bug fixed upstream. >> Is there a workaround, any way to get the automatic runs ignore the cache? >> >> I''m not in a position to upgrade puppet at this time on these servers... > > It''s a tiny patch on the server. It''s going to be by far the easiest > way to resolve this, unless you modify all your clients to ignore the > cache.If you mean the patch at http://github.com/nigelkersten/puppetmaster/commit/65ce150b04e46cfb572d9d2682bf5d9a3b37da68 which is referred to at http://projects.reductivelabs.com/issues/show/1551 then its a broken link :(>> >> >>> http://projects.reductivelabs.com/issues/show/1551 >>> >>> What version is your server on? This was fixed in 0.24.6 I believe. >>> >> >> -- >> Please remember that an email is just like a postcard; it is not >> confidential nor private nor secure and can be read by many other people >> than the intended recipient. A postcard can be read by anyone at the mail >> sorting office and expecting what is written on it to be private and secret >> is not realistic. Please hold no higher expectation of email. >> >> If you need to send confidential information in an email you need to use >> encryption. PGP is Pretty good for this. >> > > >-- Please remember that an email is just like a postcard; it is not confidential nor private nor secure and can be read by many other people than the intended recipient. A postcard can be read by anyone at the mail sorting office and expecting what is written on it to be private and secret is not realistic. Please hold no higher expectation of email. If you need to send confidential information in an email you need to use encryption. PGP is Pretty good for this. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Steve Wray wrote:> Nigel Kersten wrote: >> On Tue, Mar 17, 2009 at 12:48 PM, Steve Wray <steve.wray@cwa.co.nz> wrote: >>> Nigel Kersten wrote: >>>> On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray <steve.wray@cwa.co.nz> wrote: >>>>> I''m seeing these errors on many servers: >>>>> >>>>> Could not run Puppet::Client::MasterClient: undefined method `-'' for >>>>> #<XMLRPC::DateTime:0xb787bb64> >>>>> >>>>> >>>>> This does not seem to happen when puppetd -vt is run manually. It shows >>>>> every half an hour or so. >>>>> >>>>> Any ideas? >>>> It doesn''t happen with -t because that ignores the cache. >>>> >>>> This was a bug fixed upstream. >>> Is there a workaround, any way to get the automatic runs ignore the cache? >>> >>> I''m not in a position to upgrade puppet at this time on these servers... >> It''s a tiny patch on the server. It''s going to be by far the easiest >> way to resolve this, unless you modify all your clients to ignore the >> cache. > > If you mean the patch at > http://github.com/nigelkersten/puppetmaster/commit/65ce150b04e46cfb572d9d2682bf5d9a3b37da68 > which is referred to at http://projects.reductivelabs.com/issues/show/1551 > then its a broken link :(But not here it isn''t - a little further down in the ticket: http://projects.reductivelabs.com/projects/puppet/repository/revisions/e15d316cbb9ee33bfbed4b29649f36a97490e985 Regards James Turnbull -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/)
On Tue, Mar 17, 2009 at 2:33 PM, James Turnbull <james@lovedthanlost.net> wrote:> Steve Wray wrote: >> Nigel Kersten wrote: >>> On Tue, Mar 17, 2009 at 12:48 PM, Steve Wray <steve.wray@cwa.co.nz> wrote: >>>> Nigel Kersten wrote: >>>>> On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray <steve.wray@cwa.co.nz> wrote: >>>>>> I''m seeing these errors on many servers: >>>>>> >>>>>> Could not run Puppet::Client::MasterClient: undefined method `-'' for >>>>>> #<XMLRPC::DateTime:0xb787bb64> >>>>>> >>>>>> >>>>>> This does not seem to happen when puppetd -vt is run manually. It shows >>>>>> every half an hour or so. >>>>>> >>>>>> Any ideas? >>>>> It doesn''t happen with -t because that ignores the cache. >>>>> >>>>> This was a bug fixed upstream. >>>> Is there a workaround, any way to get the automatic runs ignore the cache? >>>> >>>> I''m not in a position to upgrade puppet at this time on these servers... >>> It''s a tiny patch on the server. It''s going to be by far the easiest >>> way to resolve this, unless you modify all your clients to ignore the >>> cache. >> >> If you mean the patch at >> http://github.com/nigelkersten/puppetmaster/commit/65ce150b04e46cfb572d9d2682bf5d9a3b37da68 >> which is referred to at http://projects.reductivelabs.com/issues/show/1551 >> then its a broken link :( > > But not here it isn''t - a little further down in the ticket: > > http://projects.reductivelabs.com/projects/puppet/repository/revisions/e15d316cbb9ee33bfbed4b29649f36a97490e985 >To further muddy the waters, this was changed at some later point. # Tell a client whether there''s a fresh config for it def freshness(client = nil, clientip = nil) # Always force a recompile. Newer clients shouldn''t do this (as of April 2008). return Time.now.to_i end is what the current version of Puppet does. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---