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

pods hanging in init status after installing litmuschaos/litmus with helm #4792

Open
dviviali opened this issue Jul 26, 2024 · 3 comments
Open

Comments

@dviviali
Copy link

dviviali commented Jul 26, 2024

Question

Hi, I was following the instructions on this page https://docs.litmuschaos.io/docs/getting-started/installation to install litmuschaos/litmus. However, the pods have been hanging in init status. Any suggestions? Thanks.

Update:
The issue was the litmus server was waiting for chaos-mongodb. chaos-mongodb was not created and this is the error message: running PreBind plugin "VolumeBinding": binding volumes: timed out waiting for the condition

@kwx4957
Copy link
Contributor

kwx4957 commented Jul 26, 2024

I had the same issue with the auth server and server pods' init status on Mac (ARM). I removed the Helm repo and then followed the documentation. It worked

@dviviali
Copy link
Author

Thank you, @kwx4957 . Could you please share a more details? At what step did you remove the helm repo?

I still need helm to run this line, right?
helm install chaos litmuschaos/litmus --namespace=litmus -f override-litmus.yaml

@kwx4957
Copy link
Contributor

kwx4957 commented Jul 26, 2024

@dviviali
If there are pods that already run,

1. helm uninstall -n litmus chaos
2. helm repo remove litmuschaos 
3. helm repo add litmuschaos https://litmuschaos.github.io/litmus-helm/
4. helm install chaos litmuschaos/litmus \
--namespace=litmus \
--set portal.frontend.service.type=NodePort \
--set mongodb.image.registry=ghcr.io/zcube \
--set mongodb.image.repository=bitnami-compat/mongodb \
--set mongodb.image.tag=6.0.5

In my case mac(arm) and minikube, it works
also litmuschaos version is 3.91

I hope my help will solve the problem

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