when a node tries to send a report it drops the following error:
err: Reporting failed: undefined method `graph'' for
#<Puppet::Transaction::Report:0xb7060948>
on the server i have:
reports = rrdgraph,store
reportdir = /var/www/puppetreports
rrddir = /var/www/html/rrd
rrdinterval = $runinterval
rrdgraph = true
on the client i have:
[puppetd]
# The file in which puppetd stores a list of the classes
# associated with the retrieved configuratiion. Can be loaded in
# the separate ``puppet`` executable using the ``--loadclasses``
# option.
# The default value is ''$confdir/classes.txt''.
classfile = $vardir/classes.txt
report = true
rrdgraph = true
# Where puppetd caches the local configuration. An
# extension indicating the cache format is added automatically.
# The default value is ''$confdir/localconfig''.
localconfig = $vardir/localconfig
I had installed RubyRRDtool on the server and the client.
Centos 4 and 5.
Any clue?
--
-------> Dive to Live, Live to Dive <-------
--~--~---------~--~----~------------~-------~--~----~
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 Sep 30, 2008, at 3:31 PM, Nicolas Arias wrote:> when a node tries to send a report it drops the following error: > > err: Reporting failed: undefined method `graph'' for > #<Puppet::Transaction::Report:0xb7060948>Could you possibly be running different versions of Puppet on the hosts? If not, can we get a stack trace (with --trace)? -- A great many people think they are thinking when they are merely rearranging their prejudices. -- William James --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.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 -~----------~----~----~----~------~----~------~--~---
I have the same error: It occurs when rrdgraph=true at /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb line 528. Benoit Luke Kanies wrote:> On Sep 30, 2008, at 3:31 PM, Nicolas Arias wrote: > > >> when a node tries to send a report it drops the following error: >> >> err: Reporting failed: undefined method `graph'' for >> #<Puppet::Transaction::Report:0xb7060948> >> > > > Could you possibly be running different versions of Puppet on the hosts? > > If not, can we get a stack trace (with --trace)? > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hmm, looks like this is just straight-up broken. Can you file this as a bug? On Apr 16, 2009, at 7:11 AM, Benoit Decherf wrote:> I have the same error: > It occurs when rrdgraph=true at /usr/lib/ruby/site_ruby/1.8/puppet/ > transaction.rb line 528. > > Benoit > > Luke Kanies wrote: >> >> On Sep 30, 2008, at 3:31 PM, Nicolas Arias wrote: >> >> >>> when a node tries to send a report it drops the following error: >>> >>> err: Reporting failed: undefined method `graph'' for >>> #<Puppet::Transaction::Report:0xb7060948> >>> >> >> Could you possibly be running different versions of Puppet on the >> hosts? >> >> If not, can we get a stack trace (with --trace)? >> >> > > > >-- The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly goes wrong goes wrong it usually turns out to be impossible to get at or repair. -- Douglas Adams, Mostly Harmless --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.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 -~----------~----~----~----~------~----~------~--~---