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
Create an Amazon OpenSearch Serverless Collection & Index some data
Verify that the data is there and the index exists: GET https://<COLLECTION_ID>.us-east-1.aoss.amazonaws.com:443/vehicles/_count returns the correct number of documents
2024-10-16 14:33:00,308 -not-actor-/PID:12199 opensearch WARNING GET https://<COLLECTION_ID>.us-east-1.aoss.amazonaws.com:443/ [status:404 request:0.371s]
2024-10-16 14:33:00,308 -not-actor-/PID:12199 osbenchmark.benchmark ERROR A fatal error occurred while running subcommand [create-workload].
Traceback (most recent call last):
File "<DIR>/.venv/lib/python3.11/site-packages/osbenchmark/benchmark.py", line 974, in dispatch_sub_command
workload_generator.create_workload(cfg)
File "<DIR>/.venv/lib/python3.11/site-packages/osbenchmark/workload_generator/workload_generator.py", line 39, in create_workload
info = client.info()
^^^^^^^^^^^^^
File "<DIR>/.venv/lib/python3.11/site-packages/opensearchpy/client/utils.py", line 176, in _wrapped
return func(*args, params=params, headers=headers, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<DIR>/.venv/lib/python3.11/site-packages/opensearchpy/client/__init__.py", line 308, in info
return self.transport.perform_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<DIR>/.venv/lib/python3.11/site-packages/opensearchpy/transport.py", line 458, in perform_request
raise e
File "<DIR>/.venv/lib/python3.11/site-packages/opensearchpy/transport.py", line 419, in perform_request
status, headers_response, data = connection.perform_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<DIR>/.venv/lib/python3.11/site-packages/opensearchpy/connection/http_urllib3.py", line 308, in perform_request
self._raise_error(
File "<DIR>/.venv/lib/python3.11/site-packages/opensearchpy/connection/base.py", line 315, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
opensearchpy.exceptions.NotFoundError: NotFoundError(404, '')
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm trying to create a workload from an existing Amazon OpenSearch Serverless Collection. However the
create-workload
command fails withTo reproduce
GET https://<COLLECTION_ID>.us-east-1.aoss.amazonaws.com:443/vehicles/_count
returns the correct number of documentsExpected behavior
The workload gets created as it would be with a "non-serverless" OpenSearch Domain
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
Additional context
No response
Relevant log output
The text was updated successfully, but these errors were encountered: