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

MongoDB charm removes users it did not create #325

Open
MiaAltieri opened this issue Aug 30, 2024 · 1 comment
Open

MongoDB charm removes users it did not create #325

MiaAltieri opened this issue Aug 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MiaAltieri
Copy link
Contributor

Issue

MongoDB charm removes users it did not create can occur when

  1. client application creates users
    OR
  2. mongos-k8s router creates users for client applications

and then a relation event on the database interface occurs. This triggers MongoDB charm to remove any users it is not aware of.

Notes

Please note this issue is also present on the VM charm.

Possible fix

have MongoDB charm only process users that has created.

@MiaAltieri MiaAltieri added the bug Something isn't working label Aug 30, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/DPE-5314.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant