Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconcile issue with previously synced group no more available #319

Open
yurifrancalacci opened this issue Jun 7, 2024 · 0 comments
Open

Comments

@yurifrancalacci
Copy link

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/[email protected]/pkg/internal/controller/controller.go:121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant