Uploaded image for project: 'OpenShift Migration Toolkit for Containers'
  1. OpenShift Migration Toolkit for Containers
  2. MIG-1454

Unable to migrate associated scc for service account in OCP 4.12

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • MTC 1.8.4
    • MTC 1.7.12
    • Migration QE Infra
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo

      Description of problem:

      Unable to migrate associated scc for service account in OCP 4.12

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

      4.12.z

      How reproducible:

      100%

      Steps to Reproduce:

      1. Create project named testing
      2. Create ServiceAccount local to namespace
      3. Associate SA with one of the scc says, anyuid or nonroot
      4. Add SA to deployment.
      
      Once done Migrate the project

      Actual results:

      SCC is not getting migrated

      Expected results:

      SCC should get migrated

      Additional info:

      Source Cluster: 
      # oc project akash-testing Now using project "akash-testing" on server "https://api.chdeshpa-mtc-source.india.aws.cee.support:6443". 
      # oc get sa | grep mtc 
      akash-mtc     1         33m 
      chinmay-mtc   1         30m 
      # oc adm policy who-can use scc nonroot | grep akash-mtc         
      system:serviceaccount:akash-testing:akash-mtc 
      # oc adm policy who-can use scc hostaccess | grep chinmay-mtc         
      system:serviceaccount:akash-testing:chinmay-mtc
      
      Destination Cluster:
      # oc project akash-testing
      Already on project "akash-testing" on server "https://api.chdeshpa-mtc-dest.india.aws.cee.support:6443".
      # oc get sa | grep mtc
      akash-mtc     1         17m
      chinmay-mtc   1         17m
      
      # oc adm policy who-can use scc nonroot | grep akash-mtc
      # oc adm policy who-can use scc hostaccess | grep chinmay-mtc
              system:serviceaccount:akash-testing:chinmay-mtc
      

       

            pgaikwad1@redhat.com Pranav Gaikwad
            rhn-support-chdeshpa Chinmay Deshpande
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: