Bug 1970262

Summary: [4.8.0] Remove Agent CRD Status fields not needed
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: medium    
Priority: medium CC: aos-bugs, frolland, mfilanov, 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: 1969324 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: 1969324    
Bug Blocks:    

Description Michael Filanov 2021-06-10 07:56:57 UTC
+++ This bug was initially created as a clone of Bug #1969324 +++

Description of problem:

These fields are not populated in the code:
State, StateInfo, StateUpdatedTime, LogsCollectedTime, InstallerVersion, UpdateTime, CheckedInTime, Hostname, Bootstrap, DiscoveryAgentVersion, ValidationInfo, Connectivity, APIVipConnectivity, NtpSources

 

Also some of them will appear as empty always:

 
hostValidationInfo:
hardware: {}
network: {}
progress: {}

--- Additional comment from mfilanov on 20210608T11:35:09

more details in this doc https://docs.google.com/document/d/1sHxNQIYoClNCnqMIH_3YXE75-FwoagB9VtJMKlAiwzQ/edit

--- Additional comment from frolland on 20210610T07:23:37

Remove following fields and related structs:

StateUpdatedTime
LogsCollectedTime
InstallerVersion
UpdateTime
CheckedInTime
DiscoveryAgentVersion
ValidationInfo
Connectivity
APIVipConnectivity

--- Additional comment from frolland on 20210610T07:24:32

also struct AgentReference can be removed for now.

Comment 4 nshidlin 2021-06-24 13:14:34 UTC
Verified with acm_snapshot: 2.3.0-DOWNSTREAM-2021-06-23-22-07-39
CRD attached

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