[Satellite 6.x] - Cannot provision a new host via Satellite 6. It throws the error message " Failed to generate PXELinux template: undefined method `each' for nil:NilClass"

Solution In Progress - Updated -

Issue

  • Cannot provision a new host via Satellite 6. It throws the error message:
 Failed to generate PXELinux template: undefined method `each' for nil:NilClass
ERF42-8894 [Foreman::Exception]: Unable to generate disk template: Failed to generate PXELinux template: undefined method `encoding' for nil:NilClass

Foreman::Exception
ERF42-8894 [Foreman::Exception]: Unable to generate disk template: Failed to generate PXELinux template: undefined method `encoding' for nil:NilClass
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Environment

  • Red Hat Satellite 6

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