Project

General

Profile

Actions

Bug #18029

open

When a build is pending, host status stays as Error, when it should change to no reports

Added by Iain Hallam over 7 years ago. Updated over 7 years ago.

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

Description

I decided to rebuild a host that was showing errors, and clicked the Build button in the UI. The Build field changed to "Pending installation" but the Status stayed as "Error". Shouldn't this change to "No reports"?

As an aside, I actually preferred the dashboard view before Build was separated from Status, as you could see how many hosts were pending installation in the dashboard instead of having to guess that they would be elsewhere. Some solution that allowed the dashboard to report how many hosts were simply pending installation would be great.

Actions #1

Updated by Dominic Cleal over 7 years ago

  • Category set to Reporting

but the Status stayed as "Error". Shouldn't this change to "No reports"?

Please provide the individual statuses shown in the status icon tooltip. Is it the Configuration status that's showing an error, or only the overall status?

Actions #2

Updated by Iain Hallam over 7 years ago

Dominic Cleal wrote:

Please provide the individual statuses shown in the status icon tooltip. Is it the Configuration status that's showing an error, or only the overall status?

In the tooltip, I'm shown the Build status and Configuration status, while the overall status is the icon:

(Overall: Error)
Build: Pending installation
Configuration: No reports

The Build and Configuration statuses are correct, but this is not an error state, and shouldn't be shown as an error in the Dashboard. I guess the best fix from my point of view would be to bring back the blue "B" icon as an overall status, which would then group differently in the Dashboard and show in the host list.

I'm uncertain what should be shown if the build token expires - it's an error state, but it could get confusing if the Dashboard shows all errors in one lump without differentiation between a Foreman error and a Puppet error.

Actions

Also available in: Atom PDF