What happened?
When deploying a multi-node Eloqdoc cluster with Authentication enabled, the cluster fails to initialize properly.
According to MongoDB security rules, when authentication is enabled on a fresh instance, the system only allows connections via the localhost exception for the initial user creation. In a containerized multi-node setup, once the nodes are networked together, accessing the instance via localhost to perform this "createUser" will crash the node.
Steps to Reproduce
- Deploy a 3-node Eloqdoc cluster with authorization enabled.
security:
authorization: "enabled"
- connect to a node via localhost and try to create a user.
Environment
- OS: Ubuntu
- Version: EloqDoc 0.2.8 with EloqStore
- Any other relevant details: