Foreman new UI lists "out of sync nodes" hosts as OK

Foreman and Proxy versions: 3.17.0

Foreman and Proxy plugin versions:

  • foreman-tasks: 11.0.6
  • foreman_remote_execution: 16.3.1
  • foreman-dynflow-sidekiq: 3.17.0

Distribution and version: AlmaLinux 9.x (from the command above)

Expected behavior:
Hosts with configuration reports older than 90 minutes (outofsync_interval setting) should display with warning/yellow status icon in the host list.

Actual behavior:
New UI (/new/hosts) shows all hosts with green/OK status icons, regardless of last report age. Legacy UI (/hosts) correctly shows warning status for out-of-sync hosts.

Steps to reproduce:

  1. Have hosts with last report > 90 minutes ago
  2. Verify hammer host info --name <hostname> shows “Global Status: Warning”
  3. View hosts in new UI - all show green
  4. Remove /new from URL - correctly shows warning/yellow status

Workaround:
Set hammer settings set --name new_hosts_page --value false to force legacy UI globally on Hosts list.

If there is a difference between the displayed status on the old and new pages, I’m guessing it’s because the status is not recalculated when the new UI makes the request for hosts. I’m also assuming this affects any host status calculation, rather than a specific one.

I have opened Bug #39068: Host status is not recalculated on new All Hosts page, leading to stale values possibly being displayed - Foreman for investigation.

@jeremylenz Thanks for opening the bug!
P.S: I’m not able to access the link though.