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

mongoDB init failed #21

Open
ahndwon opened this issue Feb 25, 2024 · 1 comment
Open

mongoDB init failed #21

ahndwon opened this issue Feb 25, 2024 · 1 comment

Comments

@ahndwon
Copy link

ahndwon commented Feb 25, 2024

I am trying to run gorse chart on my macbook pro.
with helm install gorse gorse-io/gorse
But I am getting errors with MongoDB pod.

It also happens when I am trying to setup on AWS with Pulumi.
So I think there is a problem on the chart.

My kubernetes version is v1.22.5.

Error

2024-02-25T01:22:41.766Z FATAL master/master.go:220 failed to init database {"error": "server selection error: server selection timeout, current topology: { Type: Single, Servers: [{ Addr: gorse-mongodb:27017, Type: Unknown, Last error: connection() error occurred during connection handshake: dial tcp 10.99.199.244:27017: connect: connection refused }, ] }", "errorVerbose": "server selection error: server selection timeout, current topology: { Type: Single, Servers: [{ Addr: gorse-mongodb:27017, Type: Unknown, Last error: connection() error occurred during connection handshake: dial tcp 10.99.199.244:27017: connect: connection refused }, ] }\ngithub.com/zhenghaoz/gorse/storage/data.(*MongoDB).Init:61: "}
@ahndwon
Copy link
Author

ahndwon commented Feb 25, 2024

It looks like MongoDB instance fails to run.
It is shutting down while initialization.
These are the logs before shut down.

mongodb 01:48:24.07 Welcome to the Bitnami mongodb container

mongodb 01:48:24.11 Subscribe to project updates by watching https://github.com/bitnami/containers

mongodb 01:48:24.14 Submit issues and feature requests at https://github.com/bitnami/containers/issues

mongodb 01:48:24.17 

mongodb 01:48:24.21 INFO  ==> ** Starting MongoDB setup **

mongodb 01:48:24.40 INFO  ==> Validating settings in MONGODB_* env vars...

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

1 participant