How to get Ubuntu hosts to show green status in Foreman despite missing Errata data?

Hello,

I’m using Foreman/Katello to manage a mix of systems, including several Ubuntu hosts. These machines are correctly registered, and katello-host-tools is installed. Package and repository data are reported successfully, and I can see them under the Content tab.

However, the global host status remains orange due to the missing Errata information, which I understand is expected since Ubuntu doesn’t provide structured Errata metadata like RHEL-based systems do?!

Is there a recommended way to suppress or exclude the Errata status from the host status calculation for these Ubuntu hosts? Ideally, I’d like them to show a green status if everything else is healthy, even though Errata can’t be evaluated.

Any tips on how to achieve this?

Thanks in advance!

1 Like

Hi! I looked through the Katello source and there isn’t anything that directly skips errata host facet calculations. The host is either “up to date” and green or displaying a warning/error. If I’m wrong, please feel free to correct me.

I’ll file a feature request for this issue since it seems like it will greatly enhance the usefulness of our host status indicator for non-EL users. Will update shortly.

1 Like

I’ve submitted #38890 as a feature request and we’ll triage it shortly. I’m a big fan of this idea :slight_smile:

1 Like

Host statuses have a relevant? method which can be used to mark them irrelevant if certain conditions exist. I think this sounds like a good match for that.

1 Like

Oh great – thanks a lot for creating the feature request! I’m really looking forward to seeing it implemented. :wink: