Skip to content

General improvements of mkhome and mkproject - #640

Open
cmd-ntrf wants to merge 60 commits into
mainfrom
ldap-failure
Open

cmd-ntrf wants to merge 60 commits into
mainfrom
ldap-failure

Conversation

@cmd-ntrf

@cmd-ntrf cmd-ntrf commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

LDAP failures and access-log heuristics could leave home directories, project folders, and Slurm associations incompletely configured. This change processes successful LDAP operations individually and reconciles project membership against FreeIPA.

  • Match ADD/MOD/DEL requests with their successful LDAP RESULT before processing.
  • Reconcile direct and indirect FreeIPA membership with Slurm, adding missing associations and removing obsolete ones.
  • Serialize project actions, coalesce repeated reconciliation requests, and recover pending reconciliation on service restart.
  • Read POSIX attributes directly from LDAP, removing filesystem provisioning’s dependency on SSSD resolution.
  • Make filesystem setup repeatable, check command failures, retry transient errors, and skip users deleted before provisioning completes.
  • Replace NSS-based user creation checks with batched LDAP queries, avoiding premature SSSD negative-cache entries.
  • Centralize service configuration and document identity and naming constraints.

@cmd-ntrf cmd-ntrf self-assigned this Nov 4, 2026
@cmd-ntrf
cmd-ntrf force-pushed the ldap-failure branch 2 times, most recently from 3ad9990 to 702d7bb Compare November 6, 2026 16:35
Put the echo command in a function to improve readability
Drop unmatched lines instead of forwarding them to workers.
Combine chmod with mkdir to limit operations
@cmd-ntrf cmd-ntrf added bug Something isn't working enhancement New feature or request labels Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant