Project

General

Profile

Actions

Feature #10782

closed

Add global status for hosts

Added by Tomáš Strachota over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Reporting
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

As a support for OpenScap reports and other future types of reports, we need to add a global status to hosts.

Host will have one generic overall status (error, warning, ok) and it's transitions will be caused by other specific statuses. Statuses (e.g. puppet status) will be extracted to separate entity and will be
changed when puppet report is imported (by PuppetReportImporter). This means we need a way to register new report types and importers from plugin (exactly the same we have for facts now). Reports will probably only differ in metrics and their own statuses, therefore we should make metrics optional and mapping to global status should be different per specific status.

User stories:
- As a developer I want to have global host state with developer API allowing me to change it easily.
- As a developer I want to register new host status type and define mapping between it and host global state.
- As a user I want to be able to search based on host global status.
- As a user I want to see the overall host status derived from all report types statuses.


Related issues 19 (5 open14 closed)

Related to Foreman - Feature #4151: Add STI to reports and allow for registering new report typesClosedShlomi Zadok01/21/2014Actions
Related to Salt - Feature #11699: Use new ConfigurationStatus for Salt report importingClosed09/04/2015Actions
Related to Foreman - Bug #11704: Configuration no report appears as "green" iconClosedMarek Hulán09/06/2015Actions
Related to Foreman - Bug #11707: Unmanaged host detail status table is brokenClosedMarek Hulán09/07/2015Actions
Related to Discovery - Bug #11708: New status code broke discovery plugin APIClosed09/07/2015Actions
Related to Discovery - Feature #11710: Use global status for DiscoveryNew09/07/2015Actions
Related to Foreman - Bug #11771: Saving host without particular status failsClosedDominic Cleal09/10/2015Actions
Related to Foreman - Bug #11834: host status migration is very slowClosedMarek Hulán09/15/2015Actions
Related to Foreman - Bug #11835: db migration fail on report statusClosedDominic Cleal09/15/2015Actions
Related to OpenSCAP - Feature #11872: Add a compliance status using Foreman 1.10 APIClosedOndřej Pražák09/17/2015Actions
Related to Foreman - Feature #12213: Support for preferring a particular host status in the global viewNew10/19/2015Actions
Related to Foreman - Bug #13456: Different Icon for Pending changes ?New01/28/2016Actions
Related to Foreman - Bug #13939: API v1 hosts rabl references deprecated puppet_status callClosedDominic Cleal02/29/2016Actions
Related to Foreman - Bug #14501: Global status icon does not indicate active or pending configuration statusNew04/06/2016Actions
Related to Foreman - Bug #15213: DHCP conflict detection fails with exception if proxy is unavailableClosedMarek HulánActions
Related to Foreman - Bug #15362: Global status audit display status numbers instead of labelClosedMarek Hulán06/09/2016Actions
Related to Foreman - Refactor #15849: Improve performance of host global status updatesNew07/27/2016Actions
Related to Foreman - Bug #17897: Response of the api to get host status in the apidoc is incorrect with the actualsClosedMarek Hulán01/03/2017Actions
Related to Foreman - Refactor #28585: drop deprecated host status endpointClosedTomer BriskerActions
Actions

Also available in: Atom PDF