theforeman/foreman · error · Foreman::Exception
Unsupported report status format
Error message
Unsupported report status format
What it means
Error "Unsupported report status format" thrown in theforeman/foreman.
Source
Thrown at app/models/config_report.rb:64
def self.import(report, proxy_id = nil)
ConfigReportImporter.import(report, proxy_id)
end
# puppet report status table column name
def self.report_status_column
"status"
end
# a method that save the report values (e.g. values from METRIC)
# it is not supported to edit status values after it has been written once.
def status=(st)
s = case st
when Integer
st
when Hash
ConfigReportStatusCalculator.new(:counters => st).calculate
else
raise Foreman::Exception(N_('Unsupported report status format'))
end
self[:status] = s
end
def config_retrieval
metrics[:time][:config_retrieval].round(2) rescue 0
end
def runtime
(metrics[:time][:total] || metrics[:time].values.sum).round(2) rescue 0
end
# returns a hash of hosts and their recent reports metric counts which have values
# e.g. non zero metrics.
# first argument is time range, everything afterwards is a host list.
# TODO: improve SQL query (so its not N+1 queries)
def self.summarise(time = 1.day.ago, *hosts)
list = {}View on GitHub (pinned to 6b05625475)
When it happens
Trigger: Thrown at app/models/config_report.rb:64 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of theforeman/foreman@6b05625475 (2026-08-23).
Data as JSON: /api/errors/9e47c5a37e2bef90.
Report an issue: GitHub.