Bug 2084496

Summary: "Update blocked" label incorrectly displays on new minor versions in the "Other available paths" modal
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.11CC: jhadvig, yapei
Target Milestone: ---   
Target Release: 4.9.z   
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: 2022-06-30 05:31:20 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: 2083385    
Bug Blocks:    

Description OpenShift BugZilla Robot 2022-05-12 09:51:53 UTC
+++ This bug was initially created as a clone of Bug #2083385 +++

+++ This bug was initially created as a clone of Bug #2083149 +++

Created attachment 1878088 [details]
Screenshot of bug

Description of problem:  https://github.com/openshift/console/blob/d33daabd7755d28627f09cc5b6e64ff4d3362e4a/frontend/public/components/modals/cluster-more-updates-modal.tsx#L51 does not include a `!!getConditionUpgradeableFalse(cv)` but should.  As a result, the `Update blocked` badge is incorrectly displaying for any version that is newer than the current minor version.


How reproducible:  Always


Steps to Reproduce:
1. Visit /settings/cluster using a 4.9.31 cluster
2. Click `+More`
3. Note the 4.10.12 listing incorrectly has a `Update blocked` label beside t

--- Additional comment from rhamilto on 2022-05-09 13:10:44 UTC ---

Amend step 1 above:  Visit /settings/cluster using a 4.9.31 cluster with channel set to `candidate-4.10`

Comment 1 Robb Hamilton 2022-06-01 12:12:18 UTC
Ya Dan, can you please verify?

Comment 2 Yadan Pei 2022-06-09 01:04:39 UTC
verified prior merging

Comment 4 Yadan Pei 2022-06-20 01:27:40 UTC
PR has been verified prior merging

Comment 7 errata-xmlrpc 2022-06-30 05:31:20 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 (OpenShift Container Platform 4.9.40 bug fix 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/RHBA-2022:5180