Martijn Grendelman
2010-Dec-24 15:47 UTC
[Puppet Users] Report rrdgraph failed: could not create RRD file
Hi, Today, I set up ''rrdgraph'' reports. What could be the cause of this: Dec 24 15:52:35 offman01 puppet-master[20593]: Report rrdgraph failed: Could not create RRD file /var/lib/puppet/rrd/talk.dev.iphion.nl/changes.rrd: you must define at least one Data Source This happens for some nodes, but for other nodes it works fine. For the nodes for which this happens, no HTML files (daily.html, events.html, etc.) are created either. So, for some (good) nodes, I have: /var/lib/puppet/rrd/test2.dev.iphion.nl: total 248 -rw-r--r-- 1 puppet puppet 7592 2010-12-24 14:44 changes-daily.png -rw-r--r-- 1 puppet puppet 8422 2010-12-24 14:44 changes-monthly.png -rw-r--r-- 1 puppet puppet 8295 2010-12-24 14:44 changes-weekly.png -rw-r--r-- 1 puppet puppet 9290 2010-12-24 14:44 changes-yearly.png -rw-r--r-- 1 puppet puppet 226 2010-12-24 14:44 changes.html -rw-r--r-- 1 puppet puppet 2944 2010-12-24 14:44 changes.rrd -rw-r--r-- 1 puppet puppet 218 2010-12-24 14:44 daily.html -rw-r--r-- 1 puppet puppet 6142 2010-12-24 16:16 events-daily.png -rw-r--r-- 1 puppet puppet 8265 2010-12-24 16:16 events-monthly.png -rw-r--r-- 1 puppet puppet 6876 2010-12-24 16:16 events-weekly.png -rw-r--r-- 1 puppet puppet 9013 2010-12-24 16:16 events-yearly.png -rw-r--r-- 1 puppet puppet 221 2010-12-24 14:44 events.html -rw-r--r-- 1 puppet puppet 5656 2010-12-24 16:16 events.rrd -rw-r--r-- 1 puppet puppet 401 2010-12-24 14:44 index.html -rw-r--r-- 1 puppet puppet 228 2010-12-24 14:44 monthly.html -rw-r--r-- 1 puppet puppet 7583 2010-12-24 16:16 resources-daily.png -rw-r--r-- 1 puppet puppet 8694 2010-12-24 16:16 resources-monthly.png -rw-r--r-- 1 puppet puppet 8605 2010-12-24 16:16 resources-weekly.png -rw-r--r-- 1 puppet puppet 9897 2010-12-24 16:16 resources-yearly.png -rw-r--r-- 1 puppet puppet 236 2010-12-24 14:44 resources.html -rw-r--r-- 1 puppet puppet 13792 2010-12-24 16:16 resources.rrd -rw-r--r-- 1 puppet puppet 7213 2010-12-24 16:16 time-daily.png -rw-r--r-- 1 puppet puppet 8339 2010-12-24 16:16 time-monthly.png -rw-r--r-- 1 puppet puppet 8326 2010-12-24 16:16 time-weekly.png -rw-r--r-- 1 puppet puppet 9272 2010-12-24 16:16 time-yearly.png -rw-r--r-- 1 puppet puppet 211 2010-12-24 14:44 time.html -rw-r--r-- 1 puppet puppet 2944 2010-12-24 16:16 time.rrd -rw-r--r-- 1 puppet puppet 223 2010-12-24 14:44 weekly.html -rw-r--r-- 1 puppet puppet 223 2010-12-24 14:44 yearly.html And for others: /var/lib/puppet/rrd/test4.dev.iphion.nl: total 144 -rw-r--r-- 1 puppet puppet 7041 2010-12-24 16:28 events-daily.png -rw-r--r-- 1 puppet puppet 8124 2010-12-24 16:28 events-monthly.png -rw-r--r-- 1 puppet puppet 8079 2010-12-24 16:28 events-weekly.png -rw-r--r-- 1 puppet puppet 9013 2010-12-24 16:28 events-yearly.png -rw-r--r-- 1 puppet puppet 2944 2010-12-24 16:28 events.rrd -rw-r--r-- 1 puppet puppet 6891 2010-12-24 16:28 resources-daily.png -rw-r--r-- 1 puppet puppet 9043 2010-12-24 16:28 resources-monthly.png -rw-r--r-- 1 puppet puppet 7682 2010-12-24 16:28 resources-weekly.png -rw-r--r-- 1 puppet puppet 9897 2010-12-24 16:28 resources-yearly.png -rw-r--r-- 1 puppet puppet 5656 2010-12-24 16:28 resources.rrd -rw-r--r-- 1 puppet puppet 7374 2010-12-24 16:28 time-daily.png -rw-r--r-- 1 puppet puppet 8537 2010-12-24 16:28 time-monthly.png -rw-r--r-- 1 puppet puppet 8316 2010-12-24 16:28 time-weekly.png -rw-r--r-- 1 puppet puppet 9272 2010-12-24 16:28 time-yearly.png -rw-r--r-- 1 puppet puppet 2944 2010-12-24 16:28 time.rrd All nodes are configured identically. Best regards, Martijn. -- 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.
Martijn Grendelman
2010-Dec-27 11:13 UTC
Re: [Puppet Users] Report rrdgraph failed: could not create RRD file
On 24-12-10 16:47, Martijn Grendelman wrote:> Hi, > > Today, I set up ''rrdgraph'' reports. What could be the cause of this: > > Dec 24 15:52:35 offman01 puppet-master[20593]: Report rrdgraph failed: > Could not create RRD file > /var/lib/puppet/rrd/talk.dev.iphion.nl/changes.rrd: you must define at > least one Data SourceA log excerpt:> Dec 27 11:50:15 offman01 puppet-master[17211]: Report rrdgraph failed: Failed to update resources: unknown DS name ''skipped'' > Dec 27 11:50:49 offman01 puppet-master[1133]: Report rrdgraph failed: Failed to update changes: unknown DS name '''' > Dec 27 11:51:45 offman01 puppet-master[1133]: Report rrdgraph failed: Could not create RRD file /var/lib/puppet/rrd/server012.dev.iphion.nl/changes.rrd: you must define at least one Data Source > Dec 27 11:52:45 offman01 puppet-master[17211]: Report rrdgraph failed: Could not create RRD file /var/lib/puppet/rrd/racey.dev.iphion.nl/changes.rrd: you must define at least one Data Source > Dec 27 11:53:26 offman01 puppet-master[1133]: Report rrdgraph failed: Could not create RRD file /var/lib/puppet/rrd/server002.dev.iphion.nl/changes.rrd: you must define at least one Data Source > Dec 27 12:01:16 offman01 puppet-master[1133]: Report rrdgraph failed: Failed to update changes: unknown DS name '''' > Dec 27 12:04:40 offman01 puppet-master[8107]: Report rrdgraph failed: Failed to update events: unknown DS name ''success'' > Dec 27 12:05:11 offman01 puppet-master[1133]: Report rrdgraph failed: Failed to update resources: unknown DS name ''changed'' > Dec 27 12:07:05 offman01 puppet-master[8107]: Report rrdgraph failed: Failed to update events: unknown DS name ''success''Seems to me like there are yet some bugs to fix here ;-) Should I file a report?> This happens for some nodes, but for other nodes it works fine. > > For the nodes for which this happens, no HTML files (daily.html, > events.html, etc.) are created either. > > So, for some (good) nodes, I have: > > /var/lib/puppet/rrd/test2.dev.iphion.nl: > total 248 > -rw-r--r-- 1 puppet puppet 7592 2010-12-24 14:44 changes-daily.png > -rw-r--r-- 1 puppet puppet 8422 2010-12-24 14:44 changes-monthly.png > -rw-r--r-- 1 puppet puppet 8295 2010-12-24 14:44 changes-weekly.png > -rw-r--r-- 1 puppet puppet 9290 2010-12-24 14:44 changes-yearly.png > -rw-r--r-- 1 puppet puppet 226 2010-12-24 14:44 changes.html > -rw-r--r-- 1 puppet puppet 2944 2010-12-24 14:44 changes.rrd > -rw-r--r-- 1 puppet puppet 218 2010-12-24 14:44 daily.html > -rw-r--r-- 1 puppet puppet 6142 2010-12-24 16:16 events-daily.png > -rw-r--r-- 1 puppet puppet 8265 2010-12-24 16:16 events-monthly.png > -rw-r--r-- 1 puppet puppet 6876 2010-12-24 16:16 events-weekly.png > -rw-r--r-- 1 puppet puppet 9013 2010-12-24 16:16 events-yearly.png > -rw-r--r-- 1 puppet puppet 221 2010-12-24 14:44 events.html > -rw-r--r-- 1 puppet puppet 5656 2010-12-24 16:16 events.rrd > -rw-r--r-- 1 puppet puppet 401 2010-12-24 14:44 index.html > -rw-r--r-- 1 puppet puppet 228 2010-12-24 14:44 monthly.html > -rw-r--r-- 1 puppet puppet 7583 2010-12-24 16:16 resources-daily.png > -rw-r--r-- 1 puppet puppet 8694 2010-12-24 16:16 resources-monthly.png > -rw-r--r-- 1 puppet puppet 8605 2010-12-24 16:16 resources-weekly.png > -rw-r--r-- 1 puppet puppet 9897 2010-12-24 16:16 resources-yearly.png > -rw-r--r-- 1 puppet puppet 236 2010-12-24 14:44 resources.html > -rw-r--r-- 1 puppet puppet 13792 2010-12-24 16:16 resources.rrd > -rw-r--r-- 1 puppet puppet 7213 2010-12-24 16:16 time-daily.png > -rw-r--r-- 1 puppet puppet 8339 2010-12-24 16:16 time-monthly.png > -rw-r--r-- 1 puppet puppet 8326 2010-12-24 16:16 time-weekly.png > -rw-r--r-- 1 puppet puppet 9272 2010-12-24 16:16 time-yearly.png > -rw-r--r-- 1 puppet puppet 211 2010-12-24 14:44 time.html > -rw-r--r-- 1 puppet puppet 2944 2010-12-24 16:16 time.rrd > -rw-r--r-- 1 puppet puppet 223 2010-12-24 14:44 weekly.html > -rw-r--r-- 1 puppet puppet 223 2010-12-24 14:44 yearly.html > > And for others: > > /var/lib/puppet/rrd/test4.dev.iphion.nl: > total 144 > -rw-r--r-- 1 puppet puppet 7041 2010-12-24 16:28 events-daily.png > -rw-r--r-- 1 puppet puppet 8124 2010-12-24 16:28 events-monthly.png > -rw-r--r-- 1 puppet puppet 8079 2010-12-24 16:28 events-weekly.png > -rw-r--r-- 1 puppet puppet 9013 2010-12-24 16:28 events-yearly.png > -rw-r--r-- 1 puppet puppet 2944 2010-12-24 16:28 events.rrd > -rw-r--r-- 1 puppet puppet 6891 2010-12-24 16:28 resources-daily.png > -rw-r--r-- 1 puppet puppet 9043 2010-12-24 16:28 resources-monthly.png > -rw-r--r-- 1 puppet puppet 7682 2010-12-24 16:28 resources-weekly.png > -rw-r--r-- 1 puppet puppet 9897 2010-12-24 16:28 resources-yearly.png > -rw-r--r-- 1 puppet puppet 5656 2010-12-24 16:28 resources.rrd > -rw-r--r-- 1 puppet puppet 7374 2010-12-24 16:28 time-daily.png > -rw-r--r-- 1 puppet puppet 8537 2010-12-24 16:28 time-monthly.png > -rw-r--r-- 1 puppet puppet 8316 2010-12-24 16:28 time-weekly.png > -rw-r--r-- 1 puppet puppet 9272 2010-12-24 16:28 time-yearly.png > -rw-r--r-- 1 puppet puppet 2944 2010-12-24 16:28 time.rrd > > All nodes are configured identically.Best regards, Martijn. -- 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.
James Turnbull
2010-Dec-27 16:13 UTC
Re: [Puppet Users] Report rrdgraph failed: could not create RRD file
Martijn Grendelman wrote:> On 24-12-10 16:47, Martijn Grendelman wrote: >> Hi, >> >> Today, I set up ''rrdgraph'' reports. What could be the cause of this: >> >> Dec 24 15:52:35 offman01 puppet-master[20593]: Report rrdgraph failed: >> Could not create RRD file >> /var/lib/puppet/rrd/talk.dev.iphion.nl/changes.rrd: you must define at >> least one Data SourceMartijn I think this is an RRD bug as well as a Puppet. What platform, RRD version and RRD Ruby bindings are you using? Also what Puppet version? If you search the bug database I think you''ll find your issue. James -- 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.
Martijn Grendelman
2010-Dec-28 08:34 UTC
Re: [Puppet Users] Report rrdgraph failed: could not create RRD file
On 27-12-10 17:13, James Turnbull wrote:> Martijn Grendelman wrote: >> On 24-12-10 16:47, Martijn Grendelman wrote: >>> Hi, >>> >>> Today, I set up ''rrdgraph'' reports. What could be the cause of this: >>> >>> Dec 24 15:52:35 offman01 puppet-master[20593]: Report rrdgraph failed: >>> Could not create RRD file >>> /var/lib/puppet/rrd/talk.dev.iphion.nl/changes.rrd: you must define at >>> least one Data Source > > Martijn > > I think this is an RRD bug as well as a Puppet. What platform, RRD > version and RRD Ruby bindings are you using? Also what Puppet version?This is an Ubuntu Jaunty install. $ dpkg -l puppet rrdtool librrd-ruby ii librrd-ruby 1.3.1-4ubuntu1 ii puppet 2.6.3-0ubuntu1-iphion2~9.04 ii rrdtool 1.3.1-4ubuntu1> If you search the bug database I think you''ll find your issue.I''ll have a look, thanks! Best regards, Martijn. -- 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.
Martijn Grendelman
2010-Dec-28 11:50 UTC
Re: [Puppet Users] Report rrdgraph failed: could not create RRD file
Hi,>>>> Today, I set up ''rrdgraph'' reports. What could be the cause of this: >>>> >>>> Dec 24 15:52:35 offman01 puppet-master[20593]: Report rrdgraph failed: >>>> Could not create RRD file >>>> /var/lib/puppet/rrd/talk.dev.iphion.nl/changes.rrd: you must define at >>>> least one Data Source >> >> I think this is an RRD bug as well as a Puppet. What platform, RRD >> version and RRD Ruby bindings are you using? Also what Puppet version? > > This is an Ubuntu Jaunty install. > > $ dpkg -l puppet rrdtool librrd-ruby > > ii librrd-ruby 1.3.1-4ubuntu1 > ii puppet 2.6.3-0ubuntu1-iphion2~9.04 > ii rrdtool 1.3.1-4ubuntu1 > >> If you search the bug database I think you''ll find your issue. > > I''ll have a look, thanks!Besides https://projects.puppetlabs.com/issues/4783 (closed 3 months ago), I haven''t been able to find any issues that come close to what I''m seeing. I have updated rrdtool (incl. librrd and the Ruby bindings) to version 1.4.3, but I didn''t notice any improvement. Best regards, Martijn. -- 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.
Ed
2011-Feb-09 19:40 UTC
[Puppet Users] Re: Report rrdgraph failed: could not create RRD file
Any luck with this? I''m running 2.6.4 and I''m encountering the same issue with my puppetmaster and agents on centos 5.5. rrdtool.x86_64 1.2.27-3.el5 installed rrdtool-devel.x86_64 1.2.27-3.el5 installed rrdtool-ruby.x86_64 1.2.27-3.el5 installed ruby.x86_64 1.8.5-5.el5_4.8 installed Thanks, Edwin On Dec 28 2010, 4:50 am, Martijn Grendelman <mart...@iphion.nl> wrote:> Hi, > > > > >>>> Today, I set up ''rrdgraph'' reports. What could be the cause of this: > > >>>> Dec 24 15:52:35 offman01 puppet-master[20593]: Report rrdgraph failed: > >>>> Could not create RRD file > >>>> /var/lib/puppet/rrd/talk.dev.iphion.nl/changes.rrd: you must define at > >>>> least one Data Source > > >> I think this is an RRD bug as well as a Puppet. What platform, RRD > >> version and RRD Ruby bindings are you using? Also what Puppet version? > > > This is an Ubuntu Jaunty install. > > > $ dpkg -l puppet rrdtool librrd-ruby > > > ii librrd-ruby 1.3.1-4ubuntu1 > > ii puppet 2.6.3-0ubuntu1-iphion2~9.04 > > ii rrdtool 1.3.1-4ubuntu1 > > >> If you search the bug database I think you''ll find your issue. > > > I''ll have a look, thanks! > > Besideshttps://projects.puppetlabs.com/issues/4783(closed 3 months ago), > I haven''t been able to find any issues that come close to what I''m seeing. > > I have updated rrdtool (incl. librrd and the Ruby bindings) to version > 1.4.3, but I didn''t notice any improvement. > > Best regards, > Martijn.-- 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.
Kinzel, David
2011-Feb-09 22:24 UTC
RE: [Puppet Users] Re: Report rrdgraph failed: could not create RRD file
>Any luck with this? I''m running 2.6.4 and I''m encountering the same >issue with my puppetmaster and agents on centos 5.5. >The issue appears to be with client reports being sent back. For the changes attribute, it sends values: [] instead of what it expects, values: [- - sym/ruby, - total, 0] (or something similar to that). I''ve not been able to see where that is generated on the client yet. Note, this was with 2.6.1 + the patch in the issue referenced below.>rrdtool.x86_64 1.2.27-3.el5 >installed >rrdtool-devel.x86_64 1.2.27-3.el5 >installed >rrdtool-ruby.x86_64 1.2.27-3.el5 >installed >ruby.x86_64 1.8.5-5.el5_4.8 >installed > >Thanks, >Edwin > >On Dec 28 2010, 4:50 am, Martijn Grendelman <mart...@iphion.nl> wrote: >> Hi, >> >> >> >> >>>> Today, I set up ''rrdgraph'' reports. What could be the >cause of this: >> >> >>>> Dec 24 15:52:35 offman01 puppet-master[20593]: Report >rrdgraph failed: >> >>>> Could not create RRD file >> >>>> /var/lib/puppet/rrd/talk.dev.iphion.nl/changes.rrd: you >must define at >> >>>> least one Data Source >> >> >> I think this is an RRD bug as well as a Puppet. What >platform, RRD >> >> version and RRD Ruby bindings are you using? Also what >Puppet version? >> >> > This is an Ubuntu Jaunty install. >> >> > $ dpkg -l puppet rrdtool librrd-ruby >> >> > ii librrd-ruby 1.3.1-4ubuntu1 >> > ii puppet 2.6.3-0ubuntu1-iphion2~9.04 >> > ii rrdtool 1.3.1-4ubuntu1 >> >> >> If you search the bug database I think you''ll find your issue. >> >> > I''ll have a look, thanks! >> >> Besideshttps://projects.puppetlabs.com/issues/4783(closed 3 >months ago), >> I haven''t been able to find any issues that come close to >what I''m seeing. >> >> I have updated rrdtool (incl. librrd and the Ruby bindings) >to version >> 1.4.3, but I didn''t notice any improvement. >> >> Best regards, >> Martijn. > >-- >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. > >This email communication and any files transmitted with it may contain confidential and or proprietary information and is provided for the use of the intended recipient only. Any review, retransmission or dissemination of this information by anyone other than the intended recipient is prohibited. If you receive this email in error, please contact the sender and delete this communication and any copies immediately. Thank you. http://www.encana.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.