# Curator doesnt show any output

**URL:** https://discuss.elastic.co/t/curator-doesnt-show-any-output/133997
**Category:** Elasticsearch
**Created:** [May 31, 2018, 8:10am UTC](https://discuss.elastic.co/t/curator-doesnt-show-any-output/133997 "2018-05-31T08:10:57Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![sdr31](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@sdr31](https://discuss.elastic.co/u/sdr31)
#### Post date: [May 31, 2018, 8:10am UTC](https://discuss.elastic.co/t/curator-doesnt-show-any-output/133997/1 "2018-05-31T08:10:57Z")

</div>

I am new to curator and currently trying it out.  
I want to run curator out of a docker so i downloaded the rpm files (version 5.5) for centos 7 and installed docker based out of centos:7 image.

> yum localinstall elasticsearch-curator-5.5.4-1.x86\_64.rpm

The installation went without issues, i also updated the openssl-libs to latest just in case.

when i run the curator\_cli i get no output. Even help doesnt seem to work.

`curator_cli --help`  
I tried to connect to Elasticsearch running on another docker that also gives no response

` curator_cli --host 192.168.99.100 --port 9200 show_indices --verbose --header`

i downloaded the same version of curator for windows and all the above commands work.

> C:\Tools\curator-5.5.4-amd64\> curator\_cli --host 192.168.99.100 --port 9200 show\_indices --verbose --header  
> Index State Size Docs Pri Rep Creation Timestamp  
> .monitoring-es-6-2018.05.30 open 555.9KB 261 1 0 2018-05-30T17:32:45Z  
> .triggered\_watches open 230.0B 0 1 0 2018-05-30T17:33:46Z  
> .watcher-history-7-2018.05.30 open 234.4KB 30 1 0 2018-05-30T17:33:46Z  
> .watches open 23.9KB 6 1 0 2018-05-30T17:32:46Z

I need some help trying to debug the issue, are there any dependencies i am missing on centos/ubuntu. In the documentation it was said all of them were packages in rpm file.

Any help would be appreciated. Thanks

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [May 31, 2018, 3:15pm UTC](https://discuss.elastic.co/t/curator-doesnt-show-any-output/133997/2 "2018-05-31T15:15:20Z")

</div>

That seems... _unusual._

```auto
[buh@centos7-pkg-test ~]$ sudo yum install elasticsearch-curator
...
---> Package elasticsearch-curator.x86_64 0:5.5.4-1 will be installed
...
Downloading Packages:
elasticsearch-curator-5.5.4-1.x86_64.rpm | 14 MB 00:15
...
Running Transaction
  Installing : elasticsearch-curator-5.5.4-1.x86_64 1/1
  Verifying : elasticsearch-curator-5.5.4-1.x86_64 1/1

Installed:
  elasticsearch-curator.x86_64 0:5.5.4-1

Complete!
[buh@centos7-pkg-test ~]$ curator_cli --help
Usage: curator_cli [OPTIONS] COMMAND [ARGS]...

Options:
  --config PATH Path to configuration file. Default: ~/.curator/curator.yml
  --host TEXT Elasticsearch host.
  --url_prefix TEXT Elasticsearch http url prefix.
...

```

I get basically identical output from CentOS 6 as well, with its respective RPM.

I can confirm that the `centos:7` Docker image does behave exactly as you have described. I wish I knew what was omitted so I could tell you what to add. Something clearly is omitted, and I don't know what that dependency might be. I have done everything I can to include every Curator dependency (i.e. Python binary and associated libraries), but that would leave everything else up to the OS. I can't even do a `file` command in this image. There are no troubleshooting binaries either. Perhaps you should start with a different image, and work your way over from there.

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [May 31, 2018, 3:27pm UTC](https://discuss.elastic.co/t/curator-doesnt-show-any-output/133997/3 "2018-05-31T15:27:29Z")

</div>

I'd avoid an image that large like the plague, anyway. This works wonders:

```auto
$ docker run -ti --rm python:3.6.5-alpine /bin/sh
/ # pip install elasticsearch-curator
Collecting elasticsearch-curator
  Downloading 
...
/ # curator_cli --help
Usage: curator_cli [OPTIONS] COMMAND [ARGS]...

Options:
  --config PATH Path to configuration file. Default: ~/.curator/curator.yml
  --host TEXT Elasticsearch host.
  --url_prefix TEXT Elasticsearch http url prefix.
  --port TEXT Elasticsearch port.
  --use_ssl Connect to Elasticsearch through SSL.
  --certificate TEXT Path to certificate to use for SSL validation.
  --client-cert TEXT Path to file containing SSL certificate for client auth.
  --client-key TEXT Path to file containing SSL key for client auth.
  --ssl-no-validate Do not validate SSL certificate
  --http_auth TEXT Use Basic Authentication ex: user:pass
  --timeout INTEGER Connection timeout in seconds.
  --master-only Only operate on elected master node.
  --dry-run Do not perform any changes.
  --loglevel TEXT Log level
  --logfile TEXT log file
  --logformat TEXT Log output format [default|logstash|json].
  --version Show the version and exit.
  --help Show this message and exit.

Commands:
  alias Add/Remove Indices to/from Alias
  allocation Shard Routing Allocation
  close Close Indices
  delete_indices Delete Indices
  delete_snapshots Delete Snapshots
  forcemerge forceMerge Indices (reduce segment count)
  open Open Indices
  replicas Change Replica Count
  restore Restore Indices
  rollover Rollover Index associated with Alias
  show_indices Show Indices
  show_snapshots Show Snapshots
  shrink Shrink Indices to --number_of_shards
  snapshot Snapshot Indices

```

---

<div class="post-metadata">

### Author: ![sdr31](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@sdr31](https://discuss.elastic.co/u/sdr31)
#### Post date: [May 31, 2018, 3:51pm UTC](https://discuss.elastic.co/t/curator-doesnt-show-any-output/133997/4 "2018-05-31T15:51:44Z")

</div>

Thanks a lot for the reply...  
The centos 7 test you did was on a VM?  
I also checked and everything works on VM/vagrants (i tried centos and ubuntu).  
I only had issues with docker images.  
My plan was to add curator to my existing elasticsearch docker, is that a bad approach?  
Since the latest elasticsearch runs on centos 7 i was trying curator on the same image.

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [May 31, 2018, 4:21pm UTC](https://discuss.elastic.co/t/curator-doesnt-show-any-output/133997/5 "2018-05-31T16:21:13Z")

</div>

> [@sdr31](#):
>
> The centos 7 test you did was on a VM?

Yes. LXC VM on Proxmox.

> [@sdr31](#):
>
> My plan was to add curator to my existing elasticsearch docker, is that a bad approach?

It's only a bad approach if there's something missing that would prevent Curator from running—which, apparently, there is. The python version on the `centos:7` image is way too old to install via pip (which isn't on the image either).

---

<div class="post-metadata">

### Author: ![sdr31](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@sdr31](https://discuss.elastic.co/u/sdr31)
#### Post date: [May 31, 2018, 5:40pm UTC](https://discuss.elastic.co/t/curator-doesnt-show-any-output/133997/6 "2018-05-31T17:40:35Z")

</div>

I am going to try a few more things, then will go with with a separate docker like you suggested. Thanks a lot.

---

<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: [June 28, 2018, 5:40pm UTC](https://discuss.elastic.co/t/curator-doesnt-show-any-output/133997/7 "2018-06-28T17:40:44Z")

</div>

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