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

Replicas could not join the cluster #62

Open
Proger666 opened this issue Jun 2, 2020 · 1 comment
Open

Replicas could not join the cluster #62

Proger666 opened this issue Jun 2, 2020 · 1 comment

Comments

@Proger666
Copy link

Hello!

I use minikube and your example configuration for mongo statefulsets.

First pod, which is mongo-0 works fine and become rs.0:primary. But i can see no errors in sidecarlogs:

Starting up k8s-mongo-sidecar
The cluster domain 'cluster.local' was successfully verified.
(node:19) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.

And no more logs or any actions in sidecar.

I can see constant connections on mongodb logs:

2020-06-02T21:07:15.048+0000 I  NETWORK  [listener] connection accepted from 172.18.0.16:60150 #65 (2 connections now open)
2020-06-02T21:07:15.048+0000 I  NETWORK  [conn65] received client metadata from 172.18.0.16:60150 conn65: { driver: { name: "nodejs", version: "3.5.6" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.4.0-33-generic" }, platform: "'Node.js v12.16.2, LE (legacy)" }
2020-06-02T21:07:15.059+0000 I  NETWORK  [conn65] end connection 172.18.0.16:60150 (1 connection now open)
2020-06-02T21:07:15.059+0000 I  NETWORK  [conn64] end connection 127.0.0.1:58206 (0 connections now open)

So cluster does not form.

Do you know where issue can be ?

@vladimirsvicevicsrb
Copy link

I have the same issue.
Any idea on this?

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

No branches or pull requests

2 participants