Bug 2081067 - admin dev-console /settings/cluster should point out history may be excerpted
Summary: admin dev-console /settings/cluster should point out history may be excerpted
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.11.0
Assignee: Robb Hamilton
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-02 16:52 UTC by W. Trevor King
Modified: 2022-08-10 11:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:09:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11472 0 None open Bug 2081067: add help text indicating Cluster history may be excerpted 2022-05-10 18:57:39 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:10:20 UTC

Description W. Trevor King 2022-05-02 16:52:25 UTC
Since 4.1 [1], the cluster-version operator has pruned ClusterVersion status.history to cap it at 50 entries.  The "Update history" section around [2] should grow an explanatory paragraph like the API has had in godocs since we landed the property [3], and which we still have today [4]:

  history contains a list of the most recent versions applied to the cluster. 
 This value may be empty during cluster startup, and then will be updated when a new update is being applied. The newest update is first in the list and it is ordered by recency. Updates in the history have state Completed if the rollout completed - if an update was failing or halfway applied the state will be Partial. Only a limited amount of update history is preserved.

With the key addition being that final sentence.

As described above, the possibility of history being elided dates back to 4.1, so a web-console context paragraph could be taken back as far as folks want.  Personally, this seems fairly cosmetic, so I'd be fine if it was only fixed in 4.11 and later, or having it taken back as far as the console folks want, either way.

[1]: https://github.com/openshift/cluster-version-operator/blob/fc7d096f5fcde2758dafd1ce968601cd774479f4/pkg/cvo/status.go#L130-L131
[2]: https://github.com/openshift/console/blob/26b3c07a8db4660f21e2fabfbfb7d23f73150247/frontend/public/components/cluster-settings/cluster-settings.tsx#L1219-L1222
[3]: https://github.com/openshift/api/commit/cae4137f1a7f94f91916f2affc4a2e3f7c02ce31#diff-1b89ebfc7018fedcaa25a406ba7d376d0aa0f025a416bd286238899b6ab7ba91R86
[4]: https://github.com/openshift/api/blame/b25f69a603a76ccc809f986c9f5811f0825febbb/config/v1/types_cluster_version.go#L98-L104

Comment 2 Yanping Zhang 2022-05-17 12:39:13 UTC
Checked on ocp 4.11 cluster with payload 4.11.0-0.nightly-2022-05-17-060006.
Check on clustersettings details page, now under "Update history" there is a help text "There is a threshold for rendering update data which may cause gaps in the information below."
The bug is fixed.

Comment 5 errata-xmlrpc 2022-08-10 11:09:59 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 (Important: OpenShift Container Platform 4.11.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-2022:5069


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