Bug 2015603 - "rolebindings.authorization.openshift.io" is not excluded from migrated resources
Summary: "rolebindings.authorization.openshift.io" is not excluded from migrated resou...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: Controller
Version: 1.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 1.6.2
Assignee: Alay Patel
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On: 2015583 2015604
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-19 16:03 UTC by Erik Nelson
Modified: 2021-11-10 11:48 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2015583
Environment:
Last Closed: 2021-11-10 11:48:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-operator pull 764 0 None open Bug 2015603: Exclude openshift rolebindings 2021-10-26 15:14:26 UTC
Red Hat Product Errata RHBA-2021:4608 0 None None None 2021-11-10 11:48:22 UTC

Description Erik Nelson 2021-10-19 16:03:15 UTC
+++ This bug was initially created as a clone of Bug #2015583 +++

Description of problem:
`rolebindings.authorization.openshift.io` is a mirror resource of `rolebindings.rbac.authorization.k8s.io`. OCP 4 creates the mirror resource everytime the upstream rolebinding resource is created. Therefore there is no reason why it should be migrated. Infact on some environments where there are large number of roleebindings, excluding it will increase the speed of migration depending. 



Version-Release number of selected component (if applicable):
all


How reproducible:
Always


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Prasad Joshi 2021-11-02 14:01:25 UTC
Verified with MTC 1.6.2 

image: registry.redhat.io/rhmtc/openshift-migration-controller-rhel8@sha256:3250701a11a8ab8919178f4a55d95d6fce62618256b6283fb2dd4913564889dd

rolebindings.authorization.openshift.io resource is excluded from migration

$ oc get pods -n openshift-migration migration-controller-55676768f8-42trn -o yaml

  env:
    - name: EXCLUDED_RESOURCES
      value:  imagetags,templateinstances,clusterserviceversions,packagemanifests,subscriptions,servicebrokers,servicebindings,serviceclasses,serviceinstances,serviceplans,operatorgroups,events,events.events.k8s.io,rolebindings.authorization.openshift.io

Comment 8 errata-xmlrpc 2021-11-10 11:48:18 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 (Migration Toolkit for Containers (MTC) 1.6.2 release 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-2021:4608


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