-
Notifications
You must be signed in to change notification settings - Fork 80
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] Unable to run opensearch-benchmark [OSB] execute-test against OSB provisioned cluster due to failing health check #380
Comments
@cgchinmay OSB won't be able to start the test (unless we skip the cluster health check which we don't recommend) because this is an issue with the cluster that was setup. This can be seen from how the logs show a 503 status (error on the server side)
This can also be confirmed from when you curl the cluster
Do you have only one cluster running or did you provision others on your local host as well? I recommend checking to see if there are any other clusters you might have provisioned. |
@IanHoang I retried above steps and there is a problem with cluster provisioned using OSB. The health checks keep failing which prevents from running test However I was able to execute test against a cluster provisioned by me using docker compose instructions as given here. I also checked that we do have a process listening on port 9300 and 9200 after provisioning cluster with OSB
For your reference, here is the output of stats api for cluster provisioned with OSB. Have stripped the output of unnecessary details.
|
I was facing the same issue with the cluster setup and followed the instructions given by @rishabh6788 in Slack. Posting it here for reach.
|
Will take another look at this and update |
Thanks @AkshathRaghav for the steps, I was able to see it working. So I looked into OSB provisioned cluster and its using following opensearch.yml file and this file does not have cc: @rishabh6788 , @IanHoang any suggestion on how to debug this ? Here is the updated yaml file
|
Hey @cgchinmay, I was looking into this a bit and narrowed it down to a potential problem with how OSB is populating the Right now if I hardcode the node name before provisioning and starting the cluster using the commands you provided: I get healthy responses from the cluster:
and
And I can run the benchmark as intended. |
@OVI3D0 that's an interesting find. Will try this out |
For a little more context, this came after investigating the logs under
|
Great find @OVI3D0! Are there any follow-up action items we can do to streamline this for our users (e.g. help text when users encounter the issue that Chinmay provided above or automatically set the |
Isn't the OpenSearch distribution installation command provided in the description incorrect?
The master node specification should match the node name. Changing it to |
You're right, this worked for me as well. If these values need to match, then I think we can streamline this by adding a check before building the cluster, to make sure they always match: #621 |
I will close this issue. Here is the right command based on above observations. The node name and master nodes name must match
|
Describe the bug
opensearch-benchmark execute test cannot run as the health check with provisioned cluster doesn't succeed
Tried running opensearch-benchmark command execute-test as below
But the above command gets stuck and checking the logs I see failing health checks
To Reproduce
Provision the cluster using opensearch-benchmark pypi utility
Started Single Node Cluster using opensearch benchmark
Validated the the cluster status
Now when I try to access cluster health endpoint, it returns error with 503 status code
Expected behavior
Health status API should return success and opensearch-benchmark execute-test should run successfully
Logs
If applicable, add logs to help explain your problem.
More Context (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: