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

Regarding mongo db installation #4429

Open
LuckyNani43 opened this issue Feb 11, 2024 · 10 comments
Open

Regarding mongo db installation #4429

LuckyNani43 opened this issue Feb 11, 2024 · 10 comments

Comments

@LuckyNani43
Copy link

Hi team,
My k8s cluster is in airgapped servers I am trying to install litmus 3.0.0 , I have created storageclass, pv & pvc.
I am installed mongodb also manually then I have taken 3.0.0-without-resource.yaml I have applied it all pods are created but litmusportal-server-service is fluctuating in running and crashloop states, I am suspecting that mongodb needs to connect with litmus pods, but that is not happening I guess. Could you please help me with this, how to setup mongodb properly for 3.0.0 release.
I have tried various ways I am not able to figure anything please help me out.

@LuckyNani43
Copy link
Author

Tqs @Nageshbansal,

I have tried this I have tried manually downloading the bitnami-mongo charts but I am unable to download the bitnami-mongo charts the page is not accessible it is throwing below error. Please help me out.
Screenshot_2024-02-13-15-30-33-78_40deb401b9ffe8e1df2f1cc5ba480b12

@LuckyNani43
Copy link
Author

Hi @Saranya-jena,

Can you please help me on below issue.
My k8s cluster is in airgapped servers I am trying to install litmus 3.0.0 , I have created storageclass, pv & pvc.
I am installed mongodb also manually then I have taken 3.0.0-without-resource.yaml I have applied it all pods are created but litmusportal-server-service is fluctuating in running and crashloop states, I am suspecting that mongodb needs to connect with litmus pods, but that is not happening I guess. Could you please help me with this, how to setup mongodb properly for 3.0.0 release.
I have tried various ways I am not able to figure anything please help me out.

@Saranya-jena
Copy link
Contributor

Hey @LuckyNani43 Can you tell me how are you installing mongoDB? Is it standalone or replicaset?

@LuckyNani43
Copy link
Author

LuckyNani43 commented Mar 6, 2024

Hi @Saranya-jena, It is a standalone. The yaml I have took it from internet. Can you please help me

@SarthakJain26
Copy link
Contributor

@LuckyNani43 With 3.0.0 you need to have multiple replica sets of mongo running. This was added to avoid single point of failure.

@Saranya-jena
Copy link
Contributor

@LuckyNani43 You can follow the steps here for installation: https://github.com/litmuschaos/litmus/tree/master/chaoscenter

@LuckyNani43
Copy link
Author

Hi @Saranya-jena, Thank you so much.
But when I am trying to download the bitnami-mongo charts it is giving permission denied.
Screenshot_2024-03-08-11-56-06-41_40deb401b9ffe8e1df2f1cc5ba480b12

If you don't mind please can you provide that charts so I can use.

Thanks for your support.

@LuckyNani43
Copy link
Author

LuckyNani43 commented Mar 9, 2024

Hi @Saranya-jena,

Thanks for your help.

I have installed mongodb after I have applied litmus-cluster-scope-3.4.0.yaml but in that yaml litmus-portal-admin-config I need to point to the DB_SERVER: what I have installed right I have tried with default values whatever present in litmus-cluster-scope-3.4.0.yaml but it is throwing below error.
Server selection error: dial TCP: lookup my-release-mongodb-0.my-release-mongodb-headless: server misbehaving.

Can you please help me what I need to point in the DB_SERVER section.

@Saranya-jena
Copy link
Contributor

@LuckyNani43 you will need to install mongoDB first and then apply the Litmus manifest.

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

4 participants