Feature #10782
closedAdd global status for hosts
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.
Updated by Tomáš Strachota over 9 years ago
- Related to Feature #4151: Add STI to reports and allow for registering new report types added
Updated by The Foreman Bot about 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2580 added
- Pull request deleted (
)
Updated by Dominic Cleal about 9 years ago
- Assignee changed from Tomáš Strachota to Marek Hulán
- Translation missing: en.field_release set to 63
Updated by Marek Hulán about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset e54016da688f5f91f52dfc68b33bd4e3275e6cac.
Updated by Stephen Benjamin about 9 years ago
- Related to Feature #11699: Use new ConfigurationStatus for Salt report importing added
Updated by Ohad Levy about 9 years ago
- Related to Bug #11704: Configuration no report appears as "green" icon added
Updated by Lukas Zapletal about 9 years ago
- Related to Bug #11707: Unmanaged host detail status table is broken added
Updated by Lukas Zapletal about 9 years ago
- Related to Bug #11708: New status code broke discovery plugin API added
Updated by Lukas Zapletal about 9 years ago
- Related to Feature #11710: Use global status for Discovery added
Updated by Dominic Cleal about 9 years ago
- Related to Bug #11771: Saving host without particular status fails added
Updated by Ohad Levy about 9 years ago
- Related to Bug #11834: host status migration is very slow added
Updated by Ohad Levy about 9 years ago
- Related to Bug #11835: db migration fail on report status added
Updated by Marek Hulán about 9 years ago
- Related to Feature #11872: Add a compliance status using Foreman 1.10 API added
Updated by Greg Sutcliffe almost 9 years ago
- Related to Feature #12213: Support for preferring a particular host status in the global view added
Updated by Dominic Cleal over 8 years ago
- Related to Bug #13456: Different Icon for Pending changes ? added
Updated by Dominic Cleal over 8 years ago
- Related to Bug #13939: API v1 hosts rabl references deprecated puppet_status call added
Updated by Dominic Cleal over 8 years ago
- Related to Bug #14501: Global status icon does not indicate active or pending configuration status added
Updated by Marek Hulán over 8 years ago
- Related to Bug #15213: DHCP conflict detection fails with exception if proxy is unavailable added
Updated by Marek Hulán over 8 years ago
- Related to Bug #15362: Global status audit display status numbers instead of label added
Updated by Tomer Brisker about 8 years ago
- Related to Refactor #15849: Improve performance of host global status updates added
Updated by Marek Hulán over 7 years ago
- Related to Bug #17897: Response of the api to get host status in the apidoc is incorrect with the actuals added
Updated by Tomer Brisker over 4 years ago
- Related to Refactor #28585: drop deprecated host status endpoint added