Bug 1728841

Summary: The cluster update modal does not sort updates in its dropdown
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.1.zCC: aos-bugs, jokerman, mmccomas, wking, wsun
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-16 06:33:23 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:
Attachments:
Description Flags
expected dropdown list none

Description Samuel Padgett 2019-07-10 18:36:31 UTC
We should sort the available updates with the most recent first.

Comment 1 Samuel Padgett 2019-07-10 18:37:33 UTC
https://github.com/openshift/console/pull/1984

Comment 2 W. Trevor King 2019-10-04 17:34:27 UTC
Merged way back on July 11th [1].  No idea why the Bugzilla bot didn't mark this MODIFIED when the PR landed.  Checking 4.2 RCs:

$ oc adm release info --commits quay.io/openshift-release-dev/ocp-release:4.2.0-rc.1 | grep console
  console                                       https://github.com/openshift/console                                       4add1e0a27ec21af3ff460d657852f1fba36f3fe
  ...
$ git log --oneline 4add1e0a27ec21af3ff460d657852f1fba36f3fe | grep bf925a3fa
bf925a3fa Sort updates most recent first in cluster update modal

So I'm moving this to ON_QA.

[1]: https://github.com/openshift/console/pull/1984#event-2475821354

Comment 3 W. Trevor King 2019-10-04 18:01:34 UTC
Back to MODIFIED so ARTs sweeper will put these in errata.

Comment 5 Yanping Zhang 2019-10-08 07:33:39 UTC
Setuped a ocp 4.2 env with payload 4.2.0-0.ci-2019-10-07-080755. Checked on cluster setting page, in the update dropdown list, the available updates are sorted by time, the latest update is at top.
The bug has been fixed, move it Verified.

Comment 6 Yanping Zhang 2019-10-08 07:34:24 UTC
Created attachment 1623432 [details]
expected dropdown list

Comment 7 errata-xmlrpc 2019-10-16 06:33:23 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, 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/RHBA-2019:2922