Skip to content

Coordinating-only node in medium deployment fails to start #276

@joe-graham

Description

@joe-graham

Bug Report

What sort of bug did you find? Please give us a clear description of the problem.

Attempted to deploy a test instance of scorestack to GCP and ran into errors related to this GitHub issue on all Elasticsearch nodes. I attempted to add the workaround suggested (commenting out the problem lines in the config file in Ansible), which allowed the Ansible deployment to move further along. However, when Ansible attempted to restart the coordinating-only Elasticsearch node, the service failed to start with an error about the JVM garbage collector. The master nodes were able to start, just not the coordinator.

Expected behavior

What did you expect to happen, that didn't happen?

Deployment of scorestack instance.

Actual behavior

What happened that was a problem?

Coordinating node fails to start after configuration.

Replication steps

For us to be able to fix the bug, it's important that we can replicate it. Please provide as detailed a guide as possible to reliably replicate the issue, if possible.

  1. Follow steps in medium deployment guide for GCP.
  2. After first error message, replace these lines in elasticsearch.jvm.options:
-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=75
-XX:+UseCMSInitiatingOccupancyOnly

with either

#-XX:+UseConcMarkSweepGC
#-XX:CMSInitiatingOccupancyFraction=75
#-XX:+UseCMSInitiatingOccupancyOnly

or

8-13:-XX:+UseConcMarkSweepGC
8-13:-XX:CMSInitiatingOccupancyFraction=75
8-13:-XX:+UseCMSInitiatingOccupancyOnly
  1. Re-run ansible-playbook playbook.yml -i inventory.ini.

Screenshots

If applicable, add some screenshots to help explain the problem.

Ansible error message after making change to elasticsearch.jvm.options:
image

Log entries in elasticsearch4 after error:
image

systemctl status command on elasticsearch1 showing successful start
image

Metadata

Metadata

Assignees

Labels

A-DeploymentRelates to deploying Scorestack or managing a Scorestack deploymentT-BugSomething isn't working the way it should be

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions