Bug 1970265 - [4.8.0] Add State and StateInfo to DebugInfo in ACI and Agent CRDs
Summary: [4.8.0] Add State and StateInfo to DebugInfo in ACI and Agent 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: 1970261
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-10 08:00 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: 1970261
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 1984 0 None open [ocm-2.3] Bug 1970265: Populate State and StateInfo and move to DebugInfo in CRDs 2021-06-14 11:06:21 UTC
Red Hat Bugzilla 1970261 1 high CLOSED [master] Add State and StateInfo to DebugInfo in ACI and Agent 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: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


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