-
Notifications
You must be signed in to change notification settings - Fork 62
Description
Hi all,
here follows the scenario I have with this issue.
- (Ldap) Configuration with whitelist in sync regularly and no issue
then:
- a previously synced group is renamed in ldap
- the "new" group is added to groupsync whitelist without removing the "old" name
this caused a reconcile error and sync is stopped for all the whitelisted groups
operator version 0.0.28
here is a log snippet
1.7176737338123524e+09 ERROR syncer_ldap Error building OpenShift group for LDAP group {"LDAP Group UID": "CN=xxxxx,OU=yyyyy,OU=zzzz,DC=kkk,DC=ttt", "error": "search for entry with base dn="OU=yyyyy,OU=zzzz,DC=kkk,DC=ttt" and filter "(&((&(objectClass=group)(memberOf:1.2.840.113556.1.4.1941:=OU=yyyyy,OU=zzzz,DC=kkk,DC=ttt)))(distinguishedName=CN=xxxxxxx,OU=yyyyy,OU=zzzz,DC=kkk,DC=ttt))" did not return any results"}
github.com/redhat-cop/group-sync-operator/pkg/provider/ldap/helpers.(*LDAPGroupSyncer).Sync
/home/runner/work/group-sync-operator/group-sync-operator/pkg/provider/ldap/helpers/groupsyncer.go:87
github.com/redhat-cop/group-sync-operator/pkg/syncer.(*LdapSyncer).Sync
/home/runner/work/group-sync-operator/group-sync-operator/pkg/syncer/ldap.go:241
github.com/redhat-cop/group-sync-operator/controllers.(*GroupSyncReconciler).Reconcile
/home/runner/work/group-sync-operator/group-sync-operator/controllers/groupsync_controller.go:115
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:121