Undefined method `save' for true:TrueClass when running foreman-maintain command.

Solution Verified - Updated -

Issue

Running the foreman-maintain command is failing 'undefined method `save' for true:TrueClass' error, as we have on the output below.

]# foreman-maintain health check
Running ForemanMaintain::Scenario::FilteredScenario
================================================================================
Check for verifying syntax for ISP DHCP configurations:               [SKIPPED]
DHCP feature is not enabled
--------------------------------------------------------------------------------
undefined method `save' for true:TrueClass

Environment

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