Hey, when I was running rally on 2.2.1 it would run fine without issue but as I'm not specifying a version to use it picked up the latest 2.3.0 and now on run is throwing the following, but I don't get how the templates used are affected? were these changed in the latest version? thanks in advance.
And I'm using Elastic 6.8.15
The race command used for reference.
esrally race --track=geonames --target-hosts=$ips --pipeline=benchmark-only --client-options="basic_auth_user:'$username',basic_auth_password:'$password'"
[INFO] Race id is [6aa14d79-00bd-4438-91ae-3c4fb1cae4fd]
[ERROR] Cannot race. Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/esrally/metrics.py", line 108, in guarded
return target(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/elasticsearch/client/utils.py", line 168, in _wrapped
return func(*args, params=params, headers=headers, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/elasticsearch/client/indices.py", line 642, in put_template
return self.transport.perform_request(
File "/usr/local/lib/python3.8/dist-packages/elasticsearch/transport.py", line 458, in perform_request
raise e
File "/usr/local/lib/python3.8/dist-packages/elasticsearch/transport.py", line 419, in perform_request
status, headers_response, data = connection.perform_request(
File "/usr/local/lib/python3.8/dist-packages/elasticsearch/connection/http_urllib3.py", line 277, in perform_request
self._raise_error(response.status, raw_data)
File "/usr/local/lib/python3.8/dist-packages/elasticsearch/connection/base.py", line 330, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
elasticsearch.exceptions.RequestError: RequestError(400, 'illegal_argument_exception', 'Malformed [mappings] section for type [dynamic_templates], should include an inner object describing the mapping')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/esrally/actor.py", line 92, in guard
return f(self, msg, sender)
File "/usr/local/lib/python3.8/dist-packages/esrally/racecontrol.py", line 110, in receiveMsg_Setup
self.coordinator.setup(sources=msg.sources)
File "/usr/local/lib/python3.8/dist-packages/esrally/racecontrol.py", line 208, in setup
self.metrics_store = metrics.metrics_store(
File "/usr/local/lib/python3.8/dist-packages/esrally/metrics.py", line 295, in metrics_store
store.open(race_id, race_timestamp, track, challenge, selected_car, create=not read_only)
File "/usr/local/lib/python3.8/dist-packages/esrally/metrics.py", line 867, in open
self._client.put_template("rally-metrics", self._get_template())
File "/usr/local/lib/python3.8/dist-packages/esrally/metrics.py", line 60, in put_template
return self.guarded(self._client.indices.put_template, name=name, body=template)
File "/usr/local/lib/python3.8/dist-packages/esrally/metrics.py", line 167, in guarded
raise exceptions.RallyError(msg)
esrally.exceptions.RallyError: A transport error occurred while running the operation [put_template] against your Elasticsearch metrics store on host [10.0.4.4] at port [9200].