You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In k-NN plugin, I am working on adding a gradle task to be able to run gradle cluster with security plugin installed: opensearch-project/k-NN#1307. The main goal is to remove dependency on staging docker image in our CI to run security tests.
./gradlew run -Dsecurity.enabled=1
...
* What went wrong:
Execution failed for task ':run'.
> `cluster{::integTest}` failed to wait for cluster health yellow after 40 SECONDS
IO error while waiting cluster
401 Unauthorized
When I comment this out, the cluster is able to run and Im able to hit it with the demo certs using ssl:
I did notice that SQL was able to add this: opensearch-project/sql#1986, but I did notice that they do not use ssl for their cluster and they do not have this cluster.waitForAllConditions check.
Describe the bug
In k-NN plugin, I am working on adding a gradle task to be able to run gradle cluster with security plugin installed: opensearch-project/k-NN#1307. The main goal is to remove dependency on staging docker image in our CI to run security tests.
It is close to working, but running into an error when running the waitforallconditions check: https://github.com/jmazanec15/k-NN-1/blob/issue-901/build.gradle#L383. This code can be found here: https://github.com/opensearch-project/OpenSearch/blob/main/buildSrc/src/main/java/org/opensearch/gradle/testclusters/OpenSearchCluster.java#L569-L581
I get the following error:
When I comment this out, the cluster is able to run and Im able to hit it with the demo certs using ssl:
I did notice that SQL was able to add this: opensearch-project/sql#1986, but I did notice that they do not use ssl for their cluster and they do not have this
cluster.waitForAllConditions
check.To Reproduce
Refer here: opensearch-project/k-NN#1307 (comment)
Expected behavior
Expect
cluster.waitForAllConditions()
to be able to run health check when ssl is enabled.Plugins
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: