Bug 1969324

Summary: [master] Remove Agent CRD Status fields not needed
Product: OpenShift Container Platform Reporter: Fred Rolland <frolland>
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, mfilanov, nshidlin
Version: 4.8Keywords: Triaged
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: KNI-EDGE-JUKE-4.8 AI-Team-Hive
Fixed In Version: OCP-Metal-v1.0.22.1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1970262 (view as bug list) Environment:
Last Closed: 2021-10-18 17:33:16 UTC Type: Bug
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:    
Bug Blocks: 1970262    

Description Fred Rolland 2021-06-08 08:23:45 UTC
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: {}

Comment 1 Michael Filanov 2021-06-08 11:35:09 UTC
more details in this doc https://docs.google.com/document/d/1sHxNQIYoClNCnqMIH_3YXE75-FwoagB9VtJMKlAiwzQ/edit

Comment 2 Fred Rolland 2021-06-10 07:23:37 UTC
Remove following fields and related structs:

StateUpdatedTime
LogsCollectedTime
InstallerVersion
UpdateTime
CheckedInTime
DiscoveryAgentVersion
ValidationInfo
Connectivity
APIVipConnectivity

Comment 3 Fred Rolland 2021-06-10 07:24:32 UTC
also struct AgentReference can be removed for now.

Comment 6 errata-xmlrpc 2021-10-18 17:33:16 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.9.0 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:3759