Bug 2084496 - "Update blocked" label incorrectly displays on new minor versions in the "Other available paths" modal
Summary: "Update blocked" label incorrectly displays on new minor versions in the "Oth...
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.9.z
Assignee: Robb Hamilton
QA Contact: Yadan Pei
Depends On: 2083385
TreeView+ depends on / blocked
Reported: 2022-05-12 09:51 UTC by OpenShift BugZilla Robot
Modified: 2022-06-30 05:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-06-30 05:31:20 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 11484 0 None open [release-4.9] Bug 2084496: fix bug where "Update blocked" label incorrectly displa… 2022-05-13 12:32:02 UTC
Red Hat Product Errata RHBA-2022:5180 0 None None None 2022-06-30 05:31:54 UTC

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.


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