Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-42220

Host status is not recalculated on new All Hosts page, leading to stale values possibly being displayed

XMLWordPrintable

    • None
    • None
    • None
    • None
    • Yes

      https://community.theforeman.org/t/foreman-new-ui-lists-out-of-sync-nodes-hosts-as-ok/45668

       

      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.

              Unassigned Unassigned
              satellite-jira-automation@redhat.com Satellite Jira-Automation
              Ladislav Vasina Ladislav Vasina
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: