Bug 2015603

Summary: "rolebindings.authorization.openshift.io" is not excluded from migrated resources
Product: Migration Toolkit for Containers Reporter: Erik Nelson <ernelson>
Component: ControllerAssignee: Alay Patel <alpatel>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: high Docs Contact: Avital Pinnick <apinnick>
Priority: high    
Version: 1.6.0CC: alpatel, apinnick, ernelson, jmatthew, prajoshi, rjohnson, xjiang
Target Milestone: ---   
Target Release: 1.6.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2015583 Environment:
Last Closed: 2021-11-10 11:48:18 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: 2015583, 2015604    
Bug Blocks:    

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