Editing a HostGroup fails with "undefined method `each' for nil:NilClass" error

Solution Verified - Updated -

Issue

An attempt to edit a HostGroup fails with error Oops, we're sorry but something went wrong undefined methodname' for nil:NilClass. Subsequentforeman-rake errors:fetch_log request_id=..` command shows the exception from Diagnostic Steps.

Environment

Red Hat Satellite 6.10 (older versions probably also affected)

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