Bug 1838872 - ROKS: CVO not honoring exclude annotation for ClusterOperator resources
Summary: ROKS: CVO not honoring exclude annotation for ClusterOperator resources
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.5.0
Assignee: Cesar Wong
QA Contact: liujia
URL:
Whiteboard: IBMROKS
Depends On:
Blocks: 1841239
TreeView+ depends on / blocked
 
Reported: 2020-05-22 00:09 UTC by Cesar Wong
Modified: 2020-07-13 17:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1841239 (view as bug list)
Environment:
Last Closed: 2020-07-13 17:41:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-version-operator pull 370 0 None closed Bug 1838872: Avoid pre-creating clusteroperators that should be excluded 2021-01-13 02:55:08 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:41:18 UTC

Description Cesar Wong 2020-05-22 00:09:06 UTC
Description of problem:
For the IBM ROKS use case, we rely on annotations in operator manifests to let the CVO know whether that manifest should be excluded. In 4.5.x releases, the CVO is ignoring that annotation for cluster operators and creating them anyway.

Version: 4.5 nightly

How reproducible:
Always

Steps to Reproduce:
1. Create a hosted control plane cluster with a 4.5 nightly release

Actual results:
Cluster operator resources that should be excluded such as machine-api-operator are getting created inside the cluster.

Expected results:
Cluster operator resources with the exclude annotation are not created on target cluster.

Comment 4 liujia 2020-05-29 02:00:50 UTC
@cewong
Due to this is a ROKS bug and it's "ON_QA" status now, could u give a verify from IBM ROKS side and comment here? Then I can continue the regression test work from ocp side. Thx!

Comment 5 Cesar Wong 2020-05-29 16:05:26 UTC
Verified on 4.5.0-0.nightly-2020-05-29-105132

Comment 6 liujia 2020-06-02 06:11:42 UTC
Verified installation on 4.5.0-0.nightly-2020-05-30-025738.
Verified upgrade from v4.4.6 to 4.5.0-0.nightly-2020-06-01-165039.

Comment 7 errata-xmlrpc 2020-07-13 17:41:00 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-2020:2409


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