Ask Your Question
0

Error: Could not send report: Error 400 on SERVER: fork is not available on this platform

asked 2014-12-22 15:43:08 -0500

RobN gravatar image

I have recently just re installed the new version of puppet enterprise (3.7.0), and I noticed I was not receiving any reports from the master. When I ran a puppet agent -t on the master I received this error:

Error: Could not send report: Error 400 on SERVER: fork is not available on this platform

There is no Cent OS package called "fork", and I am not sure how to resolve.

edit retag flag offensive close merge delete

Comments

This error indicates that jruby does not support fork (http://stackoverflow.com/questions/21426706/delayed-job-gem-notimplementederror-fork-is-not-available-on-this-platform), but the question is why are you encountering this problem. Do you have the same problem on a fresh install vs. a reinstall?

GregLarkin gravatar imageGregLarkin ( 2014-12-23 00:34:37 -0500 )edit

I only did a fresh install as we completely wiped out the master and started from scratch. I said re-install above, but really it was a fresh install of both OS CentOS 6.6 and pe 3.7.0. I know very little about ruby or rails, but thanks for the tip I will search for that package to install.

RobN gravatar imageRobN ( 2014-12-23 07:22:25 -0500 )edit

Which report processor(s) do you have configured on the master? Can you post the entire error message + stacktrace from /var/log/pe-puppetserver/puppetserver.log ? Are you, by any chance, using tagmail?

Kevin Corcoran gravatar imageKevin Corcoran ( 2014-12-23 10:19:21 -0500 )edit

PE should install all necessary packages, including ruby, etc, and they are named "pe-...". That's done so we don't stomp on other packages you might have installed (httpd, ruby, etc). Please run "puppet agent -t --debug --trace" and post a link to a pastebin of the output for further debugging.

GregLarkin gravatar imageGregLarkin ( 2014-12-23 12:24:10 -0500 )edit

http://pastebin.com/XDr631bS

RobN gravatar imageRobN ( 2014-12-23 13:00:19 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-12-23 13:41:19 -0500

Kevin Corcoran gravatar image

Tagmail no longer works in Puppet Enterprise as of version 3.7.0 - see https://tickets.puppetlabs.com/browse...

It will be deleted entirely from open-source Puppet in version 4.0 - see https://tickets.puppetlabs.com/browse...

There is a plan to create a new module for the tagmail report processor or something similar - but it was functionality that needed to move out of the core platform for the time being.

edit flag offensive delete link more

Comments

So how do I get emailed changed reports?

RobN gravatar imageRobN ( 2014-12-26 07:28:11 -0500 )edit
0

answered 2014-12-23 14:20:35 -0500

GregLarkin gravatar image

The tagmail report processor fails on puppetserver (see: https://tickets.puppetlabs.com/browse... ) because the fork system call is not supported in JRuby. There is a potential workaround in one of the comments in the ticket, but it will require changing some code used by Puppet.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-12-22 15:43:08 -0500

Seen: 349 times

Last updated: Dec 23 '14