Project

General

Profile

Actions

Bug #38505

open

Only load Statuses which are "relevant" in Hosts Status Page

Added by David Ochner 4 days ago. Updated 4 days ago.

Status:
Ready For Testing
Priority:
Low
Assignee:
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:

Description

In the legacy UI only statuses which are "relevant" are show, which is checked here: https://github.com/theforeman/foreman/blob/678e81aa0b5d39227a12f5b10a5c30c125eaa6c0/app/helpers/host_description_helper.rb#L51
The new Hosts Status Page does not check this: https://github.com/theforeman/foreman/blob/678e81aa0b5d39227a12f5b10a5c30c125eaa6c0/app/controllers/hosts_controller.rb#L656C7-L656C46

Can be reproduced by installing the foreman_expire_host plugin. Every hosts status is broken and show NA/NA/NA/NA

Actions #1

Updated by The Foreman Bot 4 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/10576 added
Actions

Also available in: Atom PDF