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

Handling UID range namespace annotations when migrating an application from source to destination

    XMLWordPrintable

Details

    • False
    • False
    • ToDo
    • Undefined

    Description

      Cloned from: https://bugzilla.redhat.com/show_bug.cgi?id=1748531

      This BZ is intended to track a possible RFE to improve how we handle UID range annotations on a migrated namespace.
      Consider allowing a user to opt out of the migration of UID range.

      When an application is migrated to a destination cluster the migration tool will currently preserve the annotations on a namespace of:
      "openshift.io/sa.scc.mcs"
      "openshift.io/sa.scc.supplemental-groups"
      "openshift.io/sa.scc.uid-range"

      This is done to preserve the UID the containers ran as on the source side to be the same on destination side so the container on destination will retain access to any persisted data.

      There is potential that this could lead to reusing the UID range of a namespace on destination cluster, either from an existing namespace or from a future created namespace given the same range as what we migrated over.

      For background info this is related to:
      https://github.com/fusor/openshift-migration-plugin/pull/8/files
      https://github.com/fusor/openshift-migration-plugin/issues/20

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ernelson@redhat.com Erik Nelson (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: