# Track-params not work, show track parameter(s) are not used by this track

**URL:** <https://discuss.elastic.co/t/track-params-not-work-show-track-parameter-s-are-not-used-by-this-track/204924>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [October 23, 2019, 5:28pm UTC](https://discuss.elastic.co/t/track-params-not-work-show-track-parameter-s-are-not-used-by-this-track/204924 "2019-10-23T17:28:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jinlian\_Chen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jinlian_chen/32/44738_2.png) [@Jinlian\_Chen](https://discuss.elastic.co/u/Jinlian_Chen)\
**Post date:** [October 23, 2019, 5:28pm UTC](https://discuss.elastic.co/t/track-params-not-work-show-track-parameter-s-are-not-used-by-this-track/204924/1 "2019-10-23T17:28:58Z")

</div>

esrally: 1.2.1  
elasticesearch: 7.0.1

challenges/default.json

```
 {
   "name": "test",
   "description": "Test one operations",
   "schedule": [
     {
       "operation": "route-email-update",
       "clients": {{bulk_indexing_clients| default(8) }},
       "warmup-iterations": 0,
       "iterations": 10
     }
   ]
 }

```

operations/default.json

```
 {
   "name": "route-email-update",
   "operation-type": "update_label",
   "batch": 1,
   "index": "jl_email_route_0",
   "mid_fname": "route_message_list.txt",
   "routing": true
 }

```

When run:

> esrally race --pipeline=benchmark-only --target-hosts=127.0.0.1:9200 --track-path=/email\_track --challenge=test --track-params="bulk\_indexing\_clients:2"

Got error:

> Some of your track parameter(s) "bulk\_indexing\_clients" are not used by this track; perhaps you intend to use instead.
> 
> All track parameters you provided are:
> 
> - bulk\_indexing\_clients
> 
> All parameters exposed by this track:
> 
> [ERROR] Cannot race. Error in race control (("Unused track parameters ['bulk\_indexing\_clients'].", None))

rally.log

> 2019-10-23 17:21:30,952 ActorAddr-(T|:1900)/PID:69371 esrally.actor INFO Capabilities [{'coordinator': True, 'ip': '127.0.0.1', 'Convention Address.IPv4': '127.0.0.1:1900', 'Thespian ActorSystem Name': 'multiprocTCPBase', 'Thespian ActorSystem Version': 2, 'Thespian Watch Supported': True, 'Python Version': (3, 7, 3, 'final', 0), 'Thespian Generation': (3, 9), 'Thespian Version': '1571851290889'}] match requirements [{'coordinator': True}].  
> 2019-10-23 17:21:30,953 ActorAddr-(T|:1900)/PID:69371 esrally.actor INFO Capabilities [{'coordinator': True, 'ip': '127.0.0.1', 'Convention Address.IPv4': '127.0.0.1:1900', 'Thespian ActorSystem Name': 'multiprocTCPBase', 'Thespian ActorSystem Version': 2, 'Thespian Watch Supported': True, 'Python Version': (3, 7, 3, 'final', 0), 'Thespian Generation': (3, 9), 'Thespian Version': '1571851290889'}] match requirements [{'coordinator': True}].  
> 2019-10-23 17:21:31,68 -not-actor-/PID:69366 esrally.racecontrol ERROR A benchmark failure has occurred  
> ...  
> 2019-10-23 17:21:31,57 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader INFO Using user-provided operation type [build\_email] for operation [route-email-append].  
> 2019-10-23 17:21:31,58 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader INFO Using user-provided operation type [update\_label] for operation [route-email-update].  
> 2019-10-23 17:21:31,58 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader INFO Using user-provided operation type [build\_email] for operation [noroute-email-append].  
> 2019-10-23 17:21:31,58 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader INFO Using user-provided operation type [update\_label] for operation [noroute-email-update].  
> 2019-10-23 17:21:31,59 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader CRITICAL Some of your track parameter(s) "bulk\_indexing\_clients" are not used by this track; perhaps you intend to use instead.
> 
> All track parameters you provided are:
> 
> - bulk\_indexing\_clients
> 
> All parameters exposed by this track:
> 
> 2019-10-23 17:21:31,60 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader ERROR Cannot load track [email\_track]  
> Traceback (most recent call last):
> 
> File "/usr/local/lib/python3.7/site-packages/esrally/track/loader.py", line 100, in load\_track  
> current\_track = reader.read(track\_name, repo.track\_file(track\_name), track\_dir)
> 
> File "/usr/local/lib/python3.7/site-packages/esrally/track/loader.py", line 834, in read  
> "Unused track parameters {}.".format(sorted(unused\_user\_defined\_track\_params))
> 
> esrally.exceptions.TrackConfigError: ("Unused track parameters ['bulk\_indexing\_clients'].", None)
> 
> 2019-10-23 17:21:31,63 ActorAddr-(T|:50908)/PID:69373 esrally.actor ERROR Error in race control  
> Traceback (most recent call last):
> 
> File "/usr/local/lib/python3.7/site-packages/esrally/actor.py", line 84, in guard  
> return f(self, msg, sender)
> 
> File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 120, in receiveMsg\_Setup  
> self.setup(msg, sender)
> 
> File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 210, in setup  
> t = track.load\_track(self.cfg)
> 
> File "/usr/local/lib/python3.7/site-packages/esrally/track/loader.py", line 100, in load\_track  
> current\_track = reader.read(track\_name, repo.track\_file(track\_name), track\_dir)
> 
> File "/usr/local/lib/python3.7/site-packages/esrally/track/loader.py", line 834, in read  
> "Unused track parameters {}.".format(sorted(unused\_user\_defined\_track\_params))
> 
> esrally.exceptions.TrackConfigError: ("Unused track parameters ['bulk\_indexing\_clients'].", None)
> 
> 2019-10-23 17:21:31,70 ActorAddr-(T|:50908)/PID:69373 esrally.actor INFO BenchmarkActor received unknown message [ActorExitRequest] (ignoring).  
> 2019-10-23 17:21:34,72 -not-actor-/PID:69366 esrally.rally INFO Attempting to shutdown internal actor system.  
> 2019-10-23 17:21:34,77 -not-actor-/PID:69372 root INFO ActorSystem Logging Shutdown  
> 2019-10-23 17:21:34,100 -not-actor-/PID:69371 root INFO ---- Actor System shutdown  
> 2019-10-23 17:21:34,101 -not-actor-/PID:69366 esrally.rally INFO Actor system is still running. Waiting...  
> 2019-10-23 17:21:35,105 -not-actor-/PID:69366 esrally.rally INFO Shutdown completed.  
> 2019-10-23 17:21:35,106 -not-actor-/PID:69366 esrally.rally ERROR Cannot run subcommand [race].  
> Traceback (most recent call last):  
> File "/usr/local/lib/python3.7/site-packages/esrally/rally.py", line 514, in dispatch\_sub\_command  
> race(cfg)  
> File "/usr/local/lib/python3.7/site-packages/esrally/rally.py", line 432, in race  
> with\_actor\_system(lambda c: racecontrol.run(c), cfg)  
> File "/usr/local/lib/python3.7/site-packages/esrally/rally.py", line 460, in with\_actor\_system  
> runnable(cfg)  
> File "/usr/local/lib/python3.7/site-packages/esrally/rally.py", line 432, in   
> with\_actor\_system(lambda c: racecontrol.run(c), cfg)  
> File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 427, in run  
> raise e  
> File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 424, in run  
> pipeline(cfg)  
> File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 79, in **call**  
> self.target(cfg)  
> File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 352, in benchmark\_only  
> return race(cfg, external=True)  
> File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 304, in race  
> raise exceptions.RallyError(result.message, result.cause)  
> esrally.exceptions.RallyError: ('Error in race control (("Unused track parameters ['bulk\_indexing\_clients'].", None))', None)

---

<div class="post-metadata">

**Author:** ![Jinlian\_Chen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jinlian_chen/32/44738_2.png) [@Jinlian\_Chen](https://discuss.elastic.co/u/Jinlian_Chen)\
**Post date:** [October 24, 2019, 2:50am UTC](https://discuss.elastic.co/t/track-params-not-work-show-track-parameter-s-are-not-used-by-this-track/204924/2 "2019-10-24T02:50:32Z")

</div>

Found the issue. It's caused by a space.

```
   "operations": [
     {{ rally.collect(parts="operations/*.json")}}
   ],
   "challenges": [
     {{ rally.collect(parts="challenges/*.json")}}
   ]

```

Change to below, add a space before "}}", solve!

```
   "operations": [
     {{ rally.collect(parts="operations/*.json") }}
   ],
   "challenges": [
     {{ rally.collect(parts="challenges/*.json") }}
   ]
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 21, 2019, 2:50am UTC](https://discuss.elastic.co/t/track-params-not-work-show-track-parameter-s-are-not-used-by-this-track/204924/3 "2019-11-21T02:50:37Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
