opensearch-project/OpenSearch

[BUG] Bootstrapping nodes fails sometimes: give clear errors

Open

#967 opened on Jul 15, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (1,505 forks)batch import
enhancementgood first issuehacktoberfest

Repository metrics

Stars
 (8,123 stars)
PR merge metrics
 (Avg merge 5d 9h) (266 merged PRs in 30d)

Description

Describe the bug I'm trying to build a cluster on kubernetes. Yesterday it worked like a charm, cluster spun up with 3 masters and 2 data nodes. Redeployed the cluster and it fails:

image

Bootstrap fails, but on what is unclear to me? Found some guides, but I seem to be ok on the values presented there (except for the memlock which is a problem on k8s, can't be set runtime: circumvented that by bootstrap.memory_lock = false). Apparently checks are done, but which specific check fails is unclear to me.

Expected behavior Give a good reason why it doesn't bootstrap

Plugins default docker image - first boot.

Screenshots If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information): Kubernetes cluster, based on standard opensearch 1.0.0 docker container

Additional context Add any other context about the problem here.

Contributor guide