Skip to content

Add BigLDAP topology - #251

Merged
thalman merged 2 commits into
SSSD:masterfrom
thalman:big_ldap
Sep 8, 2026
Merged

thalman merged 2 commits into
SSSD:masterfrom
thalman:big_ldap

Conversation

@thalman

@thalman thalman commented May 28, 2026

Copy link
Copy Markdown
Contributor

This patch expects that ldap container/vm has ldap backup 'largedata'. This backup is restored when BigLDAP topology is used.

Restore process is quite fast (~2s).

@thalman
thalman requested a review from pbrezina May 28, 2026 12:49

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new BigLDAPTopologyController and its corresponding topology mark BigLDAP to support LDAP topologies with large amounts of users and groups. The feedback points out several issues in the topology_setup implementation of BigLDAPTopologyController, including bypassing the self.provisioned check, hardcoding service management commands and instance names instead of using existing abstractions, and missing error handling decorators. A refactoring suggestion is provided to address these issues.

Comment thread sssd_test_framework/topology_controllers.py
@thalman
thalman marked this pull request as ready for review June 3, 2026 12:45
@thalman
thalman marked this pull request as draft June 3, 2026 12:46
@thalman
thalman marked this pull request as ready for review June 23, 2026 08:16
Comment thread sssd_test_framework/topology_controllers.py Outdated
@alexey-tikhonov

Copy link
Copy Markdown
Member

@thalman, do you have test example (maybe in your repo fork) that uses new topology?

@thalman
thalman force-pushed the big_ldap branch 3 times, most recently from ccb843b to e0c2f04 Compare August 12, 2026 17:44

@jakub-vavra-cz jakub-vavra-cz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

This patch expects that ldap container/vm has ldap backup 'largedata'.
This backup is restored when BigLDAP topology is used.

Restore process is quite fast (~2s).
Default teardown deletes objects in LDAP one by one to achive
original state. This takes a lot of time.

This update restores base (empty) LDAP backup before calling
super().topology_teardown()
@thalman

thalman commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

last force-push is just rebase

@thalman

thalman commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor Author

CI failure is not caused by this change.

@thalman
thalman merged commit 5f179ef into SSSD:master Sep 8, 2026
5 of 6 checks passed
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

Successfully merging this pull request may close these issues.

4 participants