kanidm (Fix): opencloud-groups without entry_managed_by - unblocks the apply permanently #175
No reviewers
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/iac!175
Loading…
Reference in a new issue
No description provided.
Delete branch "opencloud-groups-manager-free"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Successor to #174, which guessed wrong. Root cause, verified in the provider source (seanlatimer/kanidm 0.1.10, latest release): group updates call resolveManagerSPN, which fetches GET /v1/person|service_account|group/. The live entry_managed_by of opencloud-groups points at the opencloud-bind OAUTH CLIENT ACCOUNT (live UUID 018fa4a0-0d5b-4068-98e0-534e0f00e735, entry still present, member list intact); oauth accounts are a class the provider never queries, so all three fetches return null - resource not found - and every kanidm apply aborts there (drift detection re-triggers it forever). No config value converges: opencloud-bind, opencloud-web, or the raw UUID all hit the same blind spot. Opencloud only READS group membership (owner-confirmed), so the write-delegation is dead weight: drop the attribute; this plan clears it live and the group returns to plain admin management - which also lets tofu manage its members again. Reads (applyGroupState) swallow the resolution failure, so refresh never complained; only Update aborts, hence the August config failing only now that the group drifted.
tf-controller plan output:
To apply this plan, please merge this pull request.