Project

General

Profile

Actions

Bug #34096

open

Error getting hosts API when prometheus support is enabled

Added by Eric Helms over 2 years ago.

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

Description

2021-12-06T14:32:38 [I|app|2f88d004] Backtrace for 'Action failed' error (NoMethodError): undefined method `increment' for nil:NilClass
 2f88d004 | /usr/share/foreman/lib/foreman/telemetry_sinks/prometheus_sink.rb:31:in `increment_counter'
 2f88d004 | /usr/share/foreman/lib/foreman/telemetry.rb:126:in `block in increment_counter'
 2f88d004 | /usr/share/foreman/lib/foreman/telemetry.rb:126:in `each'
 2f88d004 | /usr/share/foreman/lib/foreman/telemetry.rb:126:in `increment_counter'
 2f88d004 | /usr/share/foreman/lib/foreman/telemetry.rb:79:in `block in register_rails'

No data to display

Actions

Also available in: Atom PDF