Sending puppet report crashes foreman

Hi,

I'm using
foreman-0.4.2-0.1 and ruby 1.8.5 (2006-08-25) [x86_64-linux]
from the rpm's pulled from the foreman repo.

I've managed to configure the dashboard with partial features(facts,
graphs)

When attempting to send the reports from puppet to foreman it crashes
with
the error message

On the foreman side:
*** buffer overflow detected ***: /usr/bin/ruby terminated

On the puppetmaster side:
puppet: 2.7.9
Ruby: 1.9.2

debug: Processing report from hostname.com with processor
Puppet::Reports::Foreman
err: Report processor failed: Could not send report to Foreman at
http://hostname.com:3000/reports/create?format=yml: end of file
reached

Do you suppose the newer puppet master is the culprit??

http://pastebin.com/FzeRNb87

I'm using puppet masters that are 2.7.9 with no issues, so don't think
that's it.

Regards,
Jake

> Hi,
>
> I'm using
> foreman-0.4.2-0.1 and ruby 1.8.5 (2006-08-25) [x86_64-linux]
> from the rpm's pulled from the foreman repo.
>
> I've managed to configure the dashboard with partial features(facts,
> graphs)
>
> When attempting to send the reports from puppet to foreman it crashes
> with
> the error message
>
> On the foreman side:
> *** buffer overflow detected ***: /usr/bin/ruby terminated
>
>
> On the puppetmaster side:
> puppet: 2.7.9
> Ruby: 1.9.2

0.4.x doesnt really support ruby 1.9.x, 0.5 should work, but in both
cases, using 1.8.7 is probably a safer bet.

Ohad

··· On Tue, Mar 20, 2012 at 3:55 PM, kish wrote:

debug: Processing report from hostname.com with processor
Puppet::Reports::Foreman
err: Report processor failed: Could not send report to Foreman at
http://hostname.com:3000/reports/create?format=yml: end of file
reached

Do you suppose the newer puppet master is the culprit??

http://pastebin.com/FzeRNb87


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.

Thank you, I'll explore.

··· On Tue, Mar 20, 2012 at 8:20 PM, jmccann wrote: > I'm using puppet masters that are 2.7.9 with no issues, so don't think > that's it.

Thanks Ohad, will set to right versions.

··· On Tue, Mar 20, 2012 at 11:56 PM, Ohad Levy wrote: > 0.4.x doesnt really support ruby 1.9.x, 0.5 should work, but in both > cases, using 1.8.7 is probably a safer bet.