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

Bug 1970265

Summary: [4.8.0] Add State and StateInfo to DebugInfo in ACI and Agent 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: 1970261 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: 1970261    
Bug Blocks:    

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

Description of problem:

In order to increase debugability add the state and state info to the DebugInfo in Agent and AgentClusterInstall CRDs

Comment 3 nshidlin 2021-06-24 11:46:51 UTC
Verified with acm_snapshot: 2.3.0-DOWNSTREAM-2021-06-23-22-07-39

oc get agentclusterinstall sno-0 -o json | jq '.status.debugInfo'
{
  "eventsURL": "https://assisted-service-rhacm.apps.sealusa11-cluster-assisted-0.qe.lab.redhat.com/api/assisted-install/v1/clusters/dc24673a-e6ad-43ad-bd0b-f81993ede2ea/events?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiZGMyNDY3M2EtZTZhZC00M2FkLWJkMGItZjgxOTkzZWRlMmVhIn0.jRLYjkfcnB34eJo0x4HLczSahutqFcb8wB1zR9E8XG51QvnvuahlbX7P4iJHsz8xSnoJ6k9eCJp2pWrhSaZ19Q",
  "logsURL": "https://assisted-service-rhacm.apps.sealusa11-cluster-assisted-0.qe.lab.redhat.com/api/assisted-install/v1/clusters/dc24673a-e6ad-43ad-bd0b-f81993ede2ea/logs?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiZGMyNDY3M2EtZTZhZC00M2FkLWJkMGItZjgxOTkzZWRlMmVhIn0.ajywAnyY6yWMEk-Dz5dT_LIPg9x-sAhBgc3Qjyb04xldgcIIbsMLZ5TihPuOd_yV6c1QxObBoU0ccxHFEHRpRA",
  "state": "installed",
  "stateInfo": "Cluster is installed"
}

oc get agent 5d32e150-0171-473b-82a5-bba141dffae8 -o json | jq '.status.debugInfo'
{
  "eventsURL": "https://assisted-service-rhacm.apps.sealusa11-cluster-assisted-0.qe.lab.redhat.com/api/assisted-install/v1/clusters/dc24673a-e6ad-43ad-bd0b-f81993ede2ea/events?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiZGMyNDY3M2EtZTZhZC00M2FkLWJkMGItZjgxOTkzZWRlMmVhIn0.5WS4yDlbrZAFEU1RWaLkn0DE7jJIGuvAftu_-x9EyZzQDvjl30DsQABbtftVo6k_Ni2JYQ0W3br4zMA3CkTS6A&host_id=5d32e150-0171-473b-82a5-bba141dffae8",
  "state": "installed",
  "stateInfo": "Done"
}

Comment 5 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