-
Notifications
You must be signed in to change notification settings - Fork 234
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
[BUG][OpenSearch Dashboard]-CrashLoopBackOff Error #302
Comments
@daniel-dodoo Can you share the values.yaml file you are using, also share the helm chart version you are using for spinning up the multi-cluster nodes. Thanks |
@TheAlgo Sure sure helm version: "v3.9.1" I tried to upload the .yaml files but github doesn't support the extension. I also tried to copy in directly to the text, the formatting is difficult to read so I uploaded the .txt copies of the script |
@daniel-dodoo I meant the chart version and not the helm version so that I can try reproducing the issue. Also you can check the logs of the pods using the command |
@TheAlgo , Sorry for the delayed response Helm Chart Version: 2.3.0 Kindly find the logs the pods attached: |
Looks like this is the error
Also looks like you are following the blog and it is using chart versions for OpenSearch is 1.2.4 and 1.0.6 for OpenSearch Dashboards. Can you add the following in all YAML(s) and retry?
|
Hello @TheAlgo How do I view the Helm chart version for OpenSearch Dashboard? I followed your instructions and made changes to the yaml files for master, data and client I have the following error now: forbidden sysctl: "vm.max_map_count" not allowlisted |
You can follow this issue to fix it. |
Hello @TheAlgo , Many thanks The pods are now in the running state, I have 2 errors which I have tried to debug to no avail
|
@daniel-dodoo Can you share the pod logs so that we can see what is the issue you are getting. P:S : |
Kindly find the logs for master, data and client attached Many thanks, I will definitely review the simpler documentation but I will first like to troubleshoot my errors in the current deployment |
Seeing this error log some permission issues in the cluster which needs to be fixed it seems You can use official documentation as well to fix security plugin issues in the cluster:
Also do you mind installing charts with the version mentioned in the blog? You can use the flag
|
"Also do you mind installing charts with the version mentioned in the blog? You can use the flag --version 6.7.4" How do I install --version 6.7.4? When I tried to specify the version in the helm install command but I have an error response Eg. helm install opensearch-master opensearch/opensearch -f master.yaml --version 6.7.4 Error: INSTALLATION FAILED: failed to download "opensearch/opensearch" at version "6.7.4" |
After I run the helm repo update and helm search repo opensearch The latest OpenSearch chart version was opensearch/opensearch: 2.3.0 and opensearch/opensearch-dashboards: 2.2.4 |
@TheAlgo ./securityadmin.sh -cd ../../../config/opensearch-security/ -icl -nhnv I receive the following error response : * Try running securityadmin.sh with -icl (but no -cl) and -nhnv (If that works you need to check your clustername as well as hostnames in your TLS certificates)
* Make sure that your keystore or PEM certificate is a client certificate (not a node certificate) and configured properly in opensearch.yml
* If this is not working, try running securityadmin.sh with --diagnose and see diagnose trace log file)
* Add --accept-red-cluster to allow securityadmin to operate on a red cluster. Kindly find the logs attached: securityadmin_diag_trace |
@daniel-dodoo Sorry if I was not clear but I meant to install the version mentioned in the blog and it was just an example I gave. |
CrashLoopBackOff Error
I am deploying an OpenSearch cluster on my local machine, after successfully installing the pods with the helm command
I checked the status of my pods with kubectl get pods command but it returns a "CrashLoopBackOff" error
I found a solution on StackOverflow that requires increasing the initialDelaySeconds to 300s but that doesn't seem to work
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The output shows READY 1/1 and status Running once the deployment succeeds.
Screenshots
Host/Environment (please complete the following information):
OS Name: Microsoft Windows 10 Home
Version: 10.0.19044 Build 19044
System Model: HP ENVY x360 Convertible
Processor: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz, 2592 Mhz, 2 Core(s), 4 Logical Processor(s)
BIOS Version/Date: Insyde F.1A, 7/25/2016
The text was updated successfully, but these errors were encountered: