Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1968178

Summary: Agent Conditions do not reflect current stage and progress info
Product: OpenShift Container Platform Reporter: Fred Rolland <frolland>
Component: assisted-installerAssignee: Michael Filanov <mfilanov>
assisted-installer sub component: assisted-service QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: aos-bugs
Version: 4.8   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AI-Team-Hive KNI-EDGE-JUKE-4.8
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-16 07:54:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fred Rolland 2021-06-06 14:14:14 UTC
Description of problem:
Agent Conditions do not reflect current stage and progress info

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Install cluster using CRD
2. Watch agent CR conditions during installation

Actual results:
Installed	The installation is in progress: Writing image to disk

Expected results:
Installed	The installation is in progress: Writing image to disk: 93%

Additional info:
Note that there is a field in Agent CRD Status that is not populated:

Progress HostProgressInfo

type HostProgressInfo struct {
	CurrentStage models.HostStage `json:"currentStage,omitempty"`
	ProgressInfo string           `json:"progressInfo,omitempty"`
	// Name in REST API: stage_started_at
	StageStartTime string `json:"stageStartTime,omitempty"`
	// Name in REST API: stage_updated_at
	StageUpdateTime string `json:"stageUpdateTime,omitempty"`
}

Need to decide if we use this field or conditions

Comment 1 Michael Filanov 2021-06-06 14:21:32 UTC
I think that it can go into debug info. There are to many progress stages to make all of them into conditions and there is a different progress between master/worker/boostrap. 
Progress Info depend on the role of the host, besides knowing the current state users can't really do anything with this information.
@atraeger @mhrivnak what do you think?

Comment 2 Michael Filanov 2021-06-16 07:54:21 UTC

*** This bug has been marked as a duplicate of bug 1970270 ***