Created attachment 1282444 [details] Host status type icons A new section must be added to the 'Configuring Hosts' chapter after the 'Browsing Hosts' section that outlines the different host status types and what they mean.
There are three main status types - * Error An error has been detected on the host. Click the host to see a more granular report of issues. For example, when a host is in error status, the 'Configuration', 'Compliance', and 'Subscription' fields appear, and show the status of each element. * Warning The host has been configured, but no reports have been collected for that host during the last reporting interval. * Ok There are no pending actions on the host, no pending changes, and no errors over the last reporting interval. See the following section of the OSP documentation for some more details of the 'Error' and 'OK' status types, and a basic introduction - https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/html-single/Installer_and_Foreman_Guide/index.html#Host_Status_Types
Code snippet reference - if error? # error return HostStatus::Global::ERROR elsif out_of_sync? # out of sync return HostStatus::Global::WARN elsif no_reports? && (host.configuration? || Setting[:always_show_configuration_status]) # no reports and configuration is set return HostStatus::Global::WARN else # active, pending, no changes, no reports (or host not setup for configuration) return HostStatus::Global::OK end
Assigning to Sergei for review. Sergei - another piece in the puzzle for hosts. :) We can take most of the details from the above, and it would be good to have a table with the icon in the first column, the status type in the second column, and a description of the status type in the third column.
Created attachment 1282445 [details] Host status type icons
These changes are now live on the Custom Portal. Thank you
Hello, these changes are now live on the Custom Portal. Thank you