Bug 1970271

Summary: [4.8.0] Add ProgressInfo to Agent and AgentClusterInstalll CRDs
Product: OpenShift Container Platform Reporter: Michael Filanov <mfilanov>
Component: assisted-installerAssignee: Fred Rolland <frolland>
assisted-installer sub component: assisted-service QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aos-bugs, frolland, nshidlin
Version: 4.8Keywords: Triaged
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: KNI-EDGE-JUKE-4.8 AI-Team-Hive
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1970270 Environment:
Last Closed: 2021-07-27 23:12:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1970270    
Bug Blocks:    

Description Michael Filanov 2021-06-10 08:10:30 UTC
+++ This bug was initially created as a clone of Bug #1970270 +++

Description of problem:

In order to be able to easily know in which stage the installation is, the ProgressInfo should be available in the Agent and AgentClusterInstall CRDs


For example for host:
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"`
}

Comment 3 nshidlin 2021-06-29 17:42:37 UTC
this bug doesn't block OCP4.8.0 -release -  the fix will be delivered the the ACM channel on the AI-operator add verified then

Comment 4 nshidlin 2021-07-05 13:25:54 UTC
Verified with ACM 2.3.0-DOWNSTREAM-2021-07-02-22-02-33

oc get agent 8373cb94-cda9-4194-9a49-2aab1f5738ba -o json | jq '.status.progress'                                                  
{
  "currentStage": "Waiting for bootkube",
  "stageStartTime": "2021-07-05T13:21:01Z",
  "stageUpdateTime": "2021-07-05T13:21:01Z"
}

Comment 6 errata-xmlrpc 2021-07-27 23:12:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438