I'm trying to install curator in an offline CentOS 7 server. I am running 5.6 of ELK with x-pack installed. This CentOS server does not have any ELK components installed on it, but it is in the same subnet as my cluster. For curator, I have installed the components listed in the following link:
https://www.elastic.co/guide/en/elasticsearch/client/curator/current/python-source.html
I've tried with both "pip install curator-master.zip" and with "python setup.py install"
I first tried using "python setup.py install"
I was successful for each of the listed components including elasticsearch-py and urllib3. But when I tried to install curator, it got to this part:
Processing dependancies for elasticsearch-curator==5.3.0b1
Searching for elasticsearch=>5.4.0,<6.0.0
Reading https://pypi.python.org/simple/elasticsearch/
Download error on https://pypi.python.org/simple/elasticsearch/: [Errno 104} Connection reset by peer -- Some packages may not be found!
Couldn't retrieve index page for 'elasticsearch'
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
^C
I hit control-C at that point because there was no sense in letting it try to get to a site it can't get to being offline and all. Remember, I have already installed (with seeming success) elasticsearch-py and urllib3.
So I tried a different tack. I tried using pip. With "pip install curator-master" I get the following:
Processing ./curator-master.zip
Requirement already satisfied (use --upgrade to upgrade): elasticsearch-curator==5.3.0b1 from file:///opt/curator-master.zip in /usr/lib/python2.7/site-packages/elasticsearch_curator-5.3.0b1-py2.7.egg
Collecting elasticsearch<6.0.0,>=5.4.0 (from elasticsearch-curator==5.3.0b1)
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectionTimeoutError(<pip._vendor.requrest.packages.urllib3.conneciton.VerifiedHTTPSConnection object at 0x7fbbc479d550>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectionTimeoutError(<pip._vendor.requrest.packages.urllib3.conneciton.VerifiedHTTPSConnection object at 0x7fbbc479d550>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch
at which point I hit control-C
The weird thing is that just before that I installed the elasticsearch-py using 'pip install elasticsearch-py-master.zip' and the results were this:
Processing ./elasticsearch-py-master.zip
Requirement already satisfied (use --upgrade to upgrade): elasticsearch==6.2.0 from file:///opt/elasticsearch-py-master.zip in /usr/lib/python2.7/site-packages/elasticsearch-6.2.0-py2.7.egg
Requirement already satisfied (use --upgrade to upgrade): urllib3<1.23,>=1.32.1 in /usr/lib/python2.7/site-packages/urllib3-1.22-py2.7.egg (from elasticsearch==6.2.0)
So it appears that what is hanging up the install of curator is something that is already installed? Any suggestions for getting this thing to realized elasticsearch-py is installed?
Do I need to have a node of elasticsearch running on this server to get this to work?
Thanks....