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

Hitting maximum service user creates an orphan ACL #2412

Closed
aindriu-aiven opened this issue Apr 16, 2024 · 0 comments · Fixed by #2442
Closed

Hitting maximum service user creates an orphan ACL #2412

aindriu-aiven opened this issue Apr 16, 2024 · 0 comments · Fixed by #2442
Labels
Backend Backend tasks

Comments

@aindriu-aiven
Copy link
Contributor

What happened?

When approving an ACL request that had a new service user, the ACL request was denied because we reached the service account limit in that Aiven project.

After deleting some service users to be able to create new ones again the request still fails when accepting it.

Klaw first created the ACL on the Aiven side and then tried to create the service user, which failed because of the limit.

The problem is now, that the ACL on Aiven side was not deleted when the service user creation failed.
Therefore manual intervention to delete the ACL is required, before being able to accept the ACL request in Klaw.

What did you expect to happen?

On the second attempted approval:
Klaw should see the ACL is already created and perform a no-op on the acl creation and just create the service user.
OR
On the initial failure Klaw should remove the resources it created prior to the failure point.

What else do we need to know?

Reproduceable in Klaw 2.8.0

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

Successfully merging a pull request may close this issue.

1 participant