New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Master branch doesn't work with Elasticsearch 1.0.1 #56
Comments
Hi, Could you please provide more information about your environment: python version, are you using virtualenv?, what OS you are using? Thanks |
Hi, thanks for you answer. The Python version is If I run Thanks |
hmm, even on 2.6 everything still works for me. Time to get hold of some amazon linux. As a work-around you should be able to just call the curator.py file in the curator directory in the curator repo directly, that will bypass the version checking and should work for you. |
I think this is the second installation issue that has been RHEL-specific. 😦 |
OK, thanks the workaround works. |
Exactly same environment here as @akkie reported, just ES is bit older: 1.0.0 I did installation directly from tarball same errors. |
Hi, When I install latest curator from master branch it wants to install an old 0.4.4 elasticsearch lib even if its requesting version >=1.0.0. and this gives me a host of errors when running curator, even if I use workaround.
If I run with @honzakral workaround I get the following error:
I've tried git clone install, pip install from http etc, it all results in the same. Example full output from installation:
|
So I installed CentOS, when I try to install curator to virtualenv everything works fine: If I install it into the system (using sudo, no virtualenv) everything gets installed correctly but I get the message saying elasticsearch isn't installed when running If you see error with incorrect version of I am still investigating why does RHEL hate python so much and I will keep updating this ticket with new information/fixes. Thanks for the reports and for your patience. |
👍 @honzakral |
Hi, again and thanks for grate support 👍 @honzakral I've installed a new elasticsearch cluster from scratch with CentOS 6.5, Elasticsearch 1.0.1 and Curator (Master). And I can report that curator installed with However curator won't work on our existing ES cluster which had ES 0.90.x and Curator 0.6.x. ``Requested elasticsearch>=1.0.0,<2.0.0 (from elasticsearch-curator==1.0.0-dev), but installing version 0.4.4` I'll also investigate some more and see if I can figure it out. Cheers |
Hi, I have now found a solution to "our" problem. So this is what I did to resolve the issue on CentoOS 6.5. Enter directory where Python's site-packages are installed. Now uninstall previously installed Curator packages using pip and remove lingering files.
Then remove all other possible pip and Curator files on your system.
Finally use Now we can install Curator and run it without the workarond.
|
I think our issue was similar to what @kevinava described. But I didn't need to go to those lengths. I just did: pip uninstall elasticsearch And now everything works. |
I see the following:
|
I will be releasing curator 1.0 later today. It should work with ES 1.0+ (including 1.1, which was released today). —Aaron On March 24, 2014 at 3:19:08 PM, chris (notifications@github.com) wrote: I see the following: curator --host some.com -d 500 -n python --version pip --version — |
Thanks, good job, it looks like a useful program ... even if it isn't written in Ruby :-) |
To clean up (if you have problems):
To install the updated version:
The release of curator 1.0.0 should resolve this, with these steps. If I get no updates after a week or so, I will mark this resolved. |
Just to be clear, what is meant by:
... as I installed elasticsearch by downloading the ".zip" file (or the ".deb" file for Ubuntu). |
|
I see, the "elasticsearch" module is a dependency for "elasticsearch-curator". |
No timeline yet. Working on this to be out as soon as possible, though. Too many other things are pulling me in other directions 😦 |
It works:
I would "pitch in" and help with curator, but I'm an old C programmer and mostly use Ruby now with zero python experience. |
Resolved! |
Hi @untergeek @honzakral , I have been trying to instal curator on my MAC OSX 10.9 following the pip install method but to no luck, I still get the same message, File "/usr/local/bin/curator", line 5, in Can you help me out with this. Any help would be appreciated! |
Please try these steps in order: 1. Try re-installing the
|
Hey @untergeek I did try these steps before and just to be sure, did it again and to no surprise it failed. So, I guess running it from /Library/Python/2.7/site-packages/curator/curator.py is the only option in my case as well. Anyways, thanks for the prompt reply! |
Same here had to run it from curator.py. |
With curator 2.0, you'll have to run curator_script.py as curator.py now contains the library but not the command-line portions. @cdenneen, What version of python and what OS + release are you seeing this with? |
OS X 10.9.4, curator 0.6.2 for ES 0.99 |
I'm not sure what is different about my mac environment, but some people have it work, some don't. I apologize. I may bundle a Mac standalone at some point via pyinstaller. Stay tuned. I advise migrating to a 1.x version soon. The 0.90.x branch is being end-of-lived on 14 Oct 2014. That will also necessitate a newer version of curator as well. |
@untergeek thanks... yeah this is my old ES cluster still running... new one is lastest GA |
@untergeek even seeing on Linux: [root@ctclnxmgr01 ~]# pip install elasticsearch==0.4.5 |
same with latest versions too: [root@ctclnxmgr02 ~]# pip install elasticsearch-curator |
Let me guess, RHEL or Centos? It's an old version of python, for one, and I've experienced this problem with
That's all that's in |
CentOS... yes... and correct there as well... if I run the curator.py or curator_script.py on those 2 linux nodes with different version it works... but the bin wrapper doesn't want to work regardless |
@untergeek i can create new issue for this if you'd like:
|
Indeed, please raise a new issue with this |
Tried everything on this thread and had no luck with getting Curator to work, posting incase it helps anyone else CentOS release 6.5 Different Errors included: This fixed the issue for us: curator -v |
Thank you! I think you finally figured it out. It's an outdated version of the setuptools! If that's the case, this problem will persist in v3. I will update the FAQ and docs in the wiki. |
Ditto @RJ3000, |
See the new FAQ |
@untergeek thats good. I wonder if perhaps it should be mentioned in the README as well? I'll be happy to submit a PR... |
I will be happy to merge an addition there, but would prefer it to be more in the vein of:
I want to keep people moving to the official documentation, rather than have lengthy stuff in the development README. |
OK good thought. |
OK see #361 |
Hi,
I can't run the latest master branch with Elasticsearch version 1.0.1. I've installed the latest version by cloning the master branch and then run the command
setup.py install
. This was suggested in a comment of this blog post.This is the output:
As you can see, the install quits with an error.
If I try to install the script with
pip install .
then it seems to work.But now it shows the following error if I execute the
curator
command.Last but not least the installed elasticsearch version:
The text was updated successfully, but these errors were encountered: