Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
opensearch 2.11.1
ubuntu
Describe the issue:
(I have 6 master nodes, 9 data nodes in each server.)
[The process I did]
-
Pulling the Docker images
docker pull opensearchproject/opensearch-benchmark:latest
-
Checking docker container run
docker run opensearchproject/opensearch-benchmark -h
This is result screen
-
Establishing volume persistence in a Docker container
3-1(try). same from opensearch officaily document ( Installing OpenSearch Benchmark - OpenSearch Documentation)
docker run -v $HOME/benchmarks:/opensearch-benchmark/.benchmark opensearchproject/opensearch-benchmark execute-test --target-hosts https://localhost:9200 --pipeline benchmark-only --workload geonames --client-options basic_auth_user:admin,basic_auth_password:admin,verify_certs:false --test-mode
permission error
3-2(try).
docker run --user root -v $HOME/benchmarks:/opensearch-benchmark/.benchmark opensearchproject/opensearch-benchmark execute-test --target-hosts https://localhost:9200 --pipeline benchmark-only --workload geonames --client-options basic_auth_user:admin,basic_auth_password:admin,verify_certs:false --test-mode
result
[WARNING] No Internet connection detected. Automatic download of workload data sets etc. is disabled.
[INFO] You did not provide an explicit timeout in the client options. Assuming default of 10 seconds.
[WARNING] Could not determine distribution version from endpoint, use --distribution-version to specify
[ERROR] Cannot execute-test. Error in test execution orchestrator (expected string or bytes-like object, got ‘NoneType’)
3-3. I downloaded opensearch workloads from git opensearch-project/opensearch-benchmark-workloads (github.com) and move workloads that server(path: /home/user/benchmarks/)
docker run --user root -v $HOME/benchmarks:/opensearch-benchmark/.benchmark opensearchproject/opensearch-benchmark execute-test --target-hosts https://localhost:9200 --pipeline benchmark-only --workload geonames --workload-repository="/home/user/benchmarks/geonames" --client-options basic_auth_user:admin,basic_auth_password:admin,verify_certs:false,timeout:30 --distribution-version 2.11.1 --test-mode
[WARNING] No Internet connection detected. Automatic download of workload data sets etc. is disabled.
[ERROR] Cannot execute-test. Error in test execution orchestrator (Cannot update workloads in [/home/user/benchmarks/geonames] (Could not checkout [main]. Do you have uncommitted changes?).)
Configuration: