Bug 1970271 - [4.8.0] Add ProgressInfo to Agent and AgentClusterInstalll CRDs
Summary: [4.8.0] Add ProgressInfo to Agent and AgentClusterInstalll CRDs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.8.0
Assignee: Fred Rolland
QA Contact: Yuri Obshansky
URL:
Whiteboard: KNI-EDGE-JUKE-4.8 AI-Team-Hive
Depends On: 1970270
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-10 08:10 UTC by Michael Filanov
Modified: 2021-07-27 23:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1970270
Environment:
Last Closed: 2021-07-27 23:12:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift assisted-service pull 2043 0 None open [ocm-2.3] Bug 1970271: Add Progress info to Agent Status 2021-06-20 14:10:10 UTC
Red Hat Bugzilla 1970270 1 high CLOSED [master] Add ProgressInfo to Agent and AgentClusterInstalll CRDs 2021-10-18 17:34:03 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:12:42 UTC

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


Note You need to log in before you can comment on or make changes to this bug.