-
Notifications
You must be signed in to change notification settings - Fork 298
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
Mongo error because node found twice #85
Comments
Same issue, when
|
same with me, Is there any solution for this. |
Turns out it was my mistake all along, I was using
|
I can reproduce the issue on a new minikube installation.
Alternatively: #86 would fix this
The issue seems to arise as mongo-0 does not identify itself by IP when found via the kubernetes client, and is described by the README:
In the above this is not the case. |
jira-mod-0
is found twice, once asjira-mongo-0:27017
and once asjira-mongo-0.jira-mongo.fapoms-training.svc.kubernetes.local:27017
. This causes a mongo error.Here the logs of the sidecar on
jira-mongo-0
:In the beginning, when only one pod is found:
Later, when second pod is found, it says:
The text was updated successfully, but these errors were encountered: