# Rally not showing tournaments

**URL:** <https://discuss.elastic.co/t/rally-not-showing-tournaments/58746>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [August 23, 2016, 9:25pm UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746 "2016-08-23T21:25:28Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsFF](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@rsFF](https://discuss.elastic.co/u/rsFF)\
**Post date:** [August 23, 2016, 9:25pm UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/1 "2016-08-23T21:25:28Z")

</div>

Hey there,  
So after doing some runs on my cluster "esrally --pipeline=benchmark-only"  
when I try to compare the runs I don't get any output.

[http://pastebin.com/YMf4zyVG](http://pastebin.com/YMf4zyVG)

Thanks

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [August 24, 2016, 5:23am UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/2 "2016-08-24T05:23:45Z")

</div>

Hi @rsFF,

Rally uses an in-memory metrics store by default. If you want to use it for tournaments, Rally needs to be able to save the results in a persistent metrics store. So I assume you did not setup a persistent one, you can check the instructions in the docs: [http://esrally.readthedocs.io/en/latest/tournament.html](http://esrally.readthedocs.io/en/latest/tournament.html)

As a workaround: Rally stores the summary report for each race in its log file in `~/.rally/benchmarks/races/$TIMESTAMP`.

I have created [https://github.com/elastic/rally/issues/137](https://github.com/elastic/rally/issues/137) to track improvements in this area in Rally.

Daniel

---

<div class="post-metadata">

**Author:** ![rsFF](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@rsFF](https://discuss.elastic.co/u/rsFF)\
**Post date:** [August 24, 2016, 8:33am UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/3 "2016-08-24T08:33:58Z")

</div>

hey @danielmitterdorfer,  
Thanks for getting back.  
Actually I did setup a ES for the store, and the indice was created and when i check is being updated...

more info: [http://pastebin.com/ER4ikybp](http://pastebin.com/ER4ikybp)

As a workaround? how would that work with the zip files?

thanks  
Ricardo

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [August 24, 2016, 8:58am UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/4 "2016-08-24T08:58:22Z")

</div>

Hi @rsFF,

> [@rsFF](#):
>
> Actually I did setup a ES for the store, and the indice was created and when i check is being updated...

Now that's odd. Can you please post the result of the indices stats call? You can retrieve them by running `curl -XGET 'http://172.24.9.71:9200/rally-*/_stats`.

> [@rsFF](#):
>
> As a workaround? how would that work with the zip files?

I meant that you can still unzip those files and lookup the values in the benchmark. It's not ideal but better than having to redo the benchmark (if they took a very long time).

Daniel

---

<div class="post-metadata">

**Author:** ![rsFF](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@rsFF](https://discuss.elastic.co/u/rsFF)\
**Post date:** [August 24, 2016, 9:58am UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/5 "2016-08-24T09:58:08Z")

</div>

Heya @danielmitterdorfer

curl -XGET '[http://172.24.9.71:9200/rally-\*/\_stats](http://172.24.9.71:9200/rally-*/_stats)  
[http://pastebin.com/WCiPrdDj](http://pastebin.com/WCiPrdDj)

yeah actually I'm awking to get some diff, but not ideal 😛

thanks  
Ricardo

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [August 24, 2016, 11:47am UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/6 "2016-08-24T11:47:19Z")

</div>

Hi @rsFF,

the index stats clearly show that your metrics store contains documents. So, it seems there is a problem when retrieving data. Can you please issue the following query?

```auto
GET /rally-*/_search
{
   "query": {
      "bool": {
         "filter": [
            {
               "term": {
                  "environment": "local"
               }
            }
         ]
      }
   },
   "size": 10,
   "sort": [
      {
         "trial-timestamp": {
            "order": "desc"
         }
      }
   ]
}

```

and paste result? This is the query the Rally runs when you type `esrally list races`.

If this produces no results, please run:

```auto
GET /rally-*/_search
{
   "query": {
      "match_all": {}
   },
   "size": 10,
   "sort": [
      {
         "trial-timestamp": {
            "order": "desc"
         }
      }
   ]
}

```

and similarly paste the results here.

Daniel

---

<div class="post-metadata">

**Author:** ![rsFF](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@rsFF](https://discuss.elastic.co/u/rsFF)\
**Post date:** [August 24, 2016, 1:08pm UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/7 "2016-08-24T13:08:12Z")

</div>

Hey @danielmitterdorfer

The first query worked:

[http://pastebin.com/rYcx0xqP](http://pastebin.com/rYcx0xqP)

Ricardo

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [August 24, 2016, 3:13pm UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/8 "2016-08-24T15:13:18Z")

</div>

Hi @rsFF,

ah, sorry. I missed the type in the URL. Can you please retry with these queries?

```auto
GET /rally-*/races/_search
{
   "query": {
      "bool": {
         "filter": [
            {
               "term": {
                  "environment": "stuff"
               }
            }
         ]
      }
   },
   "size": 10,
   "sort": [
      {
         "trial-timestamp": {
            "order": "desc"
         }
      }
   ]
}

```

If the first query produces no results, please run:

```auto
GET /rally-*/races/_search
{
   "query": {
      "match_all": {}
   },
   "size": 10,
   "sort": [
      {
         "trial-timestamp": {
            "order": "desc"
         }
      }
   ]
}

```

The only difference is that the URL now contains the type (also the name of your environment is "stuff" according to the config file you've posted). Races are stored in the `races` type and all metrics are stored in the `metrics` type. But the good news is that all metrics are there and also look fine.

Daniel

---

<div class="post-metadata">

**Author:** ![rsFF](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@rsFF](https://discuss.elastic.co/u/rsFF)\
**Post date:** [August 24, 2016, 5:52pm UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/9 "2016-08-24T17:52:32Z")

</div>

Hey @danielmitterdorfer,

Running the first query gave this results:

[http://pastebin.com/hGc1YTax](http://pastebin.com/hGc1YTax)

Thanks  
Ricardo

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [August 26, 2016, 5:36am UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/10 "2016-08-26T05:36:57Z")

</div>

Hi @rsFF,

sorry for not answering earlier. I could reproduce the problem locally with Rally 0.3.2. It's already fixed in master. I try to cut a 0.3.3 release today that fixes the problem.

Daniel

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [August 26, 2016, 6:03am UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/11 "2016-08-26T06:03:46Z")

</div>

Hi @rsFF,

The release is out. Please update Rally with `pip3 install --upgrade esrally` (see also the [announcement post](https://discuss.elastic.co/t/rally-0-3-3-released/59004)).

Daniel

---

<div class="post-metadata">

**Author:** ![rsFF](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@rsFF](https://discuss.elastic.co/u/rsFF)\
**Post date:** [August 26, 2016, 6:44am UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/12 "2016-08-26T06:44:42Z")

</div>

hey @danielmitterdorfer,  
so what was the issue?

thanks  
Ricardo

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [August 26, 2016, 6:50am UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/13 "2016-08-26T06:50:21Z")

</div>

Hi @rsFF,

the problem was basically in the reporting code of Rally. It created a wrong report structure which then did not get displayed. If you're interested, here is the commit that fixed the problem: [https://github.com/elastic/rally/commit/2f8d1446eeefdd2e5bcda58160d45b47b465d892](https://github.com/elastic/rally/commit/2f8d1446eeefdd2e5bcda58160d45b47b465d892)

Daniel

---

<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:** [July 5, 2017, 10:25pm UTC](https://discuss.elastic.co/t/rally-not-showing-tournaments/58746/14 "2017-07-05T22:25:03Z")

</div>


