-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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] opensearch-cli is borked #10324
Comments
Care to dig into it @ajacques? If this is broken I'd love to know when it broke, and I am going to guess it was a long time ago (in which case is nobody using the tool?). We'll either need to fix it with tests, or remove it. |
It seems to have broken in this commit 95795c8. It appears that the other CLI shell scripts would call into this shell script and pass the main class name, but the docs still refer to In theory there's an This docs page appears to have been written around the release of OpenSearch 1.0.0, so I even pulled that commit and searched that code and didn't find any references to "profile" or "curl" that fit within the context of a CLI command. I suspect this entire docs page is not meaningful. The Given this, it appears that the docs are wrong and need to be updated to remove references to this. Which is frustrating because I've got an AWS OpenSearch Domain and I'm a little bit stumped how to actually debug an issue I'm having with the security controls and it seemed like |
I see two problems:
|
Describe the bug
The
opensearch-cli
command does not work and gives an error message:The script appears to be referencing an environment variable
OPENSEARCH_MAIN_CLASS
, however this env variable is not set anywhere in this script, thus it can't execute the Java ClassTo Reproduce
Steps to reproduce the behavior:
cd opensearch-2.10.0/
bin/opensearch-cli
Expected behavior
I would expect to be able to run the CLI command following the docs that are listed on the official docs
Plugins
N/A
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (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: