python-etcd
python-etcd copied to clipboard
A python client for etcd
Does this client support ETCD v3 servers?
Hello, Patroni is using this library to communicate with etcd and we detected that since this [PR](https://github.com/urllib3/urllib3/pull/1507) urllib3 enable certificate validation by default so we need to manually disable it....
`assertEquals` has been deprecated since Python 3.2 and is removed in 3.11. Use `assertEqual` instead. https://docs.python.org/3.11/whatsnew/3.11.html#removed
```srv_name = "_etcd._tcp.{}".format(domain)``` is incorrect format! By the origin docs _etcd-server._tcp.example.com and _etcd-client._tcp.example.com
code in client.py: def _discover(self, domain): srv_name = "_etcd._tcp.{}".format(domain) ... ... please refer to https://coreos.com/etcd/docs/latest/v2/clustering.html#dns-discovery there exists two types of DNS discovery configuration convention: like _etcd-server._tcp.example.com, _etcd-client._tcp.example.com for etcd client,...
Problems with SRV discovery connect: ``` import etcd cl = etcd.Client(srv_domain='my_domain.zone') cl.stats >> Connection to etcd failed due to MaxRetryError("HTTPConnectionPool(host='127.0.0.1', port=4001): Max retries exceeded with url: /v2/stats/self (Caused by ProtocolError('Connection...
I am a maintainer of Python packages in openSUSE, and I am on my crusade of eliminating nose1 from our distribution. When I look at its repository on https://github.com/nose-devs/nose, the...
python_etcd-0.4.3-py3.4.egg/etcd/client.py intermittently fails to catch multiple exceptions on exit. The two exceptions I was able to reproduce were: ``` Exception ignored in: Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/python_etcd-0.4.3-py3.4.egg/etcd/client.py", line...
etcd.Client() will make connection to port 4001 by default. etcds default port is 2379 though. You should make 2379 the clients default port.