Project

General

Profile

Actions

Feature #10782

closed

Add global status for hosts

Added by Tomáš Strachota almost 9 years ago. Updated almost 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 #1

Updated by Tomáš Strachota almost 9 years ago

  • Related to Feature #4151: Add STI to reports and allow for registering new report types added
Actions #2

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2580 added
  • Pull request deleted ()
Actions #3

Updated by Dominic Cleal over 8 years ago

  • Assignee changed from Tomáš Strachota to Marek Hulán
  • translation missing: en.field_release set to 63
Actions #4

Updated by Marek Hulán over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Stephen Benjamin over 8 years ago

  • Related to Feature #11699: Use new ConfigurationStatus for Salt report importing added
Actions #6

Updated by Ohad Levy over 8 years ago

  • Related to Bug #11704: Configuration no report appears as "green" icon added
Actions #7

Updated by Lukas Zapletal over 8 years ago

  • Related to Bug #11707: Unmanaged host detail status table is broken added
Actions #8

Updated by Lukas Zapletal over 8 years ago

  • Related to Bug #11708: New status code broke discovery plugin API added
Actions #9

Updated by Lukas Zapletal over 8 years ago

Actions #10

Updated by Dominic Cleal over 8 years ago

  • Related to Bug #11771: Saving host without particular status fails added
Actions #11

Updated by Ohad Levy over 8 years ago

  • Related to Bug #11834: host status migration is very slow added
Actions #12

Updated by Ohad Levy over 8 years ago

  • Related to Bug #11835: db migration fail on report status added
Actions #13

Updated by Marek Hulán over 8 years ago

  • Related to Feature #11872: Add a compliance status using Foreman 1.10 API added
Actions #14

Updated by Greg Sutcliffe over 8 years ago

  • Related to Feature #12213: Support for preferring a particular host status in the global view added
Actions #15

Updated by Dominic Cleal about 8 years ago

  • Related to Bug #13456: Different Icon for Pending changes ? added
Actions #16

Updated by Dominic Cleal about 8 years ago

  • Related to Bug #13939: API v1 hosts rabl references deprecated puppet_status call added
Actions #17

Updated by Dominic Cleal about 8 years ago

  • Related to Bug #14501: Global status icon does not indicate active or pending configuration status added
Actions #18

Updated by Marek Hulán almost 8 years ago

  • Related to Bug #15213: DHCP conflict detection fails with exception if proxy is unavailable added
Actions #19

Updated by Marek Hulán almost 8 years ago

  • Related to Bug #15362: Global status audit display status numbers instead of label added
Actions #20

Updated by Tomer Brisker over 7 years ago

  • Related to Refactor #15849: Improve performance of host global status updates added
Actions #21

Updated by Marek Hulán about 7 years ago

  • Related to Bug #17897: Response of the api to get host status in the apidoc is incorrect with the actuals added
Actions #22

Updated by Tomer Brisker over 4 years ago

Actions

Also available in: Atom PDF