Skip to content

[bug] Unable to create initial user in multi-node Eloqdoc cluster when auth is enabled #379

@starrysky9959

Description

@starrysky9959

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

  1. Deploy a 3-node Eloqdoc cluster with authorization enabled.
security:
  authorization: "enabled"
  1. 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:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions