Project

General

Profile

Actions

Bug #37017

closed

Configuration management reports fail to display

Added by Lars Wagner 11 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Reporting
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

After upgrading to foreman version 3.8 we can no longer view configuration management reports in the web gui. The error from the logfile is in the attached logfile.

The "bug" has been introduced by the change https://projects.theforeman.org/issues/36219

I was able to fix it temporarily by adding Symbol to the permitted_classes in the file /usr/share/foreman/app/models/report.rb:

    YAML.safe_load(read_metrics, permitted_classes: [Symbol, ActiveSupport::HashWithIndifferentAccess]).with_indifferent_access

Files

foreman_log.txt foreman_log.txt 18.6 KB Lars Wagner, 01/02/2024 01:06 PM
Actions #1

Updated by Lars Wagner 10 months ago

  • Status changed from New to Resolved

Looks like this has been fixed by #36786

Actions

Also available in: Atom PDF