Skip to content

MongoDB charm removes users it did not create #325

Description

@MiaAltieri

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions