-
Notifications
You must be signed in to change notification settings - Fork 208
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
client hangs on write #75
Comments
Another info, after timeout traceback was:
so it has troubles in writing to etcd db for some reason. Is this library tested with etcd 0.4.6? |
Per the readme it looks like the client is only supporting the 2.0 release candidate versions and up now: "Install etcd (0.2.rc1 or later). This version of python-etcd will only work correctly with the etcd API version 2". I wonder with you using 0.4.6 if that is the issue? I tested with the latest python-etcd source code, etcd 2.0.0 RC1 and Python 3.4.2 and didn't have any issues. |
I'm encountering a similar problem. @veverjak Were you running python-etcd through an SSH tunnel? |
Nope, it was called from docker container running on CoreOS host. |
The library is tested with 0.4.6 and failure to write while you can still read means your etcd cluster has lost quorum, most probably. |
Hi,
I have trouble when writing data to etcd although I can read data without any problem. Would anyone know where the problem could be?
I have following simple code:
Here is my output after I interrupt program with ctrl+C
Every time it seems it hangs here:
Could it be due to connection problem? Weird is that Read works without any problem.
I have no problems writing to database using curl.
My Setup:
python --version
Python 2.7.5
etcd version 0.4.6
Would you need any info for debugging ?
The text was updated successfully, but these errors were encountered: