Hello again.
After having finally located the docs re: --client-options, I've been trying some invocations with "use_ssl:true" but they all fail. Rally won't let me disable cert verification so now I'm stuck. I could use some guidance on how to pass both cert and auth information to Rally.
When I use curl(1) commands against these clusters, I normally have to specify the "-k", "-u", "--cert" and "--key" flags. How can I pass this information to Rally to pass to the clusters? The ES node (single node cluster) has a cert and key for 2-way SSL but Iām running Rally on a remote node which does not have access to that cert/key pair.
Environment is Rally 0.5.3.dev0 on CentOS 6.9 (client & server). ES 1.4.4. Single node cluster. My current Rally command is:
esrally --distribution-version=1.4.4 --pipeline=benchmark-only --target-hosts=:9200 --client-options="use_ssl:true"
When I copy the cert file from the ES server to the Rally client and specify the command as follows:
--client-options="use_ssl:true,ca_cert:///cert.cer"
I receive the following error/traceback:
.
.
Traceback (most recent call last):
File "/usr/bin/esrally", line 9, in
load_entry_point('esrally==0.5.3.dev0', 'console_scripts', 'esrally')()
File "/usr/lib/python3.4/site-packages/esrally-0.5.3.dev0-py3.4.egg/esrally/rally.py", line 557, in main
client_options = kv_to_map(csv_to_list(args.client_options))
File "/usr/lib/python3.4/site-packages/esrally-0.5.3.dev0-py3.4.egg/esrally/rally.py", line 477, in kv_to_map
result[k.strip()] = convert(v.strip())
File "/usr/lib/python3.4/site-packages/esrally-0.5.3.dev0-py3.4.egg/esrally/rally.py", line 471, in convert
return to_bool(v)
File "/usr/lib/python3.4/site-packages/esrally-0.5.3.dev0-py3.4.egg/esrally/rally.py", line 449, in to_bool
raise ValueError("Could not convert value '%s'" % v)
ValueError: Could not convert value ā///cert.cer'
I figure I have to be missing something simple but I haven't found it in the docs yet. Any guidance is most appreciated.
Cheers!