Undefined method `name' for "RRDtool":String

Hi, I was hoping I someone could help me out with an issue I'm having.
seems to be a sort of known issue, but I'm not clear about the
workaround

I'm getting entries like "Failed to process report for some.host.virt
due to:undefined method `name' for "RRDtool":String" every time a
report is submitted to foreman
I found some mentions of this issue, mostly referring back to:
http://tinyurl.com/2vogpnb
I'm running puppetmaster 0.25.5 from the EPEL repo on a CentOS 5.4
x86_64 system
I tried adding require 'RRDtool' to foreman.rb, but that didn't help,
so I'm not sure how to fix this by requiring RRDtool before trying to
load structures

Thanks

Sorry, not sure if it matters, but I should also include that I'm
getting this on httpd restart:
Rails Error: Unable to access log file. Please ensure that /usr/share/
foreman/log/production.log exists and is chmod 0666. The log level has
been raised to WARN and the output directed to STDERR until the
problem is fixed.
** has_many_polymorphs: rails environment detected
** has_many_polymorphs: preloading parent model Usergroup
** has_many_polymorphs: preloading parent model Usergroup
/usr/share/foreman/app/helpers/reports_helper.rb:18: warning:
parenthesize argument(s) for future version
/usr/share/foreman/app/helpers/reports_helper.rb:19: warning:
parenthesize argument(s) for future version
/usr/share/foreman/app/helpers/reports_helper.rb:20: warning:
parenthesize argument(s) for future version
/usr/share/foreman/app/helpers/reports_helper.rb:21: warning:
parenthesize argument(s) for future version
/usr/share/foreman/app/helpers/reports_helper.rb:22: warning:
parenthesize argument(s) for future version

··· On Jun 15, 11:08 am, "d...@looprock.com" wrote: > Hi, I was hoping I someone could help me out with an issue I'm having. > seems to be a sort of known issue, but I'm not clear about the > workaround > > I'm getting entries like "Failed to process report for some.host.virt > due to:undefined method `name' for "RRDtool":String" every time a > report is submitted to foreman > I found some mentions of this issue, mostly referring back to:http://tinyurl.com/2vogpnb > I'm running puppetmaster 0.25.5 from the EPEL repo on a CentOS 5.4 > x86_64 system > I tried adding require 'RRDtool' to foreman.rb, but that didn't help, > so I'm not sure how to fix this by requiring RRDtool before trying to > load structures > > Thanks

Got this answered on IRC, and it was actually in front of me the whole
time. As the ticket states, I applied the patched zaml.rb file:
http://github.com/MarkusQ/puppet/raw/ticket/0.25.x/3949/lib/puppet/util/zaml.rb
and it's working. Thanks!

··· On Jun 15, 11:18 am, "d...@looprock.com" wrote: > Sorry, not sure if it matters, but I should also include that I'm > getting this on httpd restart: > Rails Error: Unable to access log file. Please ensure that /usr/share/ > foreman/log/production.log exists and is chmod 0666. The log level has > been raised to WARN and the output directed to STDERR until the > problem is fixed. > ** has_many_polymorphs: rails environment detected > ** has_many_polymorphs: preloading parent model Usergroup > ** has_many_polymorphs: preloading parent model Usergroup > /usr/share/foreman/app/helpers/reports_helper.rb:18: warning: > parenthesize argument(s) for future version > /usr/share/foreman/app/helpers/reports_helper.rb:19: warning: > parenthesize argument(s) for future version > /usr/share/foreman/app/helpers/reports_helper.rb:20: warning: > parenthesize argument(s) for future version > /usr/share/foreman/app/helpers/reports_helper.rb:21: warning: > parenthesize argument(s) for future version > /usr/share/foreman/app/helpers/reports_helper.rb:22: warning: > parenthesize argument(s) for future version > > On Jun 15, 11:08 am, "d...@looprock.com" > wrote: > > > Hi, I was hoping I someone could help me out with an issue I'm having. > > seems to be a sort of known issue, but I'm not clear about the > > workaround > > > I'm getting entries like "Failed to process report for some.host.virt > > due to:undefined method `name' for "RRDtool":String" every time a > > report is submitted to foreman > > I found some mentions of this issue, mostly referring back to:http://tinyurl.com/2vogpnb > > I'm running puppetmaster 0.25.5 from the EPEL repo on a CentOS 5.4 > > x86_64 system > > I tried adding require 'RRDtool' to foreman.rb, but that didn't help, > > so I'm not sure how to fix this by requiring RRDtool before trying to > > load structures > > > Thanks