Bug 1970262 - [4.8.0] Remove Agent CRD Status fields not needed
Summary: [4.8.0] Remove Agent CRD Status fields not needed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Fred Rolland
QA Contact: Yuri Obshansky
URL:
Whiteboard: KNI-EDGE-JUKE-4.8 AI-Team-Hive
Depends On: 1969324
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-10 07:56 UTC by Michael Filanov
Modified: 2021-07-27 23:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1969324
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 2007 0 None open [ocm-2.3] Bug 1970262: Remove unused fields in CRDs 2021-06-15 09:34:34 UTC
Red Hat Bugzilla 1969324 1 medium CLOSED [master] Remove Agent CRD Status fields not needed 2021-10-18 17:33:36 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 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


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