-
Notifications
You must be signed in to change notification settings - Fork 313
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
Allow configuring Elasticsearch cluster name #1478
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please look into the lint failures? They're real issues, eg. DockerProvisioner
is not instantiated with cluster_name
in esrally/mechanic/provisioner.py
Have you tried running the tests locally?
@pquentin I ran |
Right, this is a bit confusing. |
@pquentin Great, thank you for the pointer 👍. |
@pquentin It's ready for another round. Can you take another look? Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Can you please add a test? I think we can add --cluster-name={cfg}
to TestCluster.install
and then at the end of TestCluster.start
use the es
client to get the cluster name and assert
that it is cfg
. This won't test all combinations but should be good enough.
@pquentin Thanks for reviews. I've addressed your comments. Would you please take another look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! There's mostly only documentation left.
@pquentin Sorry for the delay. I switched my focus to other topics recently. I have addressed your comments. Would you mind taking another look? Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for iterating! LGTM.
To support multiple clusters, we need the ability to specify the cluster name when installing an Elasticsearch instance. This is not strictly required, but it prevents Elasticsearch nodes from joining the wrong cluster.
To support multiple clusters, we need the ability to specify the cluster name when installing an Elasticsearch instance. This is not strictly required, but it prevents Elasticsearch nodes from joining the wrong cluster.