Project

General

Profile

Actions

Bug #36218

closed

undefined method `host_monitoring_result_icon_class' for #<ActionView::Base:0x000000001698d8> Did you mean? host_config_reports_url

Added by sean mitchuson about 1 year ago. Updated about 1 year ago.

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

Description

When we navigate from the monitor > Dashboard > and click on any of our "new hosts" we are getting the error in the subject line.

Here is the section of the foreman rake error log to show whats coming up for us. This is a fresh install and at this point all we're doing is testing deployments and everything seems to deploy fine but we were just curious what might be causing this error so we can fix it.

2023-03-22T12:07:25 [I|app|8f1fa823] Started GET "/hosts/tmr2-fmtest.uanet.edu" for xx.xx.xx.xx at 2023-03-22 12:07:25 -0400
2023-03-22T12:07:25 [I|app|8f1fa823] Processing by HostsController#show as HTML
2023-03-22T12:07:25 [I|app|8f1fa823] Parameters: {"id"=>"sanitizednodename.domain.com"}
2023-03-22T12:07:26 [I|app|8f1fa823] Rendered hosts/show.html.erb within layouts/application (Duration: 209.0ms | Allocations: 52469)
2023-03-22T12:07:26 [I|app|8f1fa823] Rendered layout layouts/application.html.erb (Duration: 209.2ms | Allocations: 52524)
2023-03-22T12:07:26 [W|app|8f1fa823] undefined method `host_monitoring_result_icon_class' for #<ActionView::Base:0x000000001698d8>
8f1fa823 | Did you mean? host_config_reports_url
2023-03-22T12:07:26 [I|app|8f1fa823] Backtrace for 'undefined method `host_monitoring_result_icon_class' for #<ActionView::Base:0x000000001698d8>
8f1fa823 | Did you mean? host_config_reports_url' error (ActionView::Template::Error): undefined method `host_monitoring_result_icon_class' for #<ActionView::Base:0x000000001698d8>
8f1fa823 | Did you mean? host_config_reports_url

We are currently on version 3.5.1

Thanks and let me know if you need any other information.

Actions #1

Updated by Ewoud Kohl van Wijngaarden about 1 year ago

  • Status changed from New to Rejected

This is actually a bug in https://github.com/theforeman/foreman_monitoring, which defines the host_monitoring_result_icon_class method. That project uses GitHub issues, so I can't move it over. Could you file a bug there?

Actions

Also available in: Atom PDF