Satellite 6: Puppet agent is failing with "Error: Could not send report: Error 500 on SERVER" .

Solution Verified - Updated -

Issue

  • When a satellite client tries to upload the catalog to the puppet master after an action, it fails with :
Error: Could not send report: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
  • Apache error logs on satellite server
 ==> /var/log/httpd/error_log <==

Unexpected error in mod_passenger: An error occured while buffering HTTP upload data to a temporary file in /tmp/passenger.1.0.4094/generation-0/buffered_uploads. This directory doesn't exist, so please make sure that this directory exists, or set the 'PassengerUploadBufferDir' directive to a directory that exists and can be written to.
  Backtrace:
     in 'boost::shared_ptr<Passenger::BufferedUpload> Hooks::receiveRequestBody(request_rec*)' (Hooks.cpp:1202)
     in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:532)

Environment

  • Red Hat Satellite 6
  • Puppet

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content