"oc adm groups sync" is not working as expected if multiple groups point to same LDAP group

Solution In Progress - Updated -

Issue

  • When using the oc adm groups sync --type=openshift --sync-config=/config/group_sync.yaml --confirm command to sync LDAP groups, this works as expected when each group to be synced points to a unique openshift.io/ldap.uid. However, as soon as there is a second group that points to the same ldap.uid, only the newly created group gets synced.

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content